ajith-ab / react-native-receive-sharing-intent

A React Native plugin that enables React Native apps to receive sharing photos, videos, text, urls or any other file types from another app
MIT License
304 stars 109 forks source link

Sharing doesn't work on ios - react native 0.64.2 #93

Closed aliberski closed 2 years ago

aliberski commented 3 years ago

After upgrading to the latest react native the share functionality stopped working on iOS. The error message from getReceivedFiles method says:

"file type is Invalid"

I tried with many file types (.heic, .jpg, etc.), but the error is the same.

IbrahimCanKALYA commented 3 years ago

same issue

luigbren commented 2 years ago

hello, I spent many hours trying to make it work on iOS and nothing, until I got it to work, I read that it was a problem with the group.name, simply I opened the file "ShareViewController.swift", search and replace all values that said "group.\(this.hostAppBundleIdentifier)" and I set them manual "group.com.myappidname" and that solved the problem and no longer gives more error [Error: file type is Invalid] iOS

professorkolik commented 2 years ago

For us with @aliberski the issue was missing App Group in our Target project, after specifying it all is working again