-
Notifications
You must be signed in to change notification settings - Fork 224
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
React native tracker probably shouldn't have been published yet #1409
Comments
Hi @pfulop, thanks for reporting this. The I have just tried to create a new Expo app and install the tracker and use it, but I don't see the same error as you stated. Could you try running pod install whether that resolves the issue under iOS? Do you see the same on Android? |
Interesting, I do see it as a dependency in the expo project. But looking at our Could you maybe see if the |
Hello folks 👋🏽 As far as I can see, consumers of |
After having reasoned a bit on it, I have an absurd idea. What if the React Native tracker accepts a storage interface in |
Thanks for the suggestions @valeriobelli! Have moved the storage question into a separate task. For this issue I moved the |
Thanks for the answer, @matus-tomlein. This is super. 🚀 I might be mistaken, but as far as I can see, I think a similar topic that applies to Async Storage can be applied to For example, in our codebase, we are already using react-native-quick-crypto for polyfilling |
Describe the bug
Seems like there's a
4.3.1
version of@snowplow/react-native-tracker
published on npm. This is still pointing to the old documentation but what's worse it doesn't seem to be functional. While this version should be JS only, it seems to depended on some native package that causes error:Inspecting this it seems to be due to
react-native-get-random-values
. I think what's happening here is that the native dependencies of this package are not installed (at least not with expo, but I doubt it works with pure rn project), due to this being just a js library now. I assume this will be listed as a dependencies that consumers need to install on their own, but for now, it's hard to understand what's going on.To Reproduce
Install
@snowplow/react-native-tracker
Expected behavior
React native tracker should work.
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: