-
Notifications
You must be signed in to change notification settings - Fork 100
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
Support expo-modules #57
Conversation
+1 |
This is awesome it works! Thanks for it! For those on Expo that want to use this before it gets merged to master you can install it like this:
Of course remember to install the peer deps:
|
Npm resolutions is the easy way. Just lock expo-haptics expo-blur to the correct version. |
Not npm resolutions, but yarn. There are packages that aim to bring support for npm though. @enesozturk is there any chance you could just fix the peerDependencies and release a new version to get rid of this? |
Hi @sonnysantino, this is very helpful! Thanks, I will merge and release a new version soon. |
@sonnysantino one thing I am not sure, in the getting started page you added |
@enesozturk No, don't need to install |
I would make a major version bump and release the old version under a Tag to support < SDK 44 |
That is great, thanks for the information guys. |
As pointed on #53 since expo sdk 43 the
react-native-unimodules
is deprecated in favor ofexpo-modules
, but this package installs the version 9.x ofexpo-blur
&expo-haptics
that uses unimodules.This can be fixed by moving the dependecies to peers so it will rely on the ones that the main project has installed, avoiding any conflict and making it compatible with any expo sdk version.
Solves #53