forked from phonegap/phonegap-app-developer
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade the devapp to the most recent version of everything
To be consistent with 2023 phone upgrades Related issue: e-mission/e-mission-docs#838 Related PR: e-mission/e-mission-phone#952 Since the rest of the app is not the same, I applied the changes by diffing the config.xml and package.json and the setup directory with the corresponding locations in the e-mission-phone repo Additional minor changes: + comment out the `configure_xml_and_json` step, since we don't have the cordovabuild versions in this release + change the package name to `edu.berkeley.eecs.emission.devapp` + bump up the versions Testing done: - devapp builds successfully - after making phone app changes, devapp displays phone app successfully
- Loading branch information
Showing
7 changed files
with
92 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<widget android-versionCode="47" id="edu.berkeley.eecs.emission" ios-CFBundleVersion="45" version="3.2.4" 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="48" id="edu.berkeley.eecs.emission.devapp" ios-CFBundleVersion="46" version="3.2.5" 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>em-devapp</name> | ||
<description> | ||
The emission Developer app is a clone of the PhoneGap Developer app with the emission plugins. It is a testing utility for web developers and designers using the emission platform. After installing this app on your device or simulator you will be able to use phonegap serve to autorefresh without re-deploying the app everytime. | ||
|
@@ -48,8 +48,8 @@ | |
<preference name="WKWebViewOnly" value="true" /> | ||
<preference name="WKSuspendInBackground" value="false" /> | ||
<preference name="AutoHideSplashScreen" value="true" /> | ||
<config-file file="*-Info.plist" mode="merge" target="NSCameraUsageDescription"> | ||
<string>To scan the barcode for the study</string> | ||
<config-file parent="NSCameraUsageDescription" target="*-Info.plist" mode="merge"> | ||
<string>To scan QR codes for the login token and the study</string> | ||
</config-file> | ||
<icon height="167" src="resources/icon/ios/[email protected]" width="167" /> | ||
<icon height="76" src="resources/icon/ios/icon-76.png" width="76" /> | ||
|
@@ -82,11 +82,16 @@ | |
<splash height="1242" src="resources/splash/ios/Default-Landscape-736h.png" width="2208" /> | ||
</platform> | ||
<platform name="android"> | ||
<preference name="android-minSdkVersion" value="22" /> | ||
<preference name="android-targetSdkVersion" value="30" /> | ||
|
||
<preference name="android-minSdkVersion" value="23" /> | ||
<preference name="android-targetSdkVersion" value="32" /> | ||
<preference name="AndroidLaunchMode" value="singleInstance"/> | ||
<preference name="AndroidXEnabled" value="true" /> | ||
<preference name="GradlePluginKotlinEnabled" value="true" /> | ||
<preference name="GradlePluginKotlinVersion" value="1.7.10" /> | ||
<resource-file src="google-services.json" target="app/google-services.json" /> | ||
<!-- <hook src="hooks/before_build/android/android_set_provider.js" type="before_build" /> --> | ||
<hook src="hooks/before_build/android/android_set_provider.js" type="before_build" /> | ||
<hook src="hooks/before_build/android/android_change_compile_implementation.js" type="before_build" /> | ||
<config-file parent="/manifest/application" target="AndroidManifest.xml"> | ||
<uses-library android:name="org.apache.http.legacy" android:required="false" /> | ||
</config-file> | ||
|
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
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,9 +1,14 @@ | ||
export NVM_VERSION=0.39.0 | ||
export NODE_VERSION=14.18.1 | ||
export NPM_VERSION=6.14.15 | ||
export RUBY_VERSION=2.6.0 | ||
export COCOAPODS_VERSION=1.11.2 | ||
export GRADLE_VERSION=7.1.1 | ||
export NVM_VERSION=0.39.3 | ||
export NODE_VERSION=19.5.0 | ||
export NPM_VERSION=9.3.1 | ||
# make sure that this is a stable version from | ||
# so that https://github.com/postmodern/ruby-versions | ||
# ideally, this would be the same version as the CI | ||
# Looks like brew supports only major and minor, not patch version | ||
export RUBY_VERSION=3.0 | ||
export COCOAPODS_VERSION=1.11.3 | ||
export GRADLE_VERSION=7.6 | ||
export OSX_EXP_VERSION=12 | ||
|
||
export NVM_DIR="$HOME/.nvm" | ||
export RUBY_PATH=$HOME/.gem/ruby/$RUBY_VERSION/bin | ||
export RUBY_PATH=$HOME/.gem/ruby/$RUBY_VERSION.0/bin |
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