Browse Source

docs: update some documentation according to latest learnings

master
Trent Larson 1 day ago
parent
commit
e16c55ac1d
  1. 3
      BUILDING.md
  2. 5
      package-lock.json
  3. 32
      test-apps/BUILD_PROCESS.md

3
BUILDING.md

@ -361,6 +361,9 @@ npm install
# Build Vue 3 app
npm run build
# Add Capacitor
npm install @capacitor/android
# Sync with Capacitor
npx cap sync android

5
package-lock.json

@ -1,12 +1,12 @@
{
"name": "@timesafari/daily-notification-plugin",
"version": "1.0.0",
"version": "1.0.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@timesafari/daily-notification-plugin",
"version": "1.0.0",
"version": "1.0.11",
"license": "MIT",
"workspaces": [
"packages/*"
@ -607,7 +607,6 @@
"resolved": "https://registry.npmjs.org/@capacitor/android/-/android-6.2.1.tgz",
"integrity": "sha512-8gd4CIiQO5LAIlPIfd5mCuodBRxMMdZZEdj8qG8m+dQ1sQ2xyemVpzHmRK8qSCHorsBUCg3D62j2cp6bEBAkdw==",
"dev": true,
"license": "MIT",
"peerDependencies": {
"@capacitor/core": "^6.2.0"
}

32
test-apps/BUILD_PROCESS.md

@ -43,21 +43,41 @@ dependencies {
### Build Commands
Note that these require Java > 22.12
This set is for the most basic Android app:
```bash
cd test-apps/android-test-app
cd android-test-app
# Build debug APK (builds plugin automatically)
./gradlew assembleDebug
# Get the full list of available AVDs
avdmanager list avd
# Run one
emulator -avd AVD_NAME
# Check that one is running
adb devices
# Now install on the emulator
adb install -r ./app/build/outputs/apk/debug/app-debug.apk
# Now start the app
adb shell am start -n com.timesafari.dailynotification/.MainActivity
# Build release APK
./gradlew assembleRelease
```
# Clean build
./gradlew clean
# List tasks
./gradlew tasks
```
This set is for the Vue app (closer to Time Safari):
- `cd daily-notification-test`
- install on Vue app, build
### Prerequisites

Loading…
Cancel
Save