I'm sending pushes with OneSignal in React Native app. I'm new with it, but have some experience with Google FCM. I'd like to make the same architecture solution like FCM.
- Init ->
OneSignal.initialize("CODE")
; - Get device token -> I did not find any SDK API to get it.
- Place token into database and link it with userid in my database.
- Get token from database when action triggered and send push by token.
Please, help with 2 (get token API) and 4 statement (send push by Token API).
Via Active questions tagged javascript - Stack Overflow https://ift.tt/JpQn1Sl
Comments
Post a Comment