Closed Cyral closed 3 years ago
Encountere this as well, it says getToken is undefined
For whatever reason, upgrading to capacitor v3 fixed this issue. Must have been something weird with how the dependencies were resolved
v2 with support for Capacitor 3 and Firebase 8 has been released
Hi,
I've been using this plugin for some time and recently upgraded another capacitor plugin and synced my packages. Not sure what would cause this to happen because nothing changed with this package (no new version in yarn.lock), but I am now getting this error after my app's splash screen.
I was able to fix it by changing the getToken method to:
But I'm not an Android developer so I'm not sure if that is all a good idea.