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

open PDF using system default app or internal browser #20748

Closed
arul-prasad opened this issue Aug 20, 2018 · 1 comment
Closed

open PDF using system default app or internal browser #20748

arul-prasad opened this issue Aug 20, 2018 · 1 comment
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@arul-prasad
Copy link

I am looking for opening pdf from my react-native application using the internal browser or system default app. for example in android native we will code like below

val intent = Intent(Intent.ACTION_VIEW) intent.setDataAndType(FileProvider.getUriForFile(this, applicationContext.packageName + ".provider", file), "application/pdf") startActivity(intent)

how to achieve this in react-native ?

Note: already found that webview doesn't support with react-native with android, it is new feature request.

Is there any other way to achieve this?

@arul-prasad arul-prasad changed the title Help to open PDF using system default app open PDF using system default app or internal browser Aug 20, 2018
@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. 📋No Template labels Aug 20, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Aug 20, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants