-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error: mixpanel-react-native: MixpanelReactNative is null. #214
Comments
were you able to solve it? i am getting the same error and nothing online is helping import { Mixpanel } from 'mixpanel-react-native'; const trackAutomaticEvents = true; export const mixpanel = new Mixpanel(MIXPANEL_TOKEN, trackAutomaticEvents); |
Nope... nothing is helping. |
its super annoying because they aren't responding either |
hey, any luck? |
same issue, not a clue what is going on, just using boilerplate docs, will see if I can get to the bottom of this quickly. |
yeah, switch the product. use the library managed by someone else. they
don't actually have any library that works with expo according to them.
…On Tue, Oct 17, 2023 at 5:36 PM Zac Poorman ***@***.***> wrote:
same issue, not a clue what is going on, just using boilerplate docs, will
see if I can get to the bottom of this quickly.
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQUBODESREMMB7MUMXZLX4LX73267AVCNFSM6AAAAAA5KS2MSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGIZDQOJRG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@zihejia Any input? |
To update this issue I found a work around by just importing and using: https://www.npmjs.com/package/mixpanel-browser. However this is not direct react-native support... But in the event of a work around just use that according to the guides @elvniv and @helians11, it should work for you. |
Thanks for the tip!
…On Tue, Oct 17, 2023 at 5:59 PM Zac Poorman ***@***.***> wrote:
To update this issue I found a work around by just importing and using:
https://www.npmjs.com/package/mixpanel-browser. However this is not
direct react-native support...
But in the event of a work around just use that according to the guides
@elvniv <https://github.com/elvniv> and @helians11
<https://github.com/helians11>, it should work for you.
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQUBODABXYQFRRJ2QXZ6XQDX735ULAVCNFSM6AAAAAA5KS2MSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGI2TMMZUGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Adding additional documentation, I tried the last three previous version and those did not work, going to see if I can fork and fix after business hours. |
let me see if i can dig up the email mixpanel sent me they gave me a third
party library i could use
…On Tue, Oct 17, 2023 at 6:12 PM Zac Poorman ***@***.***> wrote:
Adding additional documentation, I tried the last three previous version
and those did not work, going to see if I can fork and fix after business
hours.
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQUBODB4B7KQHHQQZ4LOHLLX737D3AVCNFSM6AAAAAA5KS2MSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGI3TANBZGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
here
#82
…On Tue, Oct 17, 2023 at 6:13 PM Elvin Atwine ***@***.***> wrote:
let me see if i can dig up the email mixpanel sent me they gave me a third
party library i could use
On Tue, Oct 17, 2023 at 6:12 PM Zac Poorman ***@***.***>
wrote:
> Adding additional documentation, I tried the last three previous version
> and those did not work, going to see if I can fork and fix after business
> hours.
>
> —
> Reply to this email directly, view it on GitHub
> <#214 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQUBODB4B7KQHHQQZ4LOHLLX737D3AVCNFSM6AAAAAA5KS2MSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGI3TANBZGA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
hi, it seems like you are trying to run it without the Native module, we have just released a beta version, v3.0.0-beta.1. This version allows you to enable JavaScript mode when initializing Mixpanel, which should work with your case. For more details and installation guidelines, please refer to the release notes at Mixpanel React Native v3.0.0-beta.1. I'm consolidating all the similar issues, please use #82 or open a new one for any feedback or issues in 3.0.0-beta versions 🙏 |
Error: mixpanel-react-native: MixpanelReactNative is null.
Still getting this error.
mixpanel-react-native: ^2.3.1
react-native: 0.71.8
import { Mixpanel } from 'mixpanel-react-native';
const mixpanel = new Mixpanel(projectToken, true);
The text was updated successfully, but these errors were encountered: