Questions tagged [react-native-unimodules]

20 questions
2
votes
0 answers

Confusion on the deprecation of React Native Unimodules

On their documentation: https://docs.expo.dev/bare/installing-unimodules/ This library is deprecated! As of Expo SDK 43, react-native-unimodules is deprecated in favor of the expo package. Please refer to the Installing Expo modules…
2
votes
1 answer

Error running pod install: `UMFileSystemInterface` depended upon by `EXAV`

I am developing mobile app for Android and ios using React Native. I developed app on Windows machine and run it successfully. I have a lot of modules and everything works well on Android. Now, I am trying to install all modules on macOS. I run npm…
2
votes
0 answers

Naitve module NativeUnimoduleProxy tried to overide NativeModulesProxy. Check the getPackages() method in MainAppication.java (in React Native)

I have checked my MainAppication.java file for duplicate import or in getPackeges() but I couldn't find any. I have tried rebuilding my app after deleting node_modules and npm install but couldn't solve this issue. I have tried deleting debug app…
Harsh Mishra
  • 862
  • 3
  • 15
  • 29
1
vote
2 answers

Android app not running anymore after performing Expo Eject "error: package does not exist" and "error: cannot find symbol"

CONTEXT This is the first React Native app I have made and we started with Expo not knowing which functionalities we were going to use. Turns out we had to do some platform-specific configuration, so we had to eject Expo. Ever since we have not been…
1
vote
1 answer

Unable to find a specification for `UMConstantsInterface` depended upon by `EXLocalAuthentication`

I'm trying to update my react native version to 0.66.4. I tried to follow the helper tool (https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.66.4) but it didn't worked. This is my package.json: "react":…
1
vote
4 answers

ERORR after upgrading to Expo SDK 43 - Unable to resolve module @unimodules/core

After I upgraded from Expo SDK 40 to SDK 43 and did npm start I got this error "Unable to resolve module @unimodules/core". I then checked my package.json and I didn't have this package installed. Any help will be greatly appreciated. Full Error…
1
vote
1 answer

Facing error in AppDelegate.h file – Expo/Expo.h’ file not found

I am trying to migrate form react-native-unimodules to expo modules. I followed this documentation and everything is fine in Android, But in iOS getting mentioned error in AppDelegate.h. This is how my AppDelegate.h looks like this, In…
ThinkAndCode
  • 1,319
  • 3
  • 29
  • 60
1
vote
0 answers

React Native Upgrade to 0.66 - Issue with UMReactNativeAdapter - UMModuleRegistry

I'm trying to upgrade my React Native App from 0.63.3 to 0.66.4 following this guideline https://react-native-community.github.io/upgrade-helper/?from=0.63.3&to=0.66.4 for upgrade. I stumble upon this issue during building process on iOS I believe…
Louis Lecocq
  • 1,764
  • 3
  • 17
  • 38
1
vote
1 answer

Error setting up react-native-unimodules: Invalid `Podfile` file: cannot load such file

I'm following the expo docs to install react-native-unimodules in a plain react-native app. However the changes to my Podfile appear to break things when running pod install. Here's the change that seems to be responsible. The first two lines of the…
Daniel Loiterton
  • 5,073
  • 5
  • 33
  • 46
1
vote
0 answers

Expo-constants causing EPERM: operation not permitted lstat

I've been trying to run my RN app using react-native run-android but it keep crashing before it loads with this error message below: events.js:292 throw er; // Unhandled 'error' event Error: EPERM: operation not permitted,…
1
vote
1 answer

React Native Android Build Failure - A problem occurred configuring project ':expo-image-loader'.java.lang.IllegalArgumentException (no error message)

I have a React Native Ejected app that builds fine for iOS but fails during the build process on the module expo-image-loader. I am doing a yarn android command and it fails with the following output: Deprecated Gradle features were used in this…
1
vote
1 answer

React-native package Release error while ./gradlew assembleRelease

Task :app:packageRelease FAILED FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:packageRelease'. A failure occurred while executing…
sahil555
  • 152
  • 2
  • 11
1
vote
0 answers

Cannot get react-native-unimodules working on iOS

I'm running a bare RN project and I want to use expo-local-authentication, so I had to install react-native-unimodules. I got it working on Android, but I cannot get it to work on iOS. When I try to console.log(Constants) I'm getting an object where…
1
vote
2 answers

Multiple files for cameraview while build app for android react native

I am using react-native-camera and expo-camera in my project. Along with this I am using few firebase features as well. App is working fine for iOS but not for Android. After removing firebase classes, I am able to run the app properly in simulator.…
1
vote
0 answers

why npm-audit fails for react-native-unimodule

I am trying to run npm audit on my react-native project which originally was an expo project and ejected to bare workflow. When I run npm audit, I get npm ERR! code ELOCKVERIFY npm ERR! Errors were found in your package-lock.json, run npm install …
Kamrul
  • 7,175
  • 3
  • 31
  • 31
1
2