Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Not receiving payload on iOS for UA Push Messages

$
0
0

This is a classic application (Ti 3.1.3.GA; ti.urbanairship module 3.0.0) that pretty much uses the example code provided on Github. The app appears to register fine, the phone receives the message and brings the app to the front.

The following lines should return the data entered in the "Optional Settings" portion of the UA interface.

Ti.API.info('  Message: ' + e.data.alert);
Ti.API.info('  Payload: ' + e.data.aps);
Ti.API.info('  Target: ' + e.data.aps.target);
Alas e appears to be empty. Ideas?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>