-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sharing photo to app in iOS with capacitor v4 #66
Comments
I did not experience this behavior so far and I don't see that anything is wrong with your configuration. In Xcode, have you tried running the plugin directly and not your app? This might give better logging output as the share plugin is a little extra app. |
@j-d-carmichael I had a similar issue to this previously and after some debugging noticed that I did not the have the App Group entitlement set correctly. You need to add this in the |
can i get example code base my app listed in share screen but when i try to click on share button nothing happend dont know why
|
Thanks, @wescarr, you saved me, adding the App Group to the |
Hey guys, I recently added an example project for Android and iOS (/Example/SendIntentExample). Maybe this is of help for you. |
I just built an app in capacitor v4 - sharing links, web-urls and photos works flawlessly in Android.
In iOS text and web-urls work fine, but sharing a photo I cannot get to work in v4.
Setup:
The shareintent plugin info.plist has been updated to:
The result
Sharing links and text to the ios app works perfectly.
Sharing a photo (not a even a live photo) does not work.
The capacitor app does not load, instead the photos app being share from sort of animates up about 4mm on the screen, then sort of "gives up". In xcode there are no error messages that are consistent... but sometimes (I think it is related) I get this error in xcode:
"2022-12-16 10:06:29.618067+0000 App[15668:493451] [Snapshotting] Snapshotting a view (0x10a00d600, UIKeyboardImpl) that has not been rendered at least once requires afterScreenUpdates:YES."
The text was updated successfully, but these errors were encountered: