Skip to content

BlixtWallet/expo-unified-push

 
 

Repository files navigation

expo-unified-push

Expo integration of the android UnifiedPush library.

Warning

This library is only supported on Android at the moment. For iOS suport, we recommend using the RN Push Notifications library or the Expo Notifications library.

API documentation

Main documentation is available at ExpoUnifiedPushModule typedoc pages.

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

npm install expo-unified-push

Example integration into your app

To see an example implementation of the library, you can check the App.tsx file in the example folder.

Sending notifications from your backend

To send notifications from your backend, use the web-push npm library or something similar. It will handle all encoding of parameters for you. Remember to set up VAPID keys for improved security (more info on the web-push readme)

Contributing

Contributions are very welcome! Just make sure to keep the code style consistent with the rest of the codebase and ask before adding any new dependencies.

About

Expo Module that integrates the Android Unified Push Library with React Native

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 45.1%
  • TypeScript 33.9%
  • Ruby 6.9%
  • Objective-C++ 5.5%
  • Swift 4.1%
  • JavaScript 3.6%
  • Other 0.9%