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
1.1.0 not working (at least for me) in Expo #43
Comments
|
@darrylyoung Thanks for opening up an issue! I believe the error is caused by the rename of module happened in #33. For now, could you import the I'll look into Expo to see if I can make the addition of this package to Expo. |
|
Hi, @Naturalclar. Sure, I'll just keep using it the way I was doing and check back here at some point to see if anything has changed with regard to getting Expo supporting the change. Thanks for the quick reply. Have a nice day. |
|
@Naturalclar I'm having the same exact issue in my project, which is not depending on Expo. I think the issue is due to the fact that the library needs to be linked to the project. I tried manually linking it to mine and now the build fails while trying to compile the Thanks for your time on this package by the way! |
|
Ok I managed to get it working for my project, I will add a PR |
|
Ok PR added in #44, @Naturalclar let me know if you have questions! :) |
|
Problem persists in 1.1.1. |
|
@evanheckert could you tell me which version of react-native you are using? |
|
I’m using Expo, so I’m on their latest fork. @Naturalclar. |
|
@evanheckert from my understanding expo is not yet using this package for the segmented control component, but is still using the react native one, so the issue has to be fixed on expo. Since @Naturalclar decided to rename the native module from |
|
@nacho-carnicero That makes sense! Thank you for taking the time to describe why :) |
|
@evanheckert Sorry for the late response! Mean while, you're still able to import |
|
Thanks, everyone. I'll close this as I now know this isn't supported in Expo. Their documentation wasn't particularly clear on this but somebody fixed that (thanks!). |
Bug
I just upgraded to
1.1.0and I'm now seeing the following. Note that I'm using Expo SDK36.0.0. I've only recently started using this package so I'm not sure exactly what's happened but it was working before the upgrade and the Expo documentation still points to here for Segmented Control.Environment info
Steps To Reproduce
Describe what you expected to happen:
textColorandbackgroundColorpropsReproducible sample code
Thanks for your work on this awesome package, by the way. 👍
The text was updated successfully, but these errors were encountered: