crazecoder / open_file

A plug-in that can call native APP to open files with string result in flutter, support iOS(UTI) / android(intent) / PC(ffi) / web(dart:html)
BSD 3-Clause "New" or "Revised" License
247 stars 429 forks source link

Third-Party Apps Not Opening to Show Downloaded Files on iOS. #286

Closed moin-nimblechapps closed 1 week ago

moin-nimblechapps commented 1 month ago

This package successfully opens third-party apps to display downloaded files on Android. However, it does not work as expected on iOS. On iOS, it directly opens the downloaded file in the application rather than presenting a choice of third-party apps to open the file.

dhirenapplore commented 1 month ago

i am getting issue in of What went wrong: Execution failed for task ':app:processDebugMainManifest'.

com.android.manifmerger.ManifestMerger2$MergeFailureException: Error parsing C:\ships_app\android\app\src\main\AndroidManifest.xml

crazecoder commented 2 weeks ago

This is because ios currently uses DocumentInteraction

crazecoder commented 1 week ago

try this on 3.5.3

OpenFile.open("/sdcard/example.txt", isIOSAppOpen: true);