react-native-compressor
react-native-compressor copied to clipboard
Cannot Run in Expo Go
Current behavior
When trying to run the library in Expo Go for development it fails and claims to not be linked:
- You have run 'pod install'
- You rebuilt the app after installing the package
- You are not using Expo Go
, js engine: hermes
Expected behavior
Expected that I can include the library and still use Expo Go for development
Platform
- [X] Android
- [X] iOS
React Native Version
"react-native": "0.72.6",
React Native Compressor Version
"react-native-compressor": "^1.8.23",
Reproducible Steps And Demo
- Create an expo app
- Add the react-native-compressor library
- Run
npx expo prebuild - Try running
npx expo start
👋 @noctivityinc Thanks for opening your issue here! If you find this package useful hit the star🌟!
One other thing, here is the relevant part of my app.json
"plugins": [
[
"./plugins/withAndroidShareExtension/index",
{
"androidIntentFilters": ["text/*", "image/*", "video/*"]
}
],
[
"expo-camera",
{
"cameraPermission": "The app allows you to take pictures so you add them to your boards."
}
],
[
"expo-image-picker",
{
"photosPermission": "The app accesses your photos to let you add them to your boards.",
"cameraPermission": "The app allows you to take pictures so you add them to your boards."
}
],
[
"expo-config-plugin-ios-share-extension",
{
"activationRules": {
"NSExtensionActivationSupportsText": true,
"NSExtensionActivationSupportsWebURLWithMaxCount": 1,
"NSExtensionActivationSupportsWebPageWithMaxCount": 1,
"NSExtensionActivationSupportsImageWithMaxCount": 1,
"NSExtensionActivationSupportsMovieWithMaxCount": 1
}
}
],
["react-native-compressor"]
],
@numandev1 any thoughts or updates on this? I have to develop from my phone as I cant start Expo Go with this library
Same here. Once I installed this library, it fuck3d the whole app when using Expo Go.
@noctivityinc @eusouoviana We don't support expo go, if you want to use this library for the expo, you need to use expo prebuild where you cannot run app inside expo go
This library use native scripts. So expo needs to create the native ios and android directories. use the command "npm run android" (or run ios) instead of "expo start". Please close this issue