Skip to content

IOS-Crash: After Using function #20

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

Open
karvulf opened this issue Mar 6, 2019 · 2 comments
Open

IOS-Crash: After Using function #20

karvulf opened this issue Mar 6, 2019 · 2 comments

Comments

@karvulf
Copy link

karvulf commented Mar 6, 2019

I got a Problem on my iPhone X - Simulator.
I implemented all the things and my project also knows the import of react-native-firebase-mlkit.
But after I want to use the function, the app crashes and I dont get the Error. I use the same function like in the example. The difference is that im using react-native-image-picker to get the uri of my image.

"dependencies": {
"react": "16.6.3",
"react-native": "0.58.6",
"react-native-firebase-mlkit": "^0.6.2",
"react-native-image-picker": "^0.28.0"
},

@VikasReactNative
Copy link

await RNMlKit.deviceTextRecognition(this.state.image) it crash at this point of time, in ios and android is working fine.

@VikasReactNative
Copy link

to use this library you need to setup firebase in AppDelegate.m

1.add #import <Firebase.h>
2.- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[FIRApp configure];
return YES;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants