Closed arshad-dqot closed 1 year ago
final result = await OpenFile.open( filePath, ); print("type" + result.type.toString() + "message" + result.message.toString());
Before this I was using open_file which working good enough but have permission of REQUEST_INSTALL_ALL_PACKAGE.
Console:- I/flutter (14421): typeResultType.donemessagedone
I/flutter (14421): typeResultType.donemessagedone
The issues has been fixed by version 3.4.0. However, to open the APK file, you need to add <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/> to your AndroidManifest.xml file.
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
AndroidManifest.xml
final result = await OpenFile.open( filePath, ); print("type" + result.type.toString() + "message" + result.message.toString());
Before this I was using open_file which working good enough but have permission of REQUEST_INSTALL_ALL_PACKAGE.
Console:-
I/flutter (14421): typeResultType.donemessagedone