- Run
npm install cordova-res --save-dev
- Create
1024x1024px
icon atresources/icon.png
- Create
2732x2732px
splash atresources/splash.png
- Add
"resources": "cordova-res ios && cordova-res android && node scripts/resources.js"
toscripts
inpackage.json
- Copy
resources.js
file toscripts/resources.js
- Run
sudo chmod -R 777 scripts/resources.js
- Run
npm run resources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Below is a full tutorial on how to setup and use Googles Firebase push notification API for both Android and iOS. It is based on this | |
earlier implementation of Googles GCM method: https://gist.github.com/prime31/5675017 - FCM is the new method and GCM will eventually be | |
retired. | |
## THE BELOW METHOD IS THE NEWER FCM METHOD: | |
Register your app in the FCM Console: https://console.firebase.google.com (add project) | |
1. Click on the newly added project, in the upper left menu is the "Overview" and Gear Settings. | |
2. Click on the GEAR settings icon, and then on "Project Settings" | |
3. In the main screen, click on "Cloud Messaging" |
Ionic 3 cheat sheet by Benjamin
Les commandes principales:
- npm install -g cordova ionic #Installer Ionic
- $ ionic info #Récupérer toutes les info
- $ ionic start blank #Créer un projet vierge
- $ ionic start "myApp" #Multiple choix de création de projet
- $ ionic generate #Creation divers
- $ ionic generate component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
css/ | |
----- ionic.app.css //Created using Gulp - Used for debugging | |
----- ionic.app.min.css //Created using Gulp | |
----- style.css | |
----- //More styles from libraries like tooltipster.css for example | |
img/ | |
----- logo.png | |
----- icons/ //Example | |
---------- user1.png | |
---------- user2.png |