Back to articles
How to setup React Native / expo push notification according to different types of notification

How to setup React Native / expo push notification according to different types of notification

via Dev.toPierre

Hi, I am actually desperate. I need to setup push notification on my IOS/Android app, I buold with React Native / Expo. I could setup a simple push notification follwing this and this but my big problem is the following: I have several sensors into several field. A fermer have installed the App on his/her smartphone and they can monitor the fields. The farmers need to be alarmed with a push notification, when a sensor measures a measure under a threshold value. A farmer can own several fields (let's say 6 fields) I want that farmer can active or not a field to be monitor and to be alarmed for the active fields. For example, if he do not active a field, he should never receive a push notification, excepted for the general notification (let's say the type "general" if he active the field 2 and 4 and 5, he should reveive only push notification matching to the sensors on field 2,4 and 5. On my PHP scrypt (on my remote server) I can send push notification, but the script should send a push

Continue reading on Dev.to

Opens in a new tab

Read Full Article
3 views

Related Articles