[PR #363] [MERGED] Add debug build to to allow prod and dev apps to work side by side. #1417

Closed
opened 2026-04-24 23:58:18 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/363
Author: @vangorra
Created: 9/4/2022
Status: Merged
Merged: 9/4/2022
Merged by: @advplyr

Base: masterHead: vangorra/debug-build


📝 Commits (1)

  • 6231c5f Add debug build to to allow prod and dev apps to work side by side.

📊 Changes

23 files changed (+16 additions, -0 deletions)

View changed files

📝 android/app/build.gradle (+6 -0)
android/app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml (+5 -0)
android/app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml (+5 -0)
android/app/src/debug/res/mipmap-hdpi/ic_launcher.png (+0 -0)
android/app/src/debug/res/mipmap-hdpi/ic_launcher_background.png (+0 -0)
android/app/src/debug/res/mipmap-hdpi/ic_launcher_foreground.png (+0 -0)
android/app/src/debug/res/mipmap-hdpi/ic_launcher_round.png (+0 -0)
android/app/src/debug/res/mipmap-mdpi/ic_launcher.png (+0 -0)
android/app/src/debug/res/mipmap-mdpi/ic_launcher_background.png (+0 -0)
android/app/src/debug/res/mipmap-mdpi/ic_launcher_foreground.png (+0 -0)
android/app/src/debug/res/mipmap-mdpi/ic_launcher_round.png (+0 -0)
android/app/src/debug/res/mipmap-xhdpi/ic_launcher.png (+0 -0)
android/app/src/debug/res/mipmap-xhdpi/ic_launcher_background.png (+0 -0)
android/app/src/debug/res/mipmap-xhdpi/ic_launcher_foreground.png (+0 -0)
android/app/src/debug/res/mipmap-xhdpi/ic_launcher_round.png (+0 -0)
android/app/src/debug/res/mipmap-xxhdpi/ic_launcher.png (+0 -0)
android/app/src/debug/res/mipmap-xxhdpi/ic_launcher_background.png (+0 -0)
android/app/src/debug/res/mipmap-xxhdpi/ic_launcher_foreground.png (+0 -0)
android/app/src/debug/res/mipmap-xxhdpi/ic_launcher_round.png (+0 -0)
android/app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png (+0 -0)

...and 3 more files

📄 Description

Development can be made better by allowing the prod and dev apps to coexist.

Current process to develop with Android auto:
Send Android auto will only work with apps distributed from Google play. Currently, in other to develop the app, one has to uninstall the current (prod) version, and setup the debug version for development. Then when we want to play Android auto on real hardware, one must remove the dev app, install the prod and setup again.

Solution:
Provide an alternative application id for debug build. This allows both apps to coexist and avoids all re-setup. The apps are easily distinguished because the debug app has an upsidedown icon.

Note: This is the first of several PRs that fix Android auto buttons and queue. I finally figured it out, it took a lot of research.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/363 **Author:** [@vangorra](https://github.com/vangorra) **Created:** 9/4/2022 **Status:** ✅ Merged **Merged:** 9/4/2022 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `vangorra/debug-build` --- ### 📝 Commits (1) - [`6231c5f`](https://github.com/advplyr/audiobookshelf-app/commit/6231c5fcc46c1071365dc839a2e7de1f489f1ae9) Add debug build to to allow prod and dev apps to work side by side. ### 📊 Changes **23 files changed** (+16 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `android/app/build.gradle` (+6 -0) ➕ `android/app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml` (+5 -0) ➕ `android/app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml` (+5 -0) ➕ `android/app/src/debug/res/mipmap-hdpi/ic_launcher.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-hdpi/ic_launcher_background.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-hdpi/ic_launcher_foreground.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-hdpi/ic_launcher_round.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-mdpi/ic_launcher.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-mdpi/ic_launcher_background.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-mdpi/ic_launcher_foreground.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-mdpi/ic_launcher_round.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-xhdpi/ic_launcher.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-xhdpi/ic_launcher_background.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-xhdpi/ic_launcher_foreground.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-xhdpi/ic_launcher_round.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-xxhdpi/ic_launcher.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-xxhdpi/ic_launcher_background.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-xxhdpi/ic_launcher_foreground.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-xxhdpi/ic_launcher_round.png` (+0 -0) ➕ `android/app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png` (+0 -0) _...and 3 more files_ </details> ### 📄 Description Development can be made better by allowing the prod and dev apps to coexist. Current process to develop with Android auto: Send Android auto will only work with apps distributed from Google play. Currently, in other to develop the app, one has to uninstall the current (prod) version, and setup the debug version for development. Then when we want to play Android auto on real hardware, one must remove the dev app, install the prod and setup again. Solution: Provide an alternative application id for debug build. This allows both apps to coexist and avoids all re-setup. The apps are easily distinguished because the debug app has an upsidedown icon. Note: This is the first of several PRs that fix Android auto buttons and queue. I finally figured it out, it took a lot of research. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-24 23:58:18 +02:00
adam closed this issue 2026-04-24 23:58:18 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1417