-
Notifications
You must be signed in to change notification settings - Fork 41
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
UNHANDLED_REJECTION #15
Comments
Hmm looks like I need to setup a fallback url. Would be nice to see this in the readme. https://stackoverflow.com/questions/50937353/cloudkit-ckshare-url-goes-nowhere |
So the solution is to have a server and web domain to redirect the request? |
I haven’t got back to this yet, but it does sound unusual. However, I was thinking that some JavaScript on a GitHub pages site might work 🤷♂️ |
yeah, Github page might work, but still it's not the way should be. I found that when sharing with message, when the share link appears as a cloud button meaning system will take over and redirect to your app, but when you receive a usual link, system will pop up a web view, in which way error shows up. |
I've you try this tutorial, there's a download 'final' with all the code, there's also some cloud kit set... https://www.raywenderlich.com/29934862-sharing-core-data-with-cloudkit-in-swiftui Let me know how you get on. |
I found a way to bypass this issue. |
Are you saying, this is a user training issue? Also you can still copy the link in share options. I wonder if this will occur in a live app, what do you think ? Edit: I deleted my last reply, I think I see what you mean now. |
Good question, I never success in other app except Message, I don't think it will work. |
Ok, I’ve published the Ray Wenderlich example code to the App Store. I started writing a post here saying this isn’t a problem, I could always get a share with icon and couldn’t see a plain link. However, once I had shared the link and opened it on someone else’s device, it fails to establish the share in that instance of the app. It does show in the master app, that’s there’s a invite. Also another problem, on a new record, when I open the share feature, it opens as a blank form, you have to close it and re-open it. 🤷♂️ |
Lots of other issues with that code |
Hi @JulesMoorhouse — I haven't been able to reproduce this yet, so out of curiosity, does your container |
@sjrmanning thanks for your reply. Can you confirm what you mean by association? |
Running into the same issue right now. @sjrmanning I can't get raywenderlichs, this sample code or my own project running. I have named them like its recommended with com.mycompany.myapp and the container iCloud.com.mycompany.myapp they are associated on developer.apple.com and CKSharingSupported is set. I even regenerated the container, removed association on developer.apple.com, profiles etc in a lot of different steps and orders and it isn't budging - all the things I found on the web This is the full error I get on iCloud.com site with the iCloud share link - I mean maybe Apple is currently working on stuff with that Hotfix build - but its very inconvenient because I need this... working? Edit: I also deployed the schema changes and made a validation so it would connect to iTunes connect (with payed developer account) to maybe set somewhere some identifier it needs - because that's kinda what it feels like.
|
I’ve tried sharing a contact however I’m getting an iCloud has stop responding error.
REPORTED ERROR TITLE
Error: ShareRecord: Unable to find applicationIdentifier for containerId = iCloud.com.mydomain.samples.cloudkit.sharing and fileExtension = undefined
That’s my main issue.
However, when I tried to share my contact with the messages app, no to address field was shown. I had to use discord.
Any advice appreciated
Jules.
The text was updated successfully, but these errors were encountered: