Open basvdijk opened 6 months ago
me to 😢 I tested this on an iPhone 14 Pro actual machine
me to 😢 I checked again and again to see what I might have done wrong. Has anyone found a solution?
My biggest concern at the moment is reliability of this feature / package. It has been 2 weeks without reply to this issue. I am holding back to use this package for now. If I use this in production and it breaks, I do not want to risk to have a broken feature for weeks.
I managed to get it to work. While the package publisher could have provided clearer instructions, it's important to understand some key points when adding packages to your application. After trying many forked versions of this package and examining the package codes, I've gained full experience with it. The issue is actually quite simple. Here are the key steps:
Pay attention to the Info.plist files. Insert the required codes correctly. Provide the host and extension IDs in the correct format. After filling in the ShareViewController content, be sure to run pod install in the iOS directory before running the application. Follow the cycle described by the publisher carefully. If you are not using custom IDs, fill them in manually in the Info.plist table. The original package works fine and is more compact than other packages. It also has a supportive community.
I hope this helps others who are facing similar issues.
for me what made it work is adding the custom IDs manually for both Runner and Sharing Extension under Build Settings, what @olerhan suggested above.
Same here. I cloned the example and it doesn't work for iOS either. The app doesn't receive the shared files. Confirmed on iOS 17.5 simulator.
@tamara-jovanoska I solved it the same way (tested on physical iOS 17.5.1). @olerhan and @tamara-jovanoska, your comments could helped clarify instructions from point 6 from the publisher.
I think the issue is not caused by the configuration, but by this:
For me everything still works fine. Everyone just needs to be more careful about using the package. This issue (296 or 294) is not a real issue…
When I run the app from the example folder on https://github.com/KasemJaffer/receive_sharing_intent/tree/master/example on iOS it does not seem to work.
When sharing an image:
I tested this on an iPhone 15 Pro Max emulator running iOS 17.4