mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-07-27 15:08:40 +02:00
[PR #363] [MERGED] Add debug build to to allow prod and dev apps to work side by side. #1417
Reference in New Issue
Block a user
📋 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:
master← Head:vangorra/debug-build📝 Commits (1)
6231c5fAdd 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.