-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Any plugins defined in config.xml are now ignored - TESTING DONE: Ran `npx cordova prepare` multiple times and no plugins were added - it looks like `package.json` is the only source of truth - so removed all plugins from `config.cordovabuild.xml`. `config.cordovabuild.xml` and `config.serve.xml` are now almost identical except for the `<edit_config>` bits and the native hooks - Remove preferences related to obsolete features - splashscreen - crosswalk - Upgrade the `minSdkVersion` to 22 to be consistent with [email protected]
- Loading branch information
Showing
2 changed files
with
9 additions
and
59 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<widget android-versionCode="35" id="edu.berkeley.eecs.emission" ios-CFBundleVersion="35" version="2.6.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | ||
<widget android-versionCode="39" id="edu.berkeley.eecs.emission" ios-CFBundleVersion="39" version="2.8.1" 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>emission</name> | ||
<description> | ||
A commute pattern tracker and carbon footprint estimator. | ||
|
@@ -9,24 +9,19 @@ | |
</author> | ||
<content src="index.html" /> | ||
<access origin="*" /> | ||
<allow-navigation href="https://em-game.eecs.berkeley.edu/*" /> | ||
<hook src="package-hooks/ios9_allow_http.sh" type="after_prepare" /> | ||
<hook src="hooks/before_prepare/download_translation.js" type="before_prepare" /> | ||
<preference name="webviewbounce" value="false" /> | ||
<preference name="UIWebViewBounce" value="false" /> | ||
<preference name="DisallowOverscroll" value="true" /> | ||
<preference name="android-minSdkVersion" value="18" /> | ||
<preference name="android-minSdkVersion" value="22" /> | ||
<preference name="BackupWebStorage" value="none" /> | ||
<preference name="SplashScreen" value="screen" /> | ||
<preference name="SplashScreenDelay" value="100" /> | ||
<preference name="xwalkVersion" value="19+" /> | ||
<preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect" /> | ||
<preference name="xwalkMode" value="embedded" /> | ||
<preference name="xwalkMultipleApk" value="true" /> | ||
<preference name="emSensorDataCollectionProtocolApprovalDate" value="2016-07-14" /> | ||
<feature name="StatusBar"> | ||
<param name="ios-package" onload="true" value="CDVStatusBar" /> | ||
</feature> | ||
<platform name="ios"> | ||
<preference name="WKWebViewOnly" value="true" /> | ||
<preference name="WKSuspendInBackground" value="false" /> | ||
<icon height="57" src="resources/ios/icon/icon.png" width="57" /> | ||
<icon height="114" src="resources/ios/icon/[email protected]" width="114" /> | ||
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" /> | ||
|
@@ -61,8 +56,8 @@ | |
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /> | ||
</platform> | ||
<platform name="android"> | ||
<preference name="android-minSdkVersion" value="18" /> | ||
<preference name="android-targetSdkVersion" value="21" /> | ||
<preference name="android-minSdkVersion" value="22" /> | ||
<preference name="android-targetSdkVersion" value="28" /> | ||
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" /> | ||
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" /> | ||
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" /> | ||
|
@@ -83,5 +78,4 @@ | |
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" /> | ||
</platform> | ||
<icon src="resources/android/icon/drawable-xhdpi-icon.png" /> | ||
<preference name="SplashShowOnlyFirstTime" value="false" /> | ||
</widget> |