- Run npm install
- Add platforms: ionic platform add android and ionic platform add ios
- Install plugin cordova plugin add cordova-plugin-fcm --save
- Create project on https://console.firebase.google.com
- Add 2 new apps - one for Android and one for iOS
- Copy google-service.json file to main project directory (the same directory of config.xml) for Android.
- Look google-service.json if api-key is not empty. If so, download it again.
- ionic run android to run app on Android
- ionic prepare ios and run project in XCode - copy file into main directory Tree and follow that steps
- Go to your project in https://console.firebase.google.com and select Notifications from menu -> *New message -> select your app, add message and click send
-
Notifications
You must be signed in to change notification settings - Fork 16
edismooth/ionic2-firebase
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
[DEPRECATED] Easy example of Firebase working with Ionic 2.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published