react-native-onesignal | React Native Library for OneSignal Push Notifications | Notification library

 by   OneSignal TypeScript Version: 5.1.3 License: Non-SPDX

kandi X-RAY | react-native-onesignal Summary

kandi X-RAY | react-native-onesignal Summary

react-native-onesignal is a TypeScript library typically used in Messaging, Notification, React Native applications. react-native-onesignal has no bugs, it has no vulnerabilities and it has medium support. However react-native-onesignal has a Non-SPDX License. You can download it from GitHub.

OneSignal is a free email, sms, push notification, and in-app message service for mobile apps. This SDK makes it easy to integrate your native React-Native iOS and/or Android apps with OneSignal. See the Setup Guide for setup instructions. See this repository's release tags for a complete change log of every released version. Please visit this repository's Github issue tracker for feature requests and bug reports related specifically to the SDK. For account issues and support please contact OneSignal support from the dashboard. To make things easier, we have published demo projects in the /examples folder of this repository.

            kandi-support Support

              react-native-onesignal has a medium active ecosystem.
              It has 1506 star(s) with 360 fork(s). There are 55 watchers for this library.
              There were 6 major release(s) in the last 6 months.
              There are 53 open issues and 1132 have been closed. On average issues are closed in 139 days. There are 8 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of react-native-onesignal is 5.1.3

            kandi-Quality Quality

              react-native-onesignal has 0 bugs and 0 code smells.

            kandi-Security Security

              react-native-onesignal has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              react-native-onesignal code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              react-native-onesignal has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              react-native-onesignal releases are available to install and integrate.
              It has 977 lines of code, 82 functions and 32 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed react-native-onesignal and discovered the below as its top functions. This is intended to give you an instant insight into react-native-onesignal implemented functionality, and help decide if they suit your requirements.
            • Serialize a ReadableMap to JSON object .
            • Converts a JSONObject to a WritableMap .
            • Sets the message lifecycle handler that will be sent to the client .
            • Initialize Flipper .
            • Initializes the OneSignal SDK .
            • Creates native modules .
            • Initialize this instance
            • Create view managers .
            • Get the main component name .
            Get all kandi verified functions for this library.

            react-native-onesignal Key Features

            No Key Features are available at this moment for react-native-onesignal.

            react-native-onesignal Examples and Code Snippets

            No Code Snippets are available at this moment for react-native-onesignal.

            Community Discussions


            React native main component takes 5 seconds to render
            Asked 2022-Mar-02 at 11:59

            I got a react nativ app to optimize, my problem is that the render method of the main component ALWAYS takes like 5 secondes even when the component is empty (during which the app display a white empty screen). This is a big problem because a 5 sec white screen at the beginning of the app will make the users uninstall the app.

            timestamped logs

            As you can see here in the logs there is always 5 sec between the rendering of the app and the rendering of the basic navigator with a basic component.

            Here is my App.tsx code :



            Answered 2022-Mar-02 at 11:59

            From the documentation. PersistGate behaves in the following way:

            PersistGate delays the rendering of your app's UI until your persisted state has been retrieved and saved to redux.

            The delay you're enduring is most probably down to this. You can try and remove PersistGate to verify this.



            What should be the Podspec file for using local .xcframework in React Native library?
            Asked 2021-May-08 at 07:13

            I created a React Native library that is a wrapper for using the native iOS framework in the React Native Projects. Earlier I was using .framework & it was working fine. Now I am facing an issue in using this library with .xcframework instead of .framework.

            I added this library as a dependency to the project & then on running pod install getting the below error:

            [!] [Xcodeproj] Generated duplicate UUIDs:

            When I opened the project & try to build it, it builds successfully for the device but fails on the simulator.

            Below is the Podspec file that I am using in the library project:



            Answered 2021-Mar-21 at 14:14


            Apple rejects app because of AppTrackingTransparency.framework (can't find it included in the app)
            Asked 2021-Mar-26 at 15:04

            Just got this message from Apple this morning:



            Answered 2021-Mar-20 at 14:48

            You should double-check your Info.plist, You might have included something like this Privacy - Tracking Usage Description



            All my react-native projects shows error TypeError: cb.apply is not a function
            Asked 2020-Nov-09 at 15:22

            I'm realtively new to react-native. All my projects were running fine in the morning, but somehow they stopped working. When I run react-native start and the react-native run-android, the app gets installed on the device but then this error props up which was not happening before.



            Answered 2020-Jul-23 at 16:13

            Ciao, this problem is connected to graceful-fs package. Plase, reinstall graceful-fs:



            React Native - Google Fit API can't get steps
            Asked 2020-Sep-02 at 07:06

            I use react-native-google-fit package to get the steps data about the user. In my case this package works fine in some devices but in some others cant get any data or response from the google-fit API.

            I cant understand what is the problem, as I know step recording api of the google-fit is not implemented in default as it is in IOS(health-kit). I implemented bugnsag to track the steps and the process stucks when I call google-fit API to get step samples. No error or exception thrown it just feels like hanging.

            If anyone have some idea or solution about it I would be very happy to hear.




            Answered 2020-Sep-02 at 07:06

            Well I solved the issue.. Still its very weird issue but, first of course its my fault to not check documentation again. Seconds its bad documentation and naming.. Like how you can write READ_WRITE and it can only mean WRITE?



            One Signal Google Play Services Library Error React-Native
            Asked 2020-Aug-14 at 07:47

            I recently came across a problem with my app.

            I had installed OneSignal, it worked. And some updates after adding the onesignal, stopped working. I don't know exactly what I did wrong or which module is conflicting with the onesignal, I've been on this problem for days and I still can't solve it. Need help.

            My package.json:



            Answered 2020-Aug-14 at 07:47

            I changed the app_id of the onesignal in the app to a new one and it worked.



            react-native ITMS-90809: Deprecated API Usage
            Asked 2020-Jul-04 at 18:36

            I already went through multiple posts and possible fixes, updating different libraries, etc, trying to fix this issue. I'm not able to identify which library can be the problem.

            After running grep -r UIWebView ./* on my entire project I get the following references:



            Answered 2020-Jul-04 at 18:36

            The problem was this library "rn-spotify-sdk", I end up following what is mentioned here => removing SpotifyAuthentication from its dependencies



            CDN: trunk URL couldn't be downloaded in certain React Native project when running "pod install"?
            Asked 2020-May-14 at 03:45

            I have this react native project that im working with multiple computers, in my MacBook everything works fine, when I run "pod install" after running "npm install" the pods project is created successfully, in the other hand when I do the same in my desktop I get this following error:

            Ive tried installing pods for other projects and everything works fine, the problem is with this project in particular.


            Thanks for your comments, for you to know:

            after running:



            Answered 2020-May-04 at 19:34

            Thank you all for the support, after multiple efforts of solving this, I found the solution was related to my network making IPV6 requests instead of IPV4, I don't filly understand this but this is how I solved:

            System Preferences > Network > Advanced > TCP/IP > Configure IPv6: Link-local only




            How do I specify the version of react-native-onesignal in my podfile?
            Asked 2020-Apr-14 at 22:34

            I'm following this guide on how to set up OneSignal with React Native. In the section where it says In your Podfile, add the notification service extension..., it says to add the following to my Podfile:



            Answered 2020-Apr-14 at 22:34

            You haven’t specified which version range you think is appropriate instead, but if this Pod follows the common convention where breaking changes only happen when the major version changes, then you would use the constraints


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install react-native-onesignal

            You can download it from GitHub.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • npm

            npm i react-native-onesignal

          • CLONE
          • HTTPS


          • CLI

            gh repo clone OneSignal/react-native-onesignal

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link