2.0.2 • Published 1 day ago

onesignal-expo-plugin v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 day ago

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

📝 License

Copyright © 2021 OneSignal. This project is MIT licensed.

2.0.3-beta.0

1 day ago

2.0.2

7 months ago

2.0.1

7 months ago

2.0.0

8 months ago

1.3.2

1 year ago

1.3.1

1 year ago

1.2.0

2 years ago

1.3.0

1 year ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.0-beta8

2 years ago

1.0.0-beta10

2 years ago

1.0.0-beta9

2 years ago

1.0.0-beta11

2 years ago

1.0.0-beta7

3 years ago

1.0.0-beta6

3 years ago

1.0.0-beta5

3 years ago

1.0.0-beta4

3 years ago

1.0.0-beta3

3 years ago

1.0.0-beta2

3 years ago

1.0.0-beta1

3 years ago