php - Windows azure push notication and catch the notification to a particular website page -


Hi is working on a project that has an existing iOS app that uses Windows Cloud Platform. To create a website is one of the requirements to be able to catch the information created by the mobile app. For example, if there is a new user, push notifications will be triggered and a website will catch link notifications and save the data in the database. My question is, is it possible to get information from Windows Azure push notifications by a php script event listener?

I have no background on windows auction and I have no access to Windows Azure account there. He said that the only thing is to give them a link to the script which will catch the notification.

What are some steps that need to be done?

Thanks

I'm not sure this is possible. Notification centers have established communication so that you can send a notice to a number of different platforms at one time (an apple, Android, Windows Phone, Windows 8, etc.) in one app. Each device is registered with the information center (or back-up is done for registration) and provides a unique device id, also called channel URI. When you need to send a notification center, then every correct platform notification systems (PSN) are excluded from the information which then distributes information directly to the device.

I ask all this to be indicated, while it may be possible to register a listener, it may be possible to use a REST based API, at the notification center I do not believe there is any way to listen to PSN as a PHP script. Additionally, registration expires from time to time and you have to be sure to register. In the end, a notification system does not guarantee 100% guarantee for a notification, the device may be closed, it may be in a poor reception area, there may be a bad network connection or PSN does not deliver for a few reasons.

My suggestion is to take a step backward that the code is being modified where the notification is being prepared and it is sent to the notification center for device distribution, but also that your information Sends directly to your database, or sends a message in a queue that is processed in the backend for the database if the database is not local to generate the information from your website Notification hub insertion in relation to the graph is removed.

If you really want to check the PHP script to get the message then you can learn how PSN can get a message from PSN, which is not a blue issue. , But I am very skeptical about that route.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -