Additional field "chooser" in StartActivity and StartActivityForResult forces application selection dialog. It may be useful for ACTION_SEND intent. The string value of the field is used as a chooser dialog title.
Ex: window.plugins.intentShim.startActivity(
{
action: window.plugins.intentShim.ACTION_SEND,
type: 'text/*',
extras: {
"android.intent.extra.TEXT": artworkUrl,
},
chooser: "Select application to share",
}
);
Additional field "chooser" in StartActivity and StartActivityForResult forces application selection dialog. It may be useful for ACTION_SEND intent. The string value of the field is used as a chooser dialog title. Ex: window.plugins.intentShim.startActivity( { action: window.plugins.intentShim.ACTION_SEND, type: 'text/*', extras: { "android.intent.extra.TEXT": artworkUrl, }, chooser: "Select application to share", } );