Push Notification Opt-in Prompt Question

To be clear, my question is about this:

http://www.waterfallmobile.com/blog/wp-content/uploads/2012/06/Opt-in-about-push-notifications.jpg

Is it possible to get the initial opt in prompt without registering the device with a push server? We’re going to be setting up a demo app and wanted to show that push notifications would be a part of the product. 

Regardless of the above answer, what steps are required to get the app in the position to prompt the user to opt in? 

Thanks for the help

Push notifications are generated from calls to the native operating system’s SDK’s.  All of this happens behind the scenes.  The sheer inclusion of Push code triggers the registration.  There isn’t anything we can do on the Lua/Corona side to affect this.

To learn more about Push, please read:

http://docs.coronalabs.com/guide/events/appNotification/index.html

Rob

So, if I am understanding correctly, the opt in prompt is a result of the registration process? So I put in the push code, the device registers, then prompts the user to allow/deny push notifications. Would you say that is correct?

Correct.

Rob

Awesome, many thanks!

For the demo app purposes I would simply do a mock alert that looks as close as possible to the real Opt-In alert. I would set it to run on the first time my app is run etc. As I understand it, this is to show your client what it will be like so you can just make it look real. Just an idea. Your mileage may vary.

Push notifications are generated from calls to the native operating system’s SDK’s.  All of this happens behind the scenes.  The sheer inclusion of Push code triggers the registration.  There isn’t anything we can do on the Lua/Corona side to affect this.

To learn more about Push, please read:

http://docs.coronalabs.com/guide/events/appNotification/index.html

Rob

So, if I am understanding correctly, the opt in prompt is a result of the registration process? So I put in the push code, the device registers, then prompts the user to allow/deny push notifications. Would you say that is correct?

Correct.

Rob

Awesome, many thanks!

For the demo app purposes I would simply do a mock alert that looks as close as possible to the real Opt-In alert. I would set it to run on the first time my app is run etc. As I understand it, this is to show your client what it will be like so you can just make it look real. Just an idea. Your mileage may vary.