Answer the question
In order to leave comments, you need to log in
How can I make a push notification for a mobile device in php?
Hello, I have such a task
If the user clicks, I need him to send a push notification.
How to do this?
Then tell me about the token?
Do I need to create a separate table for tokena or is a separate column in the users table sufficient?
How to make a token?
How to compare a token with an existing token?
Answer the question
In order to leave comments, you need to log in
https://github.com/edamov/pushok
Strictly speaking, one user can have multiple mobile devices or multiple applications on the same device, I would make a one-to-many connection. You need to look at your business logic.
Apple itself generates the token and informs you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question