-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
WebIntent bug #564
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to open .apk using webintent plugin on Ionic2 typescript project. I'm using Ionic native.
official webintent docs shows this example:
options takes 3 parameters: action, url and type.
When I try to use it in project it only accepts two: action and url.
If i use it like that it tries to open apk as pdf file and fails. If i add 3rd parameter it says, that it only accepts two parameters (basically).
If I go to node_modules/ionic-native/dist/plugins/webintend.d.ts and change
to
it successfully opens the .apk and tries to install it.
I'm new to ionic, so I might be missing something, but maybe it might help someone else, since I googled, but didn't find any ionic2 "open .apk file" examples.
The text was updated successfully, but these errors were encountered: