Camar
GeoJSON Rule
For the Location attribute
The coordinates array is consist of Longitude and Latitude Make sure that the first element is Logintude and the second is latitude. Don shuffle it. Longitude must be in the first element.
Push notification
Everytime there is a new earthquake, service will send a push notification to user using Firebase Cloud Messaging.
The body of the notification will consist of:
- Data
- Notification
Data
Data that being sent inside the notification will consist only of a single map data
- "data":
Notification
Notification contains two data:
- Title
- Body
Title will always be a string "Warning".
The body it self will contain much longer string.