thegrizzlylabs / geniusscan-sdk-demo

Demo apps for Genius Scan SDK
30 stars 38 forks source link

License key is not working in ios and getting this error. #58

Closed HarshilVaghasiya closed 1 year ago

HarshilVaghasiya commented 1 year ago

Screenshot 2022-11-02 at 6 21 54 PM

HarshilVaghasiya commented 1 year ago

I'm using this library in react-native. In IOS I am getting this error while setting the license with the key. In android with react-native, it is working well.

guillaume-tgl commented 1 year ago

Have you run pod install from the iOS folder?

HarshilVaghasiya commented 1 year ago

Yes, I installed it. But get the same error.

guillaume-tgl commented 1 year ago

Have you tried our React Native demo app to see if you can reproduce your issue?

aliza-khu commented 1 year ago

Hey! I also faced this same issue when I update the project from react native 0.66.5 to 0.70.5. From Android, it's working fine but on iOS, it crashes for the same reason.

Below is the old project configuration:

"react": "17.0.2", "react-native": "0.66.5", "@thegrizzlylabs/react-native-genius-scan": "^4.5.0",

Below is the latest project configuration:

"react": "18.1.0", "react-native": "0.70.5", "@thegrizzlylabs/react-native-genius-scan": "^4.5.0"

HERMES: ON, NEW ARCHITECTURE(Turbo Modules & Fabric): OFF

I also try to update the "@thegrizzlylabs/react-native-genius-scan" but it won't work. I also refer to the deme app of the same library and found that it's using the below config:

"@thegrizzlylabs/react-native-genius-scan": "^4.7.1", "react": "17.0.2", "react-native": "0.66.0",

Can you please share the assumption data for this issue to be fixed with the new version of the @thegrizzlylabs/react-native-genius-scan library? Or Anyone has a solution for this issue using a patch file or something like that? I found this is the only reason I won't able to use the react native latest version.

TrevorMCS commented 1 year ago

Running into issues as well after upgrading RN from 0.68.0 => 0.70.5

"@thegrizzlylabs/react-native-genius-scan": "^4.7.1", "react": "18.2.0", "react-native": "0.70.5",

guillaume-tgl commented 1 year ago

This should be fixed by v4.7.2 of our SDK. Let us know if it works.