j3k0 / cordova-plugin-openwith

Get your Cordova App in the O.S. "Share" menu on iOS and Android
MIT License
138 stars 114 forks source link

textContent is not got from ShareViewController #35

Open penguinhardt opened 6 years ago

penguinhardt commented 6 years ago

Hi, I have implemented this plugin for iOS. When using it on emulator with data of message and image, the console shows below message.

[OpenWithPlugin.m][checkForFileToShare] Data content is invalid

In my understanding, sending dict.text is removed from ShareViewController at v.1.2.0. But, receiving dict.text is checked for type of string on OpenWithPlugin. Is it better to be sending dict.text ?

Please let me know a solution. Thanks

penguinhardt commented 6 years ago

I have created pull request of #37. Could you please review it.

penguinhardt commented 5 years ago

@j3k0 Thank you for merging and sorry for late reply. My pull request have already merged, so I want to get newer version from updated master through with npm. Could you please publish newer master?