Open weeks6 opened 3 years ago
I'm trying to pass extra actions as specified in README.md My OS is Win10
setting up the variable: set MY_EXTRA_ACTIONS="<action android:name=android.intent.action.SEND_MULTIPLE />"
set MY_EXTRA_ACTIONS="<action android:name=android.intent.action.SEND_MULTIPLE />"
installing the plugin
cordova plugin add cc.fovea.cordova.openwith \ --variable ANDROID_MIME_TYPE="image/*" \ --variable IOS_URL_SCHEME=myscheme \ --variable IOS_UNIFORM_TYPE_IDENTIFIER=public.image \ --variable ANDROID_EXTRA_ACTIONS=%MY_EXTRA_ACTIONS%
"cc.fovea.cordova.openwith": { "ANDROID_MIME_TYPE": "image/*", "IOS_URL_SCHEME": "myscheme", "IOS_UNIFORM_TYPE_IDENTIFIER": "public.image", "ANDROID_EXTRA_ACTIONS": "<action android:name=android.intent.action.SEND_MULTIPLE />" }
`
<action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" />
As you can see, I don't get the extra action as I want to And also kind of related issue: Is there a way to pass multiple MIME Types to the plugin on the installation?
@weeks6 did you find a way to pass multiple mime types?
Exactly the same steps I set and same result I got with android.intent.action.VIEW Obviously still unsolved in 2023. Did you find a solution?
I'm trying to pass extra actions as specified in README.md My OS is Win10
setting up the variable:
set MY_EXTRA_ACTIONS="<action android:name=android.intent.action.SEND_MULTIPLE />"
installing the plugin
cordova plugin add cc.fovea.cordova.openwith \ --variable ANDROID_MIME_TYPE="image/*" \ --variable IOS_URL_SCHEME=myscheme \ --variable IOS_UNIFORM_TYPE_IDENTIFIER=public.image \ --variable ANDROID_EXTRA_ACTIONS=%MY_EXTRA_ACTIONS%
"cc.fovea.cordova.openwith": { "ANDROID_MIME_TYPE": "image/*", "IOS_URL_SCHEME": "myscheme", "IOS_UNIFORM_TYPE_IDENTIFIER": "public.image", "ANDROID_EXTRA_ACTIONS": "<action android:name=android.intent.action.SEND_MULTIPLE />" }
`
`
As you can see, I don't get the extra action as I want to And also kind of related issue: Is there a way to pass multiple MIME Types to the plugin on the installation?