I have a Huawei P8 with Android 5.0 that I\'m using for testing an app. The app needs to be running in the background, as it tracks BLE regions.
I\'ve discovered t
You can use this library to navigate the user to protected apps or autostart:
AutoStarter
If the phone supports autostart feature you can show to the user a hint to enable your app in these apps
You can check by this method:
AutoStartPermissionHelper.getInstance().isAutoStartPermissionAvailable(context)
And for navigating the user to that page, simply call this:
AutoStartPermissionHelper.getInstance().getAutoStartPermission(context)