achorein / expo-share-intent

🚀 Simple share intent in an Expo Native Module
MIT License
128 stars 13 forks source link

shareIntent is "null" in case app was not opened before clicking on "Share" #9

Closed anton950712 closed 4 months ago

anton950712 commented 4 months ago

Describe the bug In case the app is NOT opened and I'm doing sharing, then the app just opening WITHOUT shareIntent info (Sharing just URL).

console.log(hasShareIntent, shareIntent, error)
null {"files": null, "text": null} undefined

Additional context

smak021 commented 4 months ago

Facing the same issue. It only works for me when the app is in the background (Android, Expo SDK 50).

achorein commented 4 months ago

it sounds like a bug in my kotlin implementation, I will make some tests about that.

achorein commented 4 months ago

release 0.2.1 and 1.0.1 resolve the issue