-
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
Web intent: passing extras #1959
Comments
Hi, var pidOption = " <PidOptions ver="1.0"> <Opts fCount="1" fType="0" iCount="0" pCount="0" format="0" pidVer="2.0" timeout="10000" posh="UNKNOWN" env="P" /> <Param name="mantrakey" value="" /> "; |
Closed
5 years later and we got no answers... 😢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a ...
[x] bug report
[ ] feature request
Current behavior:
The
Web Intent
package doesn't allow extras.Expected behavior:
Passing extra parameters to
startActivity
method.Other information:
My goal is to create a "native share", like the example from the Android documentation:
As we can see, there's an action, an extra (EXTRA_TEXT) and a type. This can be achieved from the cordova plugin with something like this (from the README of the repo):
Now, looking at the declaration of the
startActivity
method from ionic native package we can see that the url is required (why?) and there's no way to define extras.The only method which has an
extras
field issendBroadcast
, but I think it's a little weird:option: boolean
? What? And all the "convenience constants" likeACTION_SEND
andEXTRA_TEXT
are declareted but not filled (but maybe they are somewhere else).I know it's marked as "Beta", but I think it hasn't the basic functionalities. Should I use the cordova plugin "without" the ionic native part?
The text was updated successfully, but these errors were encountered: