Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify which twitter callback url #34

Open
BiskremMuhammad opened this issue Jul 28, 2020 · 1 comment
Open

Specify which twitter callback url #34

BiskremMuhammad opened this issue Jul 28, 2020 · 1 comment

Comments

@BiskremMuhammad
Copy link

i can't find a module to specify which twitter callback url to use.
as of my case i have another callback url in my twitter app dashboard to handle login in the browser.

@UdaySubbisetty
Copy link

@BiskremMuhammad ,
i have resolved this issue like below.
in react-native-simple-twitter ->Components -> Modal.tsx add webView like below.

<WebView
originWhitelist={['*']}
startInLoadingState={true}
javaScriptEnabledAndroid={true}
javaScriptEnabled={true}
source={{ uri: props.authURL }}
onNavigationStateChange={props.onWebViewStateChanged}
/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants