Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
prepare upgrade to cordova-android 7
Browse files Browse the repository at this point in the history
cordova-android 7 doesn't bundle our nice push icon, need to figure out what's wrong
  • Loading branch information
tiltec committed Nov 27, 2018
1 parent 7093bf6 commit 44053c2
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 33 deletions.
10 changes: 5 additions & 5 deletions cordova/config/dev/config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="world.karrot.dev" version="6.2.6" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget android-versionCode="31060" id="world.karrot.dev" version="6.2.6" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Karrot Dev</name>
<description>
Mobile app for Karrot - Development version
Expand Down Expand Up @@ -30,19 +30,19 @@
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-fcm" spec="^2.1.2" />
<plugin name="cordova-universal-links-plugin-fix" spec="^1.2.1" />
<universal-links>
<host event="karrot" name="dev.karrot.world" scheme="https">
<path url="/" />
</host>
</universal-links>
<plugin name="cordova-plugin-network-information" spec="^2.0.1" />
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<meta-data android:name="firebase_analytics_collection_enabled" android:value="false" />
<meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
<meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
</config-file>
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-network-information" spec="^2.0.1" />
<plugin name="cordova-plugin-fcm-with-dependecy-updated" spec="^2.3.0" />
<plugin name="cordova-plugin-deeplinks" spec="^1.1.0" />
<engine name="android" spec="^6.4.0" />
</widget>
10 changes: 5 additions & 5 deletions cordova/config/prod/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-fcm" spec="^2.1.2" />
<plugin name="cordova-universal-links-plugin-fix" spec="^1.2.1" />
<universal-links>
<host event="karrot" name="karrot.world" scheme="https">
<path url="/" />
</host>
</universal-links>
<plugin name="cordova-plugin-network-information" spec="^2.0.1" />
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<meta-data android:name="firebase_analytics_collection_enabled" android:value="false" />
<meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
<meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
</config-file>
<engine name="android" spec="^6.4.0" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-network-information" spec="^2.0.1" />
<plugin name="cordova-plugin-fcm-with-dependecy-updated" spec="^2.2.6" />
<plugin name="cordova-plugin-deeplinks" spec="^1.1.0" />
<engine name="android" spec="^7.1.4" />
</widget>
34 changes: 17 additions & 17 deletions cordova/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions cordova/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@
],
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-fcm": {},
"cordova-plugin-network-information": {},
"cordova-universal-links-plugin-fix": {},
"cordova-universal-links-plugin": {}
"cordova-plugin-fcm-with-dependecy-updated": {},
"cordova-plugin-deeplinks": {}
}
},
"dependencies": {
"cordova-android": "^6.4.0",
"cordova-plugin-fcm": "^2.1.2",
"cordova-plugin-deeplinks": "^1.1.0",
"cordova-plugin-fcm-with-dependecy-updated": "^2.3.0",
"cordova-plugin-network-information": "^2.0.1",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-universal-links-plugin-fix": "^1.2.1",
"fcm": "^1.0.3"
}
}
2 changes: 1 addition & 1 deletion docs/android-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If using Arch Linux there is a [nice page about it](https://wiki.archlinux.org/i
In summary, install these AUR packages:

```
android-platform android-platform-25 android-sdk android-sdk-build-tools android-sdk-platform-tools
android-platform-27 android-sdk android-sdk-build-tools android-sdk-platform-tools
```

Then setup env/path stuff:
Expand Down

0 comments on commit 44053c2

Please sign in to comment.