shareApk method
Copies then shares the APK.
Implementation
@override
Future<List<String>> shareApk({
String? fileName,
String? chooserTitle,
String? text,
String? subject,
String? packageName,
}) async {
final paths = await methodChannel.invokeListMethod<String>('shareApk', {
'fileName': fileName,
'chooserTitle': chooserTitle,
'text': text,
'subject': subject,
'packageName': packageName,
});
return paths ?? const [];
}