Skip to content

Feature/expo push notifications#283

Open
wentz-s wants to merge 2 commits into
skychatorg:masterfrom
wentz-s:feature/expo-push-notifications
Open

Feature/expo push notifications#283
wentz-s wants to merge 2 commits into
skychatorg:masterfrom
wentz-s:feature/expo-push-notifications

Conversation

@wentz-s
Copy link
Copy Markdown
Member

@wentz-s wentz-s commented Apr 10, 2026

Added expo push notifications for the react-native app.

To sub to push notifications on RN app:

  1. Request notification permissions
    await Notifications.requestPermissionsAsync();
  2. Get the Expo push token
    const token = await Notifications.getExpoPushTokenAsync({ projectId: 'your-expo-project-id' });
  3. Send it to the server via the existing skychat command mechanism
    sendCommand('expopush', token.data); // e.g. "ExponentPushToken[xxx]"

wentz-s and others added 2 commits April 10, 2026 15:01
Introduces ExpoPushPlugin, a new GlobalPlugin that stores Expo push
tokens per user and sends mention notifications via expo-server-sdk,
alongside the existing web push flow. Invalid/unregistered tokens are
automatically pruned on delivery failure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

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