onesignal-expo-plugin v2.0.2
The OneSignal Expo plugin allows you to use OneSignal without leaving the managed workflow. Developed in collaboration with SweetGreen.
🏠 Homepage
Install
expo install onesignal-expo-plugin
Note: this does not install the OneSignal SDK.
Configuration in app.json / app.config.js
Plugin
Add the withOneSignal.js
file to the plugin array:
{
"plugins": [
"onesignal-expo-plugin"
]
}
OneSignal App ID
Add your OneSignal App ID to your Expo constants via the extra
param:
Example:
{
"extra": {
"oneSignalAppId": "<YOUR APP ID HERE>"
}
}
You can then access the value to pass to the setAppId
function:
import Constants from "expo-constants";
OneSignal.setAppId(Constants.manifest.extra.oneSignalAppId);
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
OneSignal
- Website: https://onesignal.com
- Twitter: @onesignal
- Github: @OneSignal
- LinkedIn: @onesignal
📝 License
1 day ago
7 months ago
7 months ago
8 months ago
1 year ago
1 year ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago