Skip to content

Commit

Permalink
Bump to Android 14
Browse files Browse the repository at this point in the history
  • Loading branch information
ezwelty committed Oct 17, 2024
1 parent b131442 commit 0d33188
Show file tree
Hide file tree
Showing 6 changed files with 572 additions and 213 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,16 @@ See commit [1f65a50](https://github.com/bion/falling-fruit-mobile/commit/1f65a50

## Android

To build the app for Android, follow these [instructions](https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html) to install the requirements.
To build the app for Android, follow these [instructions](https://cordova.apache.org/announcements/2024/05/23/cordova-android-13.0.0.html) to install the requirements.

You will need to download the following packages:

* SDK Platforms:
* Android 12L (API Level 32)
* Android 14 (API Level 34)
* SDK Tools:
* Android SDK Build-Tools [32.0.0]
* Android SDK Build-Tools [34.0.0]
* Android SDK Command-line Tools [latest]
* Android SDK Platform-Tools
* Android SDK Tools (Obsolete)
* Android SDK Platform-Tools [latest]

You can then initialize the Android platform following the dependencies defined in `package.json`:

Expand Down Expand Up @@ -220,7 +219,13 @@ _Requires access to the (secret) application keystore._
Build and test the signed APK, then upload it to Google Play:

```bash
cordova run android --device --release -- --packageType=apk --alias=alias_name --keystore=KEYSTORE_PATH --storePassword=PASSWORD --password=PASSWORD
cordova run android --device --release -- --packageType=apk --alias=alias_name --keystore=PATH/fallingfruit.keystore --storePassword=PASSWORD --password=PASSWORD
```

Restrict the Google Maps API key used by the app to the app itself using the [Google Cloud Console](https://console.cloud.google.com/apis/credentials).

```bash
keytool -list -v -keystore PATH/fallingfruit.keystore -alias alias_name --storepass PASSWORD
```

## iOS
Expand Down
2 changes: 1 addition & 1 deletion bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"grunt-contrib-concat": ">=0.5.0",
"grunt-contrib-connect": ">=0.8.0",
"grunt-contrib-copy": ">=0.6.0",
"grunt-contrib-pug": ">=0.12.0",
"grunt-contrib-less": ">=0.11.4",
"grunt-contrib-pug": ">=0.12.0",
"grunt-contrib-watch": ">=0.6.1",
"grunt-notify": ">=0.3.1"
}
Expand Down
6 changes: 3 additions & 3 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- https://cordova.apache.org/docs/en/latest/config_ref/index.html -->
<widget
id="org.fallingfruit.app"
version="0.2.5"
android-versionCode="2500"
version="0.2.6"
android-versionCode="2600"
android-packageName="uh.fallingfruit.app"
ios-CFBundleIdentifier="com.fiddlemeragged.fallingfruit"
defaultlocale="en"
Expand Down Expand Up @@ -31,7 +31,7 @@
<preference name="AndroidLaunchMode" value="singleTop"/>
<preference name="android-maxSdkVersion" value="" />
<preference name="android-minSdkVersion" value="21" />
<preference name="android-targetSdkVersion" value="32" />
<preference name="android-targetSdkVersion" value="34" />
<preference name="Fullscreen" value="false" />
<preference name="KeepRunning" value="true" />
<preference name="ShowTitle" value="false" />
Expand Down
Loading

0 comments on commit 0d33188

Please sign in to comment.