You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello trying to autostart the app after the restart but unable to do it , this package is completely working for pining the app once pinned it works fine but as soon as i restart the device it gets unpinned.
boot receiver.kt
Android Manifest Xml file
Main Activity.kt
The text was updated successfully, but these errors were encountered:
"Pinning" is only used if normal kiosk mode is not possible. To get kiosk mode (lock task) properly working, you'll have to do the things explained here: https://pub.dev/packages/flutter_lock_task
You will have to add some stuff to "yourProject/android/app/src/main/AndroidManifest.xml" and you will have to create a file "yourProject/android/app/src/main/res/xml/policies.xml". It's explained in the page I linked.
To set up device owner, you have to:
First, delete any accounts on the device. Then download adb and run it like this:
Remember, once you do this, you will not be able to undo it without factory reset of the device. You will not be able to set a different app as owner. You can only install newer versions of the same app, compiled using the same keys. I recommend working in an android emulator first until you get everything ready, because you can easily set up a new emulator if things go wrong.
If you do everything correctly, you will no longer be asked to "pin" the app.
Hello trying to autostart the app after the restart but unable to do it , this package is completely working for pining the app once pinned it works fine but as soon as i restart the device it gets unpinned.
boot receiver.kt

Android Manifest Xml file


Main Activity.kt

The text was updated successfully, but these errors were encountered: