Closed icastillejogomez closed 5 years ago
Just to clarify - the app on the device was built with that Info.plist? Can you try rebuilding to make sure that the correct NSFaceIDUsageDescription
key is there?
There should also be a native crash log available in xcode - can you post the relevant bits?
Okay thank you so much @phillbaker for spend your time with me. I'm using react native, not expo, I one of my biggest questions are: ¿How can I rebuild ios? I think I already doing:
When I want to run my React Native app I do the following steps:
rm -fr package-lock.json node_modules/ && npm i && npm start -- --reset-cache
this run metro bundler with empty cache.react-native run-ios --simulator="iPhone XS"
Where exactly is building my ios/android app?
When I run react-native run-ios --simulator="iPhone XS"
is my app rebuilding with the new Info.plist file?
When I open xcode and go to Info.plist I can see the key-value I set before.
What things I have to do to check if all my code is correct?
Can you confirm that FaceID is runnable with your lib in simulator? I think yes...
Really thank @phillbaker
(I'm going to see what happen in xcode terminal when app crash and will post here)
Now I just tried to launch iPhone XS with the same configuration. Everything works perfect... I also tried to launch with react-native cli in debbug mode and non-debbug log and everything works out. What it could be? I do not know what to think. How can I check if Info.plist is working good? How can I rebuild ios app? I know this kind of questions I have to ask in another site but I you can clarify me I'll really thank you! Close!
Al works out in android and ios. (Real devices) But in iPhone XS simulator with FaceID Enrolled and Info.plist not: