expo-face-detector is not working on ejected expo project - react-native

I am using ExpoKit 34.
expo sdk version 34
expo-face-detector version ^6.0.1
expo-camera version ^6.0.0
FaceDetector is not working on my ejected project.
It was working well on Expo client.
But as soon as I eject the project in order to use native modules, it stopped working.
platform: iOS
I hope someone’s help.

Related

How to use older version of Expo with the mobile app?

i have a project using expo version 30.0.1 i don't want that to change the app was created using CRNA when i try to run npm start and i choose ios or android the expo mobile app on the simulator always gives me an error saying the experience you requested uses Expo SDK v(null) but this copy of Expo Client requires that at least v34.0.0. the author should upgrade their experience to a newer Expo SDK version now i want to run the app as it is with the older expo version, how can i achieve that?
i tried uninstalling the Expo Client app from the simulator but when it reinstalls it installs the newer Expo client app on the simulator. is there a way to tell Expo to install the Expo client on the simulator based on the current projects Expo version?
iOS: according to the Expo support; it’s not possible to downgrade the expo client app on a device (apple does not let you distribute multiple versions of an app at the same time on the app store), but you can install it on your simulator by running expo client:install:ios in your project directory.
Android: you may download the required version from here and install the APK. There is more info here if needed.

setting up flipper but ios android folders are missing (RN 62.2, Expo 37)

I think I saw in a documentation somewhere that they had merged android and ios folder into one and it's now all in index.js file but maybe I dreamed it because I can't find it. I'm trying to setup flipper on my RN project and it's on v62.2 & expo v37 but they are no android or ios folder which is why I am so confused. My project is fully running both on ios and android.
How could I setup flipper if these folders are gone?
Didn't expo or RN merge the android & ios folder into the index.js?
If they are merged then how can I setup flipper?
Edit: So are they any alternative to flipper for layout debugging?
Flipper requires you to update for iOS: the podfile and the AppDelegate, for Android: the build.gradle and the MainApplication.
This is manipulating native code. Expo does not allow you to manipulate native code as it is abstracted away from you. To see what the differences between Expo and a "pure" react-native project I suggest reading the answers to this SO question as it should clear up some of your misconceptions.
As Flipper has just been released it is unlikely that these native modifications will be in the current Expo SDK. The Expo 37 SDK uses React Native 0.61 internally which means as this is a feature of react-native 0.62.0 it will not be available in 0.61.0.
To get Flipper working in a current Expo project you would either have to eject and then follow the instructions on the Flipper website for setting it up, or wait for Flipper to be added to the Expo SDK (which could be expedited by adding a feature request.

Expo: Ejecting to a bare project is only available for SDK 34 and higher

I have a Expo project that I have to eject, due to some native libraries that I must implement. But when i run Expo eject and chose Bare: I'd like a bare React Native project, the console pops up this error:
Ejecting to a bare project is only available for SDK 34 and higher
By searching a bit I understood that expo sdkVersion 34.0.0 is not available yet right? If not, How can I update to it?
Thank you!
I met the same problem as you, I found a link at Expo forum: https://forums.expo.io/t/expo-ejecting-to-a-bare-project-is-only-available-for-sdk-34-and-higher/25528 suggesting to downgrade expo-cli version with
npm i -g expo-cli#2.21.2
if you want to eject to plain react native.
I did so and it works, they said that SDK 34 will be released soon.

Expo Branch: undefined is not an object (evaluating 'RNBranch.STANDARD EVENT ADD_TO_CART')

I am using expo for my react native application.
Steps:
- run expo start
Hit the error below on android studio emulator.
Working fine on real android device and IOS simulator.
UPDATE:
I have solved the issue. The issue was with my android studio. I open the app using the genymotion emulator and it was working
Unfortunately, Branch does not officially have a wrapper SDK for Expo and the link you referenced is built by a third-party which we cannot help troubleshoot.
Can you try ejecting your build from Expo and use native packages and linking in React Native, by following this: https://docs.branch.io/apps/react-native/#integrate-branch

Can we user razorpay plugin with reactnative and expo

In plugin they mentioned that the razorpay is not going to work with expo. i want to acces razorpay plugin in my react native app. is there any way..? i am using expo. please help me
if the react native library you want requires a linking step, then you can detach and use ExpoKit directly.
https://docs.expo.io/versions/latest/guides/detach.html
EAS builds officially released in Expo SDK 42 makes it possible to run native modules on expo projects.
In order to make sure Razorpay wrapper works correctly:
Create a dev build of your expo app by following the instructions mentioned here.
run your project by running the following command
For ios
expo run:ios
For android
expo run:android