When the app is installed, the device is shown in the devices collection. However, the token string is "undefined".
I have tried multiple fixes - stopping and starting app, reinstalling, recompiling. I have switched all certification to development, and tried using all with production. I still get the same error.
As a result, when I try to send a push, the error "invalid token". I have previously had push notifications working with this app, I don't understand why it's now stopped.