OneSignal plugin: Failed to register


I've followed guide. I have all the Server Key, Sender ID, OneSignal AppID and have set-up the settings accordingly in OneSignal and Firebase settings.

I'm stuck at the "Registering a Device with a User". I've placed the RegisterWithUser action as mentioned in the guide with the AppID = OneSignal AppID.

When I logged in to my app, the "Failed to register" notification appear. I was wondering what am I missing at this point.

Thank you.

In my OneSignal Dashboard, there's no users (this is expected since my app failed to register the user during app login)


Problem solved.

It turns out that I have to re-generate the app under Native Platform first before the plugin could be loaded. The plugin won't work if I login using the "old build" of the app.