P
P
prrrrrrr2019-10-21 13:10:19
User identification
prrrrrrr, 2019-10-21 13:10:19

Can I somehow identify the user and send him pushes in the WebView?

Tell me, there is a WebView application (i.e. a site in PHP), there is a user registration there. Question: how can users be identified in order to send them automatic push notifications (for each separately) for certain actions on the site? Maybe through some kind of SDK built into the application that works via the API? I looked in the direction of Firebase, but in a specific case I did not find anything.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor95, 2019-10-21
@prrrrrrr

as an option:
1. When you start the application (webView), you get a firebase token
2. You pass the token using native ios, android tools from webView to the application (website)
3. From the site you send it to the php server and add (update) to the database under the corresponding user
4
5. From the server you make a request to firebase 6.
Firebase sends a push
Pushes are sent to specific devices, not to users. The user can sit from multiple devices

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question