By default, Android configuration is included. For iOS, please add the `IOS_URL_SCHEME` and `IOS_GROUP_IDENTIFIER` in the extensible configuration.
Android Configuration:
{ "preferences": { "android": [ { "name": "AndroidLaunchMode", "value": "singleTask" }, { "name": "AndroidXEnabled", "value": "true" } ] }, "plugin": { "url": "https://github.com/missive/cordova-plugin-openwith.git", "variables": [ { "name": "ANDROID_MIME_TYPE", "value": "*/*" } ] }}
iOS Configuration:
{
"plugin": {
"url": "https://github.com/missive/cordova-plugin-openwith.git",
"variables": [
"name": "IOS_URL_SCHEME",
"value": "openwithshare"
},
"name": "IOS_GROUP_IDENTIFIER",
"value": "group.com.yourcompany.yourapp"
}
]
"preferences": {
"ios": [
"name": "deployment-target",
"value": "15.0"
"name": "UseSwiftLanguageVersion",
"value": "5"
Note: Ensure you replace group.com.yourcompany.yourapp with your specific iOS App Group identifier.
Combined Configuration:
{ "plugin": { "url": "https://github.com/missive/cordova-plugin-openwith.git", "variables": [ { "name": "ANDROID_MIME_TYPE", "value": "*/*" }, { "name": "IOS_URL_SCHEME", "value": "openwidthshare" }, { "name": "IOS_GROUP_IDENTIFIER", "value": "group.com.yourcompany.yourapp" } ] }, "preferences": { "android": [ { "name": "AndroidLaunchMode", "value": "singleTask" }, { "name": "AndroidXEnabled", "value": "true" }, { "name": "GradlePluginGoogleServicesEnabled", "value": "true" } ], "ios": [ { "name": "deployment-target", "value": "15.0" }, { "name": "UseSwiftLanguageVersion", "value": "5" } ] }}