Open matt-dalton opened 4 years ago
I have same problem.
Its ok in removing metro cache file
@matt-dalton how did you fix it ? if you have
you have a metro-cache directory under the tmp directory of your operating system.
Remove this metro-cache file and rebuid.
TypeError: Mixpanel.sharedInstanceWithToken is not a function
Same here upgrading from 1.1.1 to 1.2.0, going to downgrade, since I've have checked/followed these as far as I can tell
Debug-mode is not an issue, only release-mode builds too
RN 0.61.5 too
@matt-dalton how did you fix it ? if you have
Sorry @enigmablue - didn't see this. I'm still having problems with it. It just only seems to affect release builds on my simulator, so have just been building on device until now.
you have a metro-cache directory under the tmp directory of your operating system.
Remove this metro-cache file and rebuid.
I tried this:
rm -rf $TMPDIR/metro-*
And rebuilt and it didn't seem to fix anything.
Has anyone else managed to work this out?
When I try and create a release build using
react-native run-android --variant=release
, the app builds successfully, but then when I open it on the simulator I get:Library version 1.1.14, RN version 0.61.5 The Android gradle dependency tells me I'm using this version
com.mixpanel.android:mixpanel-android:5.6.8@aar
I've tested this on someone else's machine too and the same issue.