You can find the OneSignal integration at
/providers/OneSignalProvider.tsx and it is initialized at /app/auth.tsx like this:OneSignalProvider.tsx
Setting up OneSignal
Create an account
Go to the OneSignal website and create an account.
Setting up Messaging Channels
In your Quick Start Guide click on:
- Set up Messaging Channels for Your App
- Then on Push Notifications

Firebase console
- Now you need to go to the Firebase console and create a new project.
Service account
- Now go to Service Accounts section under Project Settings.
- Click on Generate new private key and download the JSON file.

Apple set up
Now you have to that same steps for iOS but instead of Firebase service key you will need a .p8 key from Apple Developer Portal, to do this:
- Go to this page.
- Write a key name.
- Check Apple Push Notifications service (APNs).
- Click Register.
- Download the key.

Congratulations! You have successfully set up push notifications with One Signal.
Other tutorials
Set up development environment
Set up your development environment




