Closed NewBieBR closed 5 years ago
@NewBieBR thank your mentioned. i will add this props to default props, but also you can add it directly from webview props like this:
<InstagramLogin
ref= {ref => this.instagramLogin= ref}
clientId='xxxxxxxxxx'
redirectUrl='yourRedirectUrl'
scopes={['public_content', 'follower_list']}
onLoginSuccess={(token) => this.setState({ token })}
onLoginFailure={(data) => console.log(data)}
useWebKit={true}
/>
react-native-webview maintainer here 👋 , you need to update the webview to 7.0.1+ to fix this. And the useWebkit has been removed since UIWebView doesn't exist anymore :)
Hi,
I got this message from Apple
And the issue might come from react-native-webview you're using: https://github.com/react-native-community/react-native-webview/issues/819
There might be a fix using
useWebKit={true}
, it's mentioned in that issue.