Local notification didn't work on iPad mini 4.

Mac version: macOS Sierra 10.12.3

Xcode version: 8.1

Corona SDK version: 2016.2992

I tested some code related to local notification. It worked on two Android devices. However, the same code failed on iPad mini 4. Since my notification was set to one week or later.  I switched off the Internet and manually adjusted the datetime on these mobile devices. Any suggestion?

We just used our LocalNotification sample app to test things for our upcoming public release and local notifications worked fine on several different iPads including my iPad 4. You might want to test with considerably shorter durations instead of messing around with the device’s clock to move to the future. And then when you’re happy your code works, set them to the duration you expect.

Rob

Thanks for your reply, Rob.

Do I need to upgrade to some recent daily build version or keep current release version for local notification?

If you want notifications on 2 week + then local notifications is not the best option.  What you need is push notifications really.

I have two answers for that. First, starting with daily build 3005, we changed how plugins work with regards to dependencies. Moving off of 2992 because of that one reason you probably should update. We were still making some important plugin related changes up through around 3037 or so. Secondly we are preparing to release a new public build. So if you want to stick with public builds, watch the blog and other news sources!

Rob

We just used our LocalNotification sample app to test things for our upcoming public release and local notifications worked fine on several different iPads including my iPad 4. You might want to test with considerably shorter durations instead of messing around with the device’s clock to move to the future. And then when you’re happy your code works, set them to the duration you expect.

Rob

Thanks for your reply, Rob.

Do I need to upgrade to some recent daily build version or keep current release version for local notification?

If you want notifications on 2 week + then local notifications is not the best option.  What you need is push notifications really.

I have two answers for that. First, starting with daily build 3005, we changed how plugins work with regards to dependencies. Moving off of 2992 because of that one reason you probably should update. We were still making some important plugin related changes up through around 3037 or so. Secondly we are preparing to release a new public build. So if you want to stick with public builds, watch the blog and other news sources!

Rob