akinncar / ar-nft

👾 A React Native app to visualize your NFTs in AR
MIT License
83 stars 16 forks source link

Update UIWebView to WKWebView on ViroReact #12

Open akinncar opened 2 years ago

akinncar commented 2 years ago

Apple Store is rejecting our app because the library that we are using (Viro React) are using a deprecated API on binaries, so we need to update it:

Apple Message to US

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

Viro React Discussion

https://github.com/viromedia/viro/issues/852

Approaches tips

akinncar commented 2 years ago

Add new row and set a key and value in your info.plist to use WKWebView instead of UIWebView. Key: gad_preferred_webview

Value: wkwebview

https://stackoverflow.com/a/62137910/10142204