We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ti.App.iOS.addEventListener('usernotificationsettings', function eventUserNotificationSettings() { // Remove the event again to prevent duplicate calls through the Firebase API Ti.App.iOS.removeEventListener('usernotificationsettings', eventUserNotificationSettings); // Register for push notifications Ti.Network.registerForPushNotifications({ success: function(e) { Ti.API.info("*************************************************"); console.log("----SUCCESS IOS ----" + JSON.stringify(e)); Ti.API.info("*************************************************"); }, error: function() { Ti.API.info("*************************************************"); console.log("----ERROR IOS ----"); Ti.API.info("*************************************************"); }, callback: function(e) { Ti.API.info("*************************************************"); console.log("----CALLBACK IOS ----" + e.data["gcm.notification.message"]); Ti.API.info("*************************************************"); } }); });
When the app is killed in IOS the call back is not called. The lastdata is only for android? what is the equivalent in IOS?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When the app is killed in IOS the call back is not called. The lastdata is only for android? what is the equivalent in IOS?
The text was updated successfully, but these errors were encountered: