Skip to content

IOS-Crash: After Using function #20

Open

Description

@karvulf

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"
},

Activity

  1. VikasReactNative commented on Feb 16, 2022

    @VikasReactNative

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

  2. VikasReactNative commented on Feb 17, 2022

    @VikasReactNative

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions