React native 如何在react native expo项目中添加Mixpanel?

React native 如何在react native expo项目中添加Mixpanel?,react-native,expo,react-native-ios,mixpanel,React Native,Expo,React Native Ios,Mixpanel,我得到下面的错误 null is not an object (evaluating RNMixpanel.sharedInstancesWithtoken) 如何在expo中设置Mixpanel?在expo中,如果expo不支持具有本机依赖项的模块,则不能使用该模块。我必须先安装mixpanel,然后根据它的文档安装它。我一直在使用@benawad提供的expo mixpanel analytics库和一个未弹出的expo应用程序,它工作得很好 Segment还有一个React本机库和一个

我得到下面的错误

null is not an object (evaluating RNMixpanel.sharedInstancesWithtoken)

如何在expo中设置Mixpanel?

在expo中,如果expo不支持具有本机依赖项的模块,则不能使用该模块。我必须先安装mixpanel,然后根据它的文档安装它。

我一直在使用
@benawad
提供的
expo mixpanel analytics
库和一个未弹出的expo应用程序,它工作得很好

Segment还有一个React本机库和一个Mixpanel集成