Open amalshyjo opened 1 year ago
Are you using a custom group?
Are you using a custom group?
No, i haven't used custom group i also used the following package - https://pub.dev/packages/receive_sharing_intent the result are the same
@amalshyjo Sorry, I tested different ways and can't replicate it. I hope you can fix it.
Hi @amalshyjo, having the same problem, are you maybe using different Bundle Identifier for every environment?
Have you added the group in your develop account settings? It needs to be enabled for the bundle. Also the share _intent needs a bundle name with an extension id of some sort:
sorry for the late reply, @ShaggyGettu no its a single bundle identifier for every environment @gekosurf i didn't full get what i should could you explain it more, as i do not have much idea about IOS development
<key>AppGroupId</key>
<string>group.myGroupId</string>
I had same problem. And I fix this by add top code to both Runner and ShareExtension Info.plist
<key>AppGroupId</key> <string>group.myGroupId</string>
I had same problem. And I fix this by add top code to both Runner and ShareExtension Info.plist
oh so create group id and connect to the app right, wait is this a custom group id @mny459
<key>AppGroupId</key> <string>group.myGroupId</string>
I had same problem. And I fix this by add top code to both Runner and ShareExtension Info.plist
oh so create group id and connect to the app right, wait is this a custom group id @mny459
I am not sure which is custom or default group id. I am not a iOS developer. But I could tell you is I just replase <string>$(CUSTOM_GROUP_ID)</string>
to my real group id, then everything works.
@ShaggyGettu I'm using a bundle identifier for each environment, any clue?
<key>AppGroupId</key> <string>group.myGroupId</string>
I had same problem. And I fix this by add top code to both Runner and ShareExtension Info.plist
oh so create group id and connect to the app right, wait is this a custom group id @mny459
I am not sure which is custom or default group id. I am not a iOS developer. But I could tell you is I just replase
<string>$(CUSTOM_GROUP_ID)</string>
to my real group id, then everything works.
hey, tried and its still the same result, so the there is a zoom out animation and then then nothing there is not popup or anything.
Are you using a custom group?
Currently trying to do using custom group id to check if that would work.
@amalshyjo did it work?
Not for me, I have a custom group.
nothing work for me for both custom and default group
hi! i have the same issue when the app is killed, i share the content and the splash screen flash and closed. Could anyone fix it?
Edit: I'm testing on physical device
I had the same problem on the simulater, but on a device it works.
Edit: could also be related to the iOS version (of the simulator?). I see @amalshyjo is using 16.2 in his sim, I was using the same.
I had the same problem. I discovered that the Minimum Deployments for the ShareExtension was set to iOS 17.0. After I reduced it to iOS 14.0, it worked.
In Xcode: Targets -> ShareExtension -> General -> Minimum Deployments -> iOS 14.0.
I hope it helps.
I had the same problem. I discovered that the Minimum Deployments for the ShareExtension was set to iOS 17.0. After I reduced it to iOS 14.0, it worked.
In Xcode: Targets -> ShareExtension -> General -> Minimum Deployments -> iOS 14.0.
I hope it helps.
Cool, this works for me on a real device but not on a simulator.
<key>AppGroupId</key> <string>group.myGroupId</string>
我有同样的问题。我通过向 Runner 和 ShareExtension Info.plist 添加顶级代码来解决此问题
Thanks, although I am not a custom group, this method helped me solve the problem
So the app is showing in the share sheet but on clicking it does not lead to the app this is working perfectly on android. This behaviour is same for text and image. i am not a IOS developer
https://github.com/ShoutSocial/share_handler/assets/56060390/478da718-07f2-4e91-bcb1-05670d1b939e
My code i have followed the readme info.plist
Pubspec.yaml
share_handler: ^0.0.17
ShareExtension.entitlements
Podfile
ShareExtension > Info.plist
ShareViewController class ShareViewController: ShareHandlerIosViewController {}