2022-02-02
2863
#react native
Edmund Ekott
90921
Feb 2, 2022 ⋅ 10 min read

Implement push notifications in React Native with OneSignal

Edmund Ekott Frontend engineer who specializes in building complex UIs with JavaScript and CSS.

Recent posts:

Build A Custom React Native Turbo Module For Android

Build a custom React Native Turbo Module for Android

Build a React Native Turbo Module for Android to access device info like model, IP, uptime, and battery status using native mobile APIs.

Emmanuel John
Feb 27, 2025 ⋅ 8 min read
how to measure round-trip time using cURL

How to measure round-trip time (RTT) using cURL

Learn how to measure round-trip time (RTT) using cURL, a helpful tool used to transfer data from or to a server.

David Omotayo
Feb 26, 2025 ⋅ 10 min read

React.memo explained: When to use it (and when not to)

React.memo prevents unnecessary re-renders and improves performance in React applications. Discover when to use it, when to avoid it, and how it compares to useMemo and useCallback.

Emmanuel John
Feb 26, 2025 ⋅ 9 min read
React useCallback: When And How To Use It For Better Performance

React useCallback: When and how to use it for better performance

Learn how React’s useCallback hook boosts performance by memoizing functions and preventing unnecessary re-renders with practical examples and best practices.

Emmanuel John
Feb 26, 2025 ⋅ 6 min read
View all posts

One Reply to "Implement push notifications in React Native with OneSignal"

  1. Lately I can no longer use Onesignal in React Native, both with Expo and CLI 🙁
    I did all the steps
    In my simulator the following message appears when I try iOS:

    Invariant Violation: `new NativeEventEmitter()` requires a non-null argument.
    ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
    This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
    ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
    This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.

Leave a Reply