Skip to content

How to force app in kiosk mode #519

@magic3584

Description

@magic3584

I have an app written with flutter and using the kiosk package. Then I called startKioskMode() when app first launch. But it shows with a selection: No, thanks and Got it.
If I choose No thanks then the koisk mode is exit.

Below shows in https://pub.dev/packages/kiosk_mode

If DevicePolicyManager#isLockTaskPermitted(String) returns true for this component, the current task will be launched directly into LockTask mode.

But I'm not familiar with android so I don't know how to add this in flutter.

How can I force the app in koisk mode until I call stopKoiskMode

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