shareUrl method
it will opened android share dialog.
await callIntent(
intentType: AndroidIntentData.ACTION_SEND,
extras: {AndroidIntentData.EXTRA_TEXT: url},
mimeType: mimeType ?? "text/plain", // important
);
Implementation
Future<void> shareUrl({required String url, String? mimeType}) async {
await callIntent(
intentType: AndroidIntentData.ACTION_SEND,
extras: {AndroidIntentData.EXTRA_TEXT: url},
mimeType: mimeType ?? "text/plain", // important
);
}