before I learn react native from scratch, I was wondering if it is possible to geofence certain areas and then send push notifications to the user when he enters the geofenced areas even if he is currently not using the app. Thank you
You can access official documentation of Push Notification:
Added a sample apps for you to take a look:
Basically you should enable push notification in your project and save the location you get from the navigator.geolocation.getCurrentPosition callback somewhere in you app, you could use AsyncStorage for that purpose. callback is only called if the location is changed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With