It seems that since you are a web developer, the mobile application is not yet familiar with you. In fact, setting up a push notification will require several more official steps (differently, on iOS and Android), and after everything is set up, a push notification will occur between the Apple server (or Google server) and the smartphone OS (this iOS or Android), so push notifications will be sent to the phone no matter what (not knowing / not worrying about your application being open or closed ^^)
, : , ( , , , - , "" iPhone ).
, , , (, - iOS Android). , , ( iPhone, - ^^)
, , , push- , , push- , - !
, push- , Apple/Google , , , . , , . - , , !
, , : ( ^^)
https://github.com/zo0r/react-native-push-notification
: ( ):
= > , , Apple/Google , , push- ( PHP node.js - )
= > , , ( , , push-, , - , , , , , , ^^)
= > , notif., , ( , , , ), . , .., )
= > , , , API , (, Apple Google, ..)
, , - , push- ( - ) - , ^^