Build Android APK 0.1.1 with hidden status bar
This commit is contained in:
1 parent
fc81fee862
commit
afbf445b0f
7 files changed
+15
-13
No files matched your search
@@ -30,9 +30,9 @@ Open the local web address shown by Vite. Choose a dance template or add a sound
|
||||
|
||||
## Mobile downloads
|
||||
|
||||
- [Android / e/OS debug APK 0.1.0](downloads/BeatHound-Android-eOS-0.1.0-debug.apk) — installable on Android API 24 or newer. The same APK is intended for compatible e/OS 4+ devices.
|
||||
- [Android / e/OS debug APK 0.1.1](downloads/BeatHound-Android-eOS-0.1.1-debug.apk) — installable on Android API 24 or newer and intended for compatible e/OS 4+ devices.
|
||||
|
||||
The Android file is a debug-signed build for testing. It is not a Google Play release package. No iOS app or download is currently supported because of financial constraints.
|
||||
The generated Android file is a debug-signed build for testing. It is not a Google Play release package. No iOS app or download is currently supported because of financial constraints.
|
||||
|
||||
## Build the Android prototype
|
||||
|
||||
@@ -42,7 +42,7 @@ The mobile prototype uses Capacitor for Android.
|
||||
npm run android:debug
|
||||
```
|
||||
|
||||
The Android build needs JDK 21 and Android SDK Platform 36 / Build Tools 36.0.0. It writes the Gradle output and copies the APK to `downloads/BeatHound-Android-eOS-0.1.0-debug.apk`. iOS is currently unsupported for financial reasons; see the [native build guide](docs/native-builds.md).
|
||||
The Android build needs JDK 21 and Android SDK Platform 36 / Build Tools 36.0.0. It writes the Gradle output and copies the APK to `downloads/BeatHound-Android-eOS-0.1.1-debug.apk`. iOS is currently unsupported for financial reasons; see the [native build guide](docs/native-builds.md).
|
||||
|
||||
## Project checks
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ android {
|
||||
applicationId "com.ninosaurier.beathound"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 4
|
||||
versionName "0.1.0"
|
||||
versionCode 5
|
||||
versionName "0.1.1"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
aaptOptions {
|
||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||
|
||||
@@ -12,11 +12,13 @@
|
||||
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
<item name="android:windowFullscreen">true</item>
|
||||
<item name="android:background">@null</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="AppTheme.NoActionBarLaunch" parent="Theme.SplashScreen">
|
||||
<item name="android:windowFullscreen">true</item>
|
||||
<item name="android:background">@drawable/splash</item>
|
||||
</style>
|
||||
</resources>
|
||||
</resources>
|
||||
@@ -21,16 +21,16 @@ Gradle creates the debug APK here:
|
||||
android/app/build/outputs/apk/debug/app-debug.apk
|
||||
```
|
||||
|
||||
The checked-in file `downloads/BeatHound-Android-eOS-1.0.0-debug.apk` is debug-signed and linked from the root README. It is for direct testing and sideloading, not for Google Play publication. A release build should use a private signing key that is not stored in Git.
|
||||
After a successful build, `downloads/BeatHound-Android-eOS-0.1.1-debug.apk` is debug-signed and available for direct testing and sideloading, not for Google Play publication. A release build should use a private signing key that is not stored in Git.
|
||||
|
||||
`npm run android:debug` also copies each new debug build to that `downloads/` path.
|
||||
`npm run android:debug` also copies each new debug build to `downloads/BeatHound-Android-eOS-0.1.1-debug.apk`.
|
||||
|
||||
### Install with ADB
|
||||
|
||||
With USB debugging enabled on an Android or e/OS device, install the APK with:
|
||||
|
||||
```sh
|
||||
adb install downloads/BeatHound-Android-eOS-1.0.0-debug.apk
|
||||
adb install downloads/BeatHound-Android-eOS-0.1.1-debug.apk
|
||||
```
|
||||
|
||||
You can also transfer the APK to the device and open it. The device may ask you to allow installation from that file source.
|
||||
|
||||
BIN
Binary file not shown.
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "beat-hound",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "beat-hound",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"dependencies": {
|
||||
"@capacitor/android": "^8.6.2",
|
||||
"@capacitor/core": "^8.6.2",
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "beat-hound",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite --host 0.0.0.0",
|
||||
@@ -11,7 +11,7 @@
|
||||
"docs:build": "vitepress build docs",
|
||||
"docs:preview": "vitepress preview docs --host 0.0.0.0",
|
||||
"cap:sync": "npm run build:mobile && cap sync",
|
||||
"android:debug": "npm run build:mobile && cap sync android && cd android && ./gradlew assembleDebug && cd .. && mkdir -p downloads && cp android/app/build/outputs/apk/debug/app-debug.apk downloads/BeatHound-Android-eOS-0.1.0-debug.apk",
|
||||
"android:debug": "npm run build:mobile && cap sync android && cd android && ./gradlew assembleDebug && cd .. && mkdir -p downloads && cp android/app/build/outputs/apk/debug/app-debug.apk downloads/BeatHound-Android-eOS-0.1.1-debug.apk",
|
||||
"ios:sync": "npm run build:mobile && cap sync ios",
|
||||
"ios:open": "cap open ios",
|
||||
"test": "vitest run",
|
||||
|
||||
Reference in new issue
Block a user