iOS: Get the trigger_id from push notification?
  • Whenever I receive a push notification, I would like to know what was the "trigger" for that push notification. Is this possible? 

    I got this from -application:didReceiveRemoteNotification:



    /+[LQSession handlePush:] (LQSession.m:138) Push Notification Received: {


        aps =     {


            alert =         {


                "action-loc-key" = "<null>";


                body = "My saved memo location notification";


            };


            sound = default;


        };


        geoloqi =     {


            token = 4CAbTTkb4nF;


            type = message;


        };


    }


    I believe the token is not the trigger id. I'm not sure how I would use that.

    TIA!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!