Skip to content

Dev 3362 missing methods#206

Merged
Xyzcancer merged 3 commits into
masterfrom
DEV-3362-missing-methods
Jun 26, 2026
Merged

Dev 3362 missing methods#206
Xyzcancer merged 3 commits into
masterfrom
DEV-3362-missing-methods

Conversation

@Xyzcancer

Copy link
Copy Markdown
Contributor

No description provided.

…rden delivery

The documented `SDK().initialize()` now registers itself as the companion
`instance` that FirebaseMessagingService delivers pushes to, so the documented
initialization receives pushes without an UninitializedPropertyAccessException.
Guard notificationReceived() before initialize() and wrap onMessageReceived in
try/catch so a malformed or early push can never crash the host app. Adds
robustness tests covering both paths.

Demo app: display pushes with a standard BigPicture notification (matching the
React Native demo), request POST_NOTIFICATIONS at runtime, surface the FCM token
in a copyable header, and add a crash interceptor for the tester.
Context#getSystemService(Class) requires API 23, but the demo's minSdk is 19,
which failed the lint NewApi check on CI. Use ContextCompat.getSystemService
instead, which is safe on all supported API levels.
@Xyzcancer Xyzcancer merged commit 9d38c6e into master Jun 26, 2026
1 check passed
@Xyzcancer Xyzcancer deleted the DEV-3362-missing-methods branch June 26, 2026 12:58
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