So i moved the registration of the notification listener to earlier in my code, and it works now.
I guess somewhere between build 927 and 928, my notification listener started getting registered AFTER the token had been already been delivered by iOS, and so the event never fired because it had already happened.
Basically, i have a number-based-index table that i use to store anon functions, each of which is responsible for loading a resource…on boot i loop through this table and call each of the functions (after each call i update a loading-progress bar and show a “Play” button when all functions have been called)…the notification listener registration was in one of these funcs, loaded latently within the loop. Taking the registration of the listener-function out of this resource-loading loop and dropping it right into the start of my main.lua file seems to have solved the problem.
BUT i wonder if this could happen at some time in the future anyways? Is there some chance that iOS will still deliver the token “too early”? i.e. when does the event fire exactly and where is the line of “registered in time to get the token” and “registered too late! nothing works!”?
[import]uid: 105599 topic_id: 32377 reply_id: 128865[/import]