Geo location push message

0 votes

Hi Vishnu,

 
Thanks. I am sending via AppHQ Geo location which I have attached a screen shot before. May I know what key value pairs are AppHQ using for the Geo Push Message? If I know, then I can decode it when notification is received. Please advise asap.
 
 
Thanks.
asked Aug 12, 2016 in Corona by tianchoh (10 points)

1 Answer

0 votes

Hi Tianchoh,

Following key-value pairs will be delivered to the client side if you send geo-based push from AppHQ:

1.Multi Geo Vanila push payload:

{

    "app42_geoBase" = coordinateBase;

    "app42_mapLocation" = "[{\"radius\":0.5,\"lng\":-87.629,\"lat\":41.878},{\"radius\":0.5,\"lng\":77.02664,\"lat\":28.459497}]";

    "app42_message" = "Location based push";

    aps =     {

        "content-available" = 1;

    };

}

 

2.Single Geo Vanila push payload:

{

    "app42_distance" = "0.5";

    "app42_geoBase" = coordinateBase;

    "app42_lat" = "41.878";

    "app42_lng" = "-87.629";

    "app42_message" = "Single location push";

    aps =     {

        "content-available" = 1;

    };

}

Please let me know if you have any other queries.

Regards,

Rajeev Ranjan

answered Aug 14, 2016 by rajeev.etc (1,660 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...