Add ephemeral PHP runtime and push notification support#82
Merged
shanerbaner82 merged 4 commits intomainfrom Apr 1, 2026
Merged
Add ephemeral PHP runtime and push notification support#82shanerbaner82 merged 4 commits intomainfrom
shanerbaner82 merged 4 commits intomainfrom
Conversation
… navigation PHPBridge.getLastPostData() was never cleared after consumption, causing subsequent requests to re-execute stale bridge call payloads. This manifested as duplicate notifications when navigating after a notification tap. Also adds notification URL navigation support in onNewIntent — when a notification with a URL is tapped and intent.data is null (launcher intent doesn't carry deep link data), falls back to reading the notification_url extra and navigating via Inertia/location.href. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add a generic ephemeral TSRM context (boot/artisan/shutdown) to php_bridge.c that any plugin can use for background PHP work via WorkManager. Supports both hot path (app alive) and cold path (WorkManager cold start). Add JNI declarations to PHPBridge.kt and init function support to the plugin compiler stub template. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Add push notification deep link and data message support - Handle FCM data payload deep links (url/link keys) in handleDeepLinkIntent for cold-start push notification navigation on Android - Add didReceiveRemoteNotification to AppDelegate for iOS data-only message delivery (silent push via content-available) - Fix IOSPluginCompiler to handle boolean values in nativephp.json info_plist entries (needed for FirebaseAppDelegateProxyEnabled: false) - Add clearBadge method to PushNotifications
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
php_bridge.c)Files changed
php_bridge.c— ephemeral runtime native implementation (+179)MainActivity.kt/AppDelegate.swift— push notification handlingDeepLinkRouter.swift— deep link routing updatesAndroidPluginCompiler.php/IOSPluginCompiler.php— plugin compiler updatesPushNotifications.php+ facade — new push notification methodsPluginBridgeFunctionRegistration.kt.stub— stub updatesTest plan
🤖 Generated with Claude Code