Cordova Android FCM Sender ID Gradle 4.8.1 BUG

Just spent a half a day trying to figure out what was wrong with my Android Cordova UA integration with Firebase. Turns out in the config.xml file where you put the gcm_sender ID must be prefixed with 'sender:' otherwise, it gets cast into a number that is written in scientific notation. 

Urban Airship Cordova plugin (I'm on 7.1.1) is working around this by adding support for sender: prefix but I had to dig very deep to find this documented so I thought I'd make it easier and put it here.

<preference name="com.urbanairship.gcm_sender" value="sender:941047228170" />

Didn't find what you were looking for?

New post

Comments

0 comments

Please sign in to leave a comment.