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

Add handling for chrome intents #85

Merged
merged 21 commits into from
Sep 4, 2019

Conversation

dyihoon90
Copy link

Summary:

Add function to handle chrome intent links, following the scheme in: Android Intents with Chrome

Context for this pull request:

We encountered a link in our react-native-webview that was opening an Android chrome intent with the "intent:" scheme.

We tried openAppWithData but realized Uri.parse only handles the "http:" scheme, so we created another method to handle intent scheme using openChromeIntent(dataUri: string, Intent.URI_INTENT_SCHEME).

More info on Intent.URI_INTENT_SCHEME.

Others:

Also added an initial index.d.ts for Typescript typing, but I didn't add much typings to the other functions.

Thanks!

@lucasferreira
Copy link
Owner

Hi @dyihoon90

Sorry for this huge delay, your contrib seems very good.

Thanks for all ;)

@lucasferreira lucasferreira merged commit e13d7c1 into lucasferreira:master Sep 4, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants