RNCSegmentedControl was not found ?!
mertct11 opened this issue · comments
greetings to everyone,
I'm working on a project. The project uses react native with expo and uses the segmented control component of the community.
The problem is that I do not encounter any problems when I compile with expo application on my android device, but when I compile with my ios device from expo application, I encounter the following screenshot. I compared the js files (import SegmentedControl from '../../js';) that you imported in your sample code in github one by one and imported the innovations into my own module. however, the error has not changed. I wonder where am I missing? can you help me?
android :
anyone else?
I have the same problem, any ideas?
Same happening to me, only in iOs (using EXPO sdk 37)
@mertct11 which Expo SDK version are you using?
EDIT: "For Expo Users: Expo SDK 38 or later is required for this package."
I should've read docs first 🤦
Same Issue
For expo users, please make sure that you are using expo sdk 38 or above.
For expo users using expo 37 or below, please use the SegmentedControlIOS
component from react-native.
For non-expo users, please make sure you run npx pod-install
after installing this package.
Hi! Are there possibly any additional steps to resolve this when using expo ~45.0.5
& expo start --dev-client
?
I'm using expo 44 but i get this error as well.
if u using EXPO, for example SDK 49 like me you need to use "development" client for this
how ?
edit your "eas.json" file and add something like this to build ( important is only "developmentClient": true,
)
"development": {
"channel": "development",
"developmentClient": true,
"distribution": "internal",
"ios": {
"resourceClass": "m-medium"
}
},
then you need build your own Expo Go client with command npx eas build --profile=development
, wait few mins around 5, then download and install your build on your device
then run npx expo start --dev-client