- 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 hidden or 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
Register a API in https://www.strava.com/settings/api | |
// Install plugin inAppBrowser | |
$ ionic cordova plugin add cordova-plugin-inappbrowser | |
$ npm install --save @ionic-native/in-app-browser | |
// I create a provider, but in this example I will do inside a "page". | |
// Import inAppBrowser in /pages/login/login.ts | |
import { InAppBrowser } from '@ionic-native/in-app-browser'; |
OlderNewer