AarogyaSetu_Android
AarogyaSetu_Android copied to clipboard
Handling device reboot in realme device
I have realme 5 prod device. Whenever I restart the device, the notification to handle the foreground service for the app is no longer there until I open the app again even though I am seeing the there is code to handle to the device reboot(BootReceiver.kt).
Hi,
you can try with auto-start option in app settings if you enable that then the notification will work properly.
@puneetkumar1011 I am not asking this as a user point of view but as a developer point of view. How can we do this programmatically for all types of devices available in the market?
Hi Ranjeet,
Ok, have you tried with this library:-
https://github.com/judemanutd/AutoStarter
This option is mostly available in Chinese manufactured devices or MIUI devices.