Php sdk (composer version) developed for umeng message push: Android push can be sent by province

Source: Internet
Author: User

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.