Skip to content

Commit

Permalink
Fixed another issue with the readme
Browse files Browse the repository at this point in the history
The first sentence did not make any sense.
  • Loading branch information
Nicholas Haney authored and Nicholas Haney committed Nov 13, 2015
1 parent af6db36 commit 7b0e17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geotrigger/notify-device-with-php/README.md
@@ -1,7 +1,7 @@
#Send push notification to device with PHP script

##About
At the behest of a customer I created a script to send a push notification running an app using the Geotrigger SDK. I struggled mightily to get the script to work. To prevent others from spending many hours trying to accomplish the same thing I have created this sample. You can learn more about sending push notifications to a geotrigger app [here](https://developers.arcgis.com/geotrigger-service/api-reference/device-notify/). More information about the Esri Geotrigger Service [can be found here](https://developers.arcgis.com/geotrigger-service/).
At the behest of a customer I created a script to send a push notification to an app using the Geotrigger SDK. I struggled mightily to get the script to work. To prevent others from spending many hours trying to accomplish the same thing I have created this sample. You can learn more about sending push notifications to a geotrigger app [here](https://developers.arcgis.com/geotrigger-service/api-reference/device-notify/). More information about the Esri Geotrigger Service [can be found here](https://developers.arcgis.com/geotrigger-service/).

##Usage notes
This script uses Curl. While this makes sending POST requests with PHP much easier this also means Curl must be configured on your server. You must use a client id and client secret registered to your developers.arcgis.com account to create the token used to access the geotrigger service. You must have a device that is registered to receive push notifications that is running an application using the Geotrigger SDK. Note for the push notification to successfully resolve the application must be running.
Expand Down

0 comments on commit 7b0e17d

Please sign in to comment.