Browse Source

more

pwa-test
Ben Stähli 3 years ago
parent
commit
ef2359ec99
  1. 4
      .gitignore
  2. 8
      README.md
  3. 2
      src-cordova/config.xml
  4. 2
      src-cordova/package.json

4
.gitignore

@ -23,7 +23,9 @@ yarn-error.log*
# android package
*.apk
# Cordova
/src-cordova/package-lock.json
# Cordova plugin
/src-cordova/www
/src-cordova/platforms
/src-cordova/plugins

8
README.md

@ -54,6 +54,14 @@ It does some magic, but at the link, the magic is more or less explained.
To make it work, you may need to modify your PATH: https://cordova.apache.org/docs/de/latest/guide/platforms/android/
and also set $ANDROID_HOME (usually to `export ANDROID_HOME=$HOME/Android/Sdk` )
- You may need to install gradle (Ubuntu: sudo apt install gradle)
Also, you'll need to add the cordova platform, once:
```
cd src-cordova
cordova platform add android
```
#### Serve / Build

2
src-cordova/config.xml

@ -23,7 +23,7 @@
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<engine name="android" spec="^7.1.2" />
<engine name="android" spec="^7.1.4" />
<engine name="ios" spec="^4.5.5" />
<engine name="browser" spec="^5.0.4" />
</widget>

2
src-cordova/package.json

@ -10,7 +10,7 @@
"author": "Apache Cordova Team",
"license": "Apache-2.0",
"dependencies": {
"cordova-android": "^7.1.2",
"cordova-android": "^7.1.4",
"cordova-browser": "^5.0.4",
"cordova-ios": "^4.5.5",
"cordova-plugin-whitelist": "^1.3.3"

Loading…
Cancel
Save