php push notification on/off function question

Asked 2 years ago, Updated 2 years ago, 78 views

Currently, there is a php bulletin board, and when registering the notice, we use fcm to send a push through the web app. I want to turn off and turn on the push according to push on and off on the bulletin board page setting, but I'm worried that there's no answer. The on/off value will vary depending on the user, so how do I get this value and how do I decide to fly the push or not? I'd appreciate it if you could help me!

firebase php push android

2022-09-22 21:08

1 Answers

You can enter the user's unique push-shiki value and on/off factor (1/0) in the DB and inquire only the push-shiki value of the on-in user and request a push-api. I understand that fcm has a method of sending based on an application and a method of generating and registering a unique key value of the user device and sending it based on the key value.


2022-09-22 21:08

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.