mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6071] [Issue]: Android APK repeatedly redirects to new startup instances instead of launching the browser wrapper #3365
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Sep 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6071
Originally assigned to: @SpicyMarinara on GitHub.
Summary
On Android, Marinara Engine does not consistently launch the browser wrapper as described by the APK guide. After configuring Termux with allow-external-apps enabled, pressing Start redirects to a new startup instance, while the wrapper option disappears and the app starts inside the APK after restarting.
Expected behavior
Pressing Start should reliably launch the existing browser wrapper and allow normal file import/export without manually entering code or a secret phrase.
Actual behavior
The app initially redirected to Termux and failed until allow-external-apps was enabled. It then redirected to a new startup instance on every Start press; a previously successful browser link stopped working, the wrapper option disappeared, and restarting Marinara Engine caused it to start inside the app instead.
Steps to reproduce
Environment
Logs, screenshots, or video
Two screenshots were attached: Termux startup output (https://cdn.discordapp.com/attachments/1547712851374772234/1547712851664183356/Screenshot_20260911_044656_Termux.jpg?ex=6aa5bcea&is=6aa46b6a&hm=b35f31cc837fb133c32b4ef8c9c08c9f55a72a7d2c132e30dc1746166cc9e97a&) and Chrome behavior (https://cdn.discordapp.com/attachments/1547712851374772234/1547712852180074588/Screenshot_20260911_044813_Chrome.jpg?ex=6aa5bceb&is=6aa46b6b&hm=a8a11c719e281502bdc7f4b4da705375f3790091ad0fc49339567c07c13e820e&). No support diagnostics were provided.
Additional context
The user reported being able to test cards and lorebooks once before the wrapper stopped launching. They want to use Marinara Engine on Android and avoid manually entering code or a secret phrase, as well as avoid moving usage to PC. The APK guide required allow-external-apps to be enabled.
Discord thread: The Android APK is not User-Friendly
Discord thread link: https://discord.com/channels/1417099416812392641/1547712851374772234
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (3 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Owner: @SpicyMarinara (Codex). The maintainer has requested that this issue be completed in the assigned issue sweep, tracked in draft PR #6072. Existing contributor patches and previously completed translations will be reviewed and reused with attribution; the final PR will document the implementation and verification before this issue is closed.
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Fixed in #6072, merged into
staging.Android now remembers app/browser launch, signs browser entry in automatically with an expiring one-use ticket, and checks for an authenticated running server before starting Termux again. The launcher is accessible from APK settings. Both the updated Engine and a rebuilt APK are required. Debug APK compilation and Chromium/WebKit authentication checks passed; physical-device permission/start/import-export verification remains a manual check.