PHPSDK (composer version) developed for Umeng message push: Android push can be sent by province. The APP has always wanted to push Androidpush by province, city, and county, so it can only analyze the user's longitude and latitude and send them by tag. Now we finally have a service provider. Umeng message push can be pushed by province. 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 send messages by tag.
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
Pull push, you can only analyze the user's longitude and latitude, and send tags. Now we finally have a service provider. Umeng message push can be pushed by province ,...