- 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
forked from edismooth/ionic2-firebase
-
Couldn't load subscription status.
- Fork 0
surdet/ionic2-firebase
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Easy example of Firebase working with Ionic 2.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 29.4%
- CSS 28.6%
- TypeScript 24.7%
- HTML 17.3%