You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARN new NativeEventEmitter() was called with a non-null argument without the required addListener method. WARN new NativeEventEmitter() was called with a non-null argument without the required removeListeners method.
#1628
Describe the bug
Getting these warnings when used @stripe/stripe-react-native package methods
import { StripeProvider, useStripe } from "@stripe/stripe-react-native";
WARN `new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.
WARN `new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method.
To Reproduce
Steps to reproduce the behavior:
import the @stripe/stripe-react-native package methods
you'll get the error warning
Expected behavior
Above annoying warning should not pop up, with proper error handling
Screenshots
Smartphone (please complete the following information):
Device: Android 13
OS: Android
Browser: N/A
Version: 13.x
Additional context npx react-native info:
System:
OS: Windows 10 10.0.22621
CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Memory: 3.94 GB / 15.84 GB
Binaries:
Node: 18.17.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-223.8836.35.2231.10406996
Visual Studio: 17.8.34316.72 (Visual Studio Community 2022)
Languages:
Java: 16.0.2
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.8 => 0.70.8
react-native-windows: Not Found
npmGlobalPackages: react-native: Not Found
Describe the bug
Getting these warnings when used @stripe/stripe-react-native package methods
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Above annoying warning should not pop up, with proper error handling
Screenshots
Smartphone (please complete the following information):
Additional context
npx react-native info
:System:
OS: Windows 10 10.0.22621
CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Memory: 3.94 GB / 15.84 GB
Binaries:
Node: 18.17.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-223.8836.35.2231.10406996
Visual Studio: 17.8.34316.72 (Visual Studio Community 2022)
Languages:
Java: 16.0.2
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.8 => 0.70.8
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
The text was updated successfully, but these errors were encountered: