how to auto-starting the app on device boot? #25630
Answered
by
ayberkanilatsiz
Youngzx88
asked this question in
Archived: Questions
-
I am developing an Android app using Expo. I would like to know how to implement the functionality of auto-starting the app on device boot. Is there any API available to listen for the "BOOT_COMPLETED" event? |
Beta Was this translation helpful? Give feedback.
Answered by
ayberkanilatsiz
Dec 6, 2023
Replies: 2 comments 4 replies
-
@Youngzx88 Did you find any solution for it? |
Beta Was this translation helpful? Give feedback.
4 replies
-
You will need to add native code to your app because Expo does not directly support your use case. We don't have a ready package that handles that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Youngzx88 i found solution.
run
npm expo prebuild
access native side.https://stackoverflow.com/questions/53847965/android-boot-completed-notification-not-received-after-reboot