D
D
Deniev2021-09-26 02:15:51
PHP
Deniev, 2021-09-26 02:15:51

How to send push notification from PHP to iOS?

There is a site on Symfony 4.4 & MySQL and it is maximally adapted for mobile devices.
You need to create an iOS application through a WebView with support for push notifications.

The site already has a notification system, but is there a way to integrate a PHP site with an iOS application?
Or do you need another database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kiri4131, 2021-09-26
@deniev

In my opinion, the only correct solution would be to write a web api that accepts post or get requests, returning a json response, and the application in the background will listen to the page with the api and, if the response json changes, parse it and generate a push.
cons:
you need to know the php database
pluses:
we do not burn access to the database, because The application does not store any username or password.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question