-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add macOS support - Invariant Violation new NativeEventEmitter #405
Comments
👀 SDKONCALL-97 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out! |
@elmcapp Thanks for reaching out! Our React Native SDK does not currently support macOS but it is on a radar to add support for now! I don't think I have a time frame of when that will get added yet but we'll keep this issue open and close it when its added 😊 |
I'm getting the same error message from just running |
I'm getting the same error message from just running import Purchases from "react-native-purchases" on iOS under React Native - Expo
|
@pankti16 for Expo, you will have to make Development builds in order for the SDK to work. This is documented here: The easiest way to get it done is by doing a development build running one of the following: npx expo run:ios -d
npx expo run:android -d |
note that RevenueCat doesn't currently support react-native for macOS, so these instructions are for iOS and Android |
@joshdholtz @aboedo Is it possible that we could have an update soon to include this. It's really needed. I did a little testing this weekend I was able to use some of the native code for RevenueCat macOS and pass the data to react native bridge. Everything works however on the end of the users we have to write the native code then write the code for react native side. Is there any way we would have React Native for macOS included in the next update or a beta update of RevenueCat |
hey, get the same error when running just React-Native (not expo). Clean project 0.71 RN adding SDK got this error. |
@max-tern Do you mind creating a new issue for that? Since it looks like you're getting it on a non-macOS device, we should be tracking it as a separate issue. Thanks! |
I am trying to use revenuecat with React Native for macOS however I get the following error. Invariant Violation new NativeEventEmitter requires a non-null argument.
I like to know if revenuecat supports React Native for macOS. If not could you please add support for this
The text was updated successfully, but these errors were encountered: