Skip to content

DeviceActivitySelectionView with includeEntireCategory #70

Description

@marcibk

As far as I can see, the includeEntireCategory prop does not work with DeviceActivitySelectionView (only with Persisted). This results in the following warning:

WARN A selection without includeEntireCategory means categories might not be correctly whitelisted (not supported before iOS 15.2)

Additionally, it is not possible to limit or track the number of selected apps using DeviceActivitySelectionView. The persisted selection cannot be reliably used for this purpose because the app triggers updates immediately after selection, preventing any effective control to restrict the user from selecting too many apps to block.

<DeviceActivitySelectionView
  onSelectionChange={onSelectionChange}
  familyActivitySelection={userDefaultsGet(familyActivitySelectionId)}
  includeEntireCategory
/>

Is this behavior intended? Thanks in advance for your clarification.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions