CORDOVA Plugin Firebase
Firebase plugin configuration
$ sudo cordova plugin add cordova-plugin-firebase-realtime-database --save
The above command will save the firebase plugin inside your project.
After that go ahead to the google firebase console and create an app using your bundle identifier (Note:Bundle identifier must be matches otherwise the firebase notification will not works).
$ sudo cordova build ios
After that goto your project -> Target ->Info -> Url Types
It will show additional url type properties.
Then paste inside identifier - "REVERSED_CLIENT_ID" and URL schemes as "com.googleusercontent.apps.appidinthefirebaseportal"
$ sudo cordova plugin add cordova-plugin-firebase-realtime-database --save
The above command will save the firebase plugin inside your project.
After that go ahead to the google firebase console and create an app using your bundle identifier (Note:Bundle identifier must be matches otherwise the firebase notification will not works).
$ sudo cordova build ios
After that goto your project -> Target ->Info -> Url Types
It will show additional url type properties.
Then paste inside identifier - "REVERSED_CLIENT_ID" and URL schemes as "com.googleusercontent.apps.appidinthefirebaseportal"
Comments
Post a Comment