Skip to content

Commit

Permalink
Fix commented code in example
Browse files Browse the repository at this point in the history
  • Loading branch information
robertherber committed Dec 17, 2024
1 parent 430b30a commit 8a2591d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion example/components/CreateActivity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,21 @@ const startMonitoring = async (
],
});

/*
ReactNativeDeviceActivity.setFamilyActivitySelectionId({
id: activityName,
familyActivitySelection: activitySelection,
});
*/

ReactNativeDeviceActivity.configureActions({
activityName,
callbackName: "eventDidReachThreshold",
eventName,
actions: [
/*{
type: "blockSelection",
familyActivitySelection: activitySelection,
familyActivitySelectionId: activityName,
shieldActions: {
primary: { type: "unblockAll", behavior: "defer" },
secondary: { type: "dismiss", behavior: "close" },
Expand Down

0 comments on commit 8a2591d

Please sign in to comment.