12

I am learning react native and to do so, I am building my first app. However as great as it is, It seems like react native has some limitations.

What I want my app to do is to start running the background as soon as the devise boots up (like the WhatsApp or the alarm app).

And I also want notification like WhatsApp new message notification (overlaying the screen).

I did it with android studio and wanted to do it with react native. So far I did not find any package / library that can do that, is this the limit of react native or is there a package that can do that? Because right now I am thinking of going back to native with android studio.

Pika Supports Ukraine
  • 3,612
  • 10
  • 26
  • 42
  • 3 years later, I'm wondering whether someone has an answer for this yet?! – Krokodil Jul 09 '22 at 16:57
  • Me too! I just asked a more specific question: https://stackoverflow.com/questions/73129627/starting-an-expo-react-native-app-automatically-on-boot-what-to-do-in-the-rece – Alexander Riccio Jul 26 '22 at 20:56

1 Answers1

-1

In android you must ask for necessary permissions in manifest. Also in the phone, you must set battery optimization. In Ios this is the hard one. I cannot do it. Your app must be music app or maps app. Thats all i know.