file_picker_writable icon indicating copy to clipboard operation
file_picker_writable copied to clipboard

Incompatible with other intent handling plugins

Open jonjomckay opened this issue 4 years ago • 0 comments

I'm trying to use this library (v2.0.0) on Android along with flutter_local_notifications (5.0.0+4), and the latter's onSelectNotification is never being called due to this library saying it can handle all incoming intents.

I've looked into the code, and it looks like this is expected behaviour, but it's not always desirable. Can it be made configurable somehow?

Right now, I'm able to bypass the issue by uncommenting this code, which makes the plugin only handle a few specific content schemes: https://github.com/hpoul/file_picker_writable/blob/f48dd271ae0b39468051f22a4ffeb2406762b661/android/src/main/kotlin/codeux/design/filepicker/file_picker_writable/FilePickerWritableImpl.kt#L325-L328

jonjomckay avatar May 12 '21 15:05 jonjomckay