Skip to content

Conversation

@alexjba
Copy link
Contributor

@alexjba alexjba commented Dec 12, 2025

What does the PR do

Iterates: #19532 #18403

This commit connects the native code with status-go push notification infrastructure. It handles:

  • Firebase token generation
  • App config
  • Android permissions
  • Forwarding the token to status-go

What's not included here:

  • UI to manage push notification permissions
  • Decrypting the notifications. Requires refactoring DOtherSide to move the OS notifications to StatusQ
  • Android deep links
  • de-googled phones. We probably need a different infrastructure. Firebase is not an option. Maybe https://unifiedpush.org @igor-sirotin @siddarthkay

How does it do it

In terms of Firebase config I've created a new project here https://console.firebase.google.com/u/0/project/status-react-app/overview. It's using the status-app app id. This firebase project config is checked-in now as a json config.

StatusQ will now expose the c APIs needed to generate the firebase token and to request the notification permissions for Android. nim_status_client.nim will initialize the push notifications (generating the token at start-up). After login we'll register the token in status-go.

Affected areas

Android push notifications
App start-up

Architecture compliance

Screencapture of the functionality

Screen_Recording_20251212_123209_Status2.mp4

Screenshot_20251212_124838_Photos

Impact on end user

The end user will receive notifications if permissions are allowed.

How to test

Open the app, allow for permissions. Close the app or place it in background and make sure to receive a 1-1 message or contact request

Risk

Exposed Firebase API. It seems to be considered here the first time we've published it https://github.com/status-im/status-legacy/pull/21983/changes#r2005830459. No idea though if this is a real risk or not.

…ications

This commit connects the native code with status-go push notification infrastructure.
It handles:
- Firebase token generation
- App config
- Android permissions
- Forwarding the token to status-go
@status-im-auto
Copy link
Member

status-im-auto commented Dec 12, 2025

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
3843c63 #1 2025-12-12 11:14:31 ~5 min macos/aarch64 📄log
3843c63 #1 2025-12-12 11:14:31 ~5 min macos/aarch64-nwaku 📄log
3843c63 #1 2025-12-12 11:14:55 ~5 min tests/ui 📄log
✔️ 3843c63 #1 2025-12-12 11:18:32 ~9 min android/arm64 🤖apk 📲
3843c63 #1 2025-12-12 11:19:29 ~10 min ios/aarch64 📄log
3843c63 #1 2025-12-12 11:25:13 ~16 min linux/x86_64 📄log
3843c63 #1 2025-12-12 11:27:44 ~18 min linux/x86_64-nwaku 📄log
3843c63 #1 2025-12-12 11:33:46 ~24 min windows/x86_64 📄log

@status-im-auto
Copy link
Member

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.

2 participants