Skip to content

Update mobile-browser to 1.2 so the sign-in tab can't strand the app - #59

Merged
simonhamp merged 1 commit into
mainfrom
chore/mobile-browser-1.2
Oct 21, 2026
Merged

simonhamp merged 1 commit into
mainfrom
chore/mobile-browser-1.2

Conversation

@simonhamp

Copy link
Copy Markdown
Member

Requires nativephp/mobile-browser ^1.2 and updates only that package in the lock (1.1.0 to 1.2.0).

1.2.0 brings NativePHP/mobile-browser#3. On Android, Browser::auth() now opens the dev-null.sh sign-in tab in a task of its own. Before, a sign-in tab left open when the app was updated, force-stopped or killed in the background became the thing the launcher reopened, so the app never started. That's what kept happening on the Moto g24. It also includes NativePHP/mobile-browser#2, which makes iOS open custom schemes instead of always reporting failure.

The plugin adds an activity and an init function, so Android needs php artisan native:install android (or a fresh build) to pick them up. While a sign-in is open, Recents shows the app and the sign-in page as two cards, and coming back to the app brings the tab back to the front.

The Onboarding, This device, profile, commit detail and issue command tests pass (128). The same plugin code ran on the Moto during review of mobile-browser#3: a full sign-in, plus update, force-stop and background kill with the tab open.

🤖 Generated with Claude Code

1.2.0 opens Browser::auth()'s Custom Tab in its own task on Android. Before, a sign-in tab left open when the app was updated, force-stopped or killed in the background became what the launcher reopened, and the app never started (seen on the Moto g24). It also has the iOS fix for opening custom schemes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@simonhamp
simonhamp merged commit feaa5d8 into main Oct 21, 2026
1 check passed
@simonhamp
simonhamp deleted the chore/mobile-browser-1.2 branch October 21, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant