cordova-plugin-openwith icon indicating copy to clipboard operation
cordova-plugin-openwith copied to clipboard

Android 8 or 9 : with most apps, the items array is empty

Open ghost opened this issue 6 years ago • 4 comments

I can't understand why most of the time, the items array is empty when I share content. Don't know how to investiguate

Object action: "SEND" exit: false items: Array(1) 0: null length: 1__proto__: Array(0)proto: Object

ghost avatar Mar 27 '19 00:03 ghost

@SimplyLab The plugin doesn't seem to support the text datatype on Android. If this is also the problem in your case, you can have a look at my fork with a fix: https://github.com/JochenHeizmann/cordova-plugin-openwith/commit/331e244a048c8aead1f58cc2e7e836893b0ddc55

(I haven't issued a pull request yet)

JochenHeizmann avatar Apr 01 '19 09:04 JochenHeizmann

Yeah there seems to be problem with text content on Android (at least). The intent items are null. Have you tested your fixes @JochenHeizmann, could it be opened as PR?

niklas-e avatar Apr 23 '19 15:04 niklas-e

I confirm this problem . Still exist. @JochenHeizmann 's solution fix this , confirm .

jj449 avatar Feb 05 '20 02:02 jj449

@JochenHeizmann the real mvp

manix avatar Mar 12 '22 20:03 manix