The APP has always wanted to push Android push by province, city, and county. It can only analyze the user's longitude and latitude and tag it for sending.
Now we finally have a service provider.
Umeng message push can be "Pushed by province", which is very convenient.
I have made a PHP SDK (composer version) for umeng for you to use and integrate it into a formal project.
Pack: https://packagist.org/packages/sinkcup/umeng-message-sdk-php
Open source code: https://github.com/sinkcup/umeng-message-sdk-php
Example:
1. Download example APP: http://com-163-sinkcup.qiniudn.com/io.github.sinkcup.message.umeng-14.4.18.1341-cnblogs-release.apk
Scan QR code download:
2. download and install the php sdk example and run PHP
: Https://github.com/sinkcup/umeng-message-sdk-php/tree/0.0.1/examples
Then execute:
Cd examples/
3. The mobile phone will receive the push. effect:
Sample Code:
<? ==>, ==>, =$ Data ==>=$ o-> $ data ==>==>=$ o->?>
References:
Http://dev.umeng.com/message