Local notifications on iphone

    We use corona enterprise to handle local notifications. We use the version before  2015.2542.  So we use  system.scheduleNotification().

   

    But before our application start, in settings—Notifications—INCLUDE/DO NOT INCLUDE,our application is in DO NOT INCLUDED. This result our application send local notification failure. After i change it to INCLUDE manually,it’s ok.

  So can we change it in program rather than manually?

Hi @binbin.ge,

Is there a specific reason why you’re using an older version of Corona, and not the most recent official release (#2646) or later? The “Notifications” plugin now has an API which you can call to request permission for notifications, which I think is what you’re seeking:

https://docs.coronalabs.com/plugin/notifications/registerForPushNotifications.html

Best regards,

Brent

Hi @binbin.ge,

Is there a specific reason why you’re using an older version of Corona, and not the most recent official release (#2646) or later? The “Notifications” plugin now has an API which you can call to request permission for notifications, which I think is what you’re seeking:

https://docs.coronalabs.com/plugin/notifications/registerForPushNotifications.html

Best regards,

Brent