Post

Replies

Boosts

Views

Activity

Reply to How many `Advanced App Clip Experiences` can be add?
From the video on creating app clips for other businesses, it seems like it shouldn't be bounded to the number you can make. However there is probably a practical limit. I'd also like to know! Do you want different App Clip Cards, or just the app clip experience to be different once the clip is launched? You could use query params in your URL to control what content is shown in the application.
Topic: App & System Services SubTopic: General Tags:
May ’21
Reply to AppClipCodeGenerator - Compressed URL too large
Their encoder can only fit in so many characters. QR codes have a lot more data storage capability. Check out this link for more details, however there is no clear documentation on the length. I was also looking for a concrete number but it is probably indeterminate. Unfortunately, my domain name is quite long so I'm probably stuck with only a few chars available for my query params :( Apple Documentation: Encoding a url in an app clip code
Topic: App & System Services SubTopic: General Tags:
May ’21
Reply to App Clips should support CloudKit for read-only access to the public database
I spoke with both App Clip and CloudKit engineers during WWDC 2021 in lab sessions. They're aware of the request. That having been said the temporary solution that we came to through conversation is to use the CloudKit Web Services. I've decided for my AppClip I can live with read-only access to just the public database. I have this working and have fully mirrored the CKQueryOperation and CKFetchRecordsOperation functionality using the Cloud Kit Web Services API. This is something that I would potentially open source if others are interested in working on it with me as an interim solution until (if) official support happens.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’21
Reply to Can I access HealthKit data for devices without an Apple ID?
Kevin, HealthKit is meant for a single individual, not 'shared'. HealthKit can be used without an Apple ID. It would be just the same as running on a simulator that isn't signed in. That having been said, while you could technically do it, it is overkill and using HealthKit outside of the intended scope. I'll speculate that the built-in pedometer will also not have super reliable results given the way each user walks is different. This is what generates samples for HealthKit under the hood. If you're going to pursue this concept, I would instead recommend using the CMPedometer API directly, which allows for up to 7-days of historical data.
Dec ’21
Reply to QuotaExceeded error questions
Few questions for clarity. Have you confirmed with that user that their iCloud storage is in fact full? When you save the game save a secondary time, are you updating that record, or deleting then saving a new one? Assuming you're using the CKModifyRecordsOperation, how are you handling merge conflicts (i.e. two device scenario race condition).
Dec ’21
Reply to Is ASWebAuthenticationSession compatible with App Clips?
I shared my code with my main app target and specified a custom url scheme matching the cloudkit-icloud.[containername]://authToken and I see my ASWebAuthenticationSession getting invoked with the new token. So I know that code is wired up properly and functional It is stated in the Exploring App Clips video that they do not support URL Schemes, when I have the same URL scheme specified, safari says "Safari cannot open the page because the address is invalid." which makes sense if the App Clip isn't registering the URL with the system. When I try to use the https:// [advanced-app-clip-invocation-url] safari view controller is redirecting to my web page that matches the app clip url--not the app clip itself. Universal links are also explicitly not supported by App Clips either as per the same app clip video. I know there is a lot of interest in App Clips + CloudKit so I'll continue to post my findings.
Dec ’21
Reply to Multipeer Connectivity and Core Bluetooth Tx power level
Do you know that the transport being used is BLE (opposed to P2P WiFi)? Is your range still poor if you disable WiFi (trying to force Bluetooth transport as an experiment)? Is the observed performance different if there is a paired Apple Watch or not? This seems like a good item to create as a feedback to Apple if the performance regressed so significantly. Regarding your question, there isn't any API I want to say that the tx power is 0 db when advertising / acting as a peripheral.
Jan ’22
Reply to How many `Advanced App Clip Experiences` can be add?
From the video on creating app clips for other businesses, it seems like it shouldn't be bounded to the number you can make. However there is probably a practical limit. I'd also like to know! Do you want different App Clip Cards, or just the app clip experience to be different once the clip is launched? You could use query params in your URL to control what content is shown in the application.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Is it possible to switch back to App Clip from third-party app
Is Sign In with Apple an option to you? That is designed to work beautifully with App Clips! If you're using third party login that isn't for that third party, you'll have to add Sign In with Apple anyways to conform to the App Store guidelines.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Is there a way to know that a new unique user has used your app clip Or if it's a user that has used your app clip before?
Not sure if it is available in App Clip targets, but you could try using DeviceCheck and flipping a bit. Device Check API
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to AppClipCodeGenerator - Compressed URL too large
Their encoder can only fit in so many characters. QR codes have a lot more data storage capability. Check out this link for more details, however there is no clear documentation on the length. I was also looking for a concrete number but it is probably indeterminate. Unfortunately, my domain name is quite long so I'm probably stuck with only a few chars available for my query params :( Apple Documentation: Encoding a url in an app clip code
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to How many `Advanced App Clip Experiences` can be add?
I asked the AppClip team this question in a WWDC21 lab session. The answer, presently, was that there is no limit to the number of advanced app clip experiences you can make. This is great—now the problem I will have is squishing my urls to fit into the app clip generator.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to App Clips should support CloudKit for read-only access to the public database
I spoke with both App Clip and CloudKit engineers during WWDC 2021 in lab sessions. They're aware of the request. That having been said the temporary solution that we came to through conversation is to use the CloudKit Web Services. I've decided for my AppClip I can live with read-only access to just the public database. I have this working and have fully mirrored the CKQueryOperation and CKFetchRecordsOperation functionality using the Cloud Kit Web Services API. This is something that I would potentially open source if others are interested in working on it with me as an interim solution until (if) official support happens.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to Xcode cloud does not detect branches other than develop
I just received access to the beta. I'm encountering the same issue. I created this feedback: FB9799246 If you create your own feel free to mention so Apple can link as related.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Is ASWebAuthenticationSession compatible with App Clips?
It is referenced in this video to in fact use ASWebAuthenticationSession but I haven't found any useful information in the documentation on how to get it setup with the callback yet: https://developer.apple.com/videos/play/wwdc2020/10174/?time=909
Replies
Boosts
Views
Activity
Dec ’21
Reply to Can I access HealthKit data for devices without an Apple ID?
Kevin, HealthKit is meant for a single individual, not 'shared'. HealthKit can be used without an Apple ID. It would be just the same as running on a simulator that isn't signed in. That having been said, while you could technically do it, it is overkill and using HealthKit outside of the intended scope. I'll speculate that the built-in pedometer will also not have super reliable results given the way each user walks is different. This is what generates samples for HealthKit under the hood. If you're going to pursue this concept, I would instead recommend using the CMPedometer API directly, which allows for up to 7-days of historical data.
Replies
Boosts
Views
Activity
Dec ’21
Reply to The consumable product prices in the app store and the prices that appear in my flutter project are different
Is the RevenueCat SDK first party in Flutter for iOS? I'd start with the library developers for your question. You could try using the native swift version of RevenueCat and see if the same problem exists.
Replies
Boosts
Views
Activity
Dec ’21
Reply to QuotaExceeded error questions
Few questions for clarity. Have you confirmed with that user that their iCloud storage is in fact full? When you save the game save a secondary time, are you updating that record, or deleting then saving a new one? Assuming you're using the CKModifyRecordsOperation, how are you handling merge conflicts (i.e. two device scenario race condition).
Replies
Boosts
Views
Activity
Dec ’21
Reply to Account deletion requirements for non-personal accounts
Does your app support creating that work account, or just use it to sign in?
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Is ASWebAuthenticationSession compatible with App Clips?
I shared my code with my main app target and specified a custom url scheme matching the cloudkit-icloud.[containername]://authToken and I see my ASWebAuthenticationSession getting invoked with the new token. So I know that code is wired up properly and functional It is stated in the Exploring App Clips video that they do not support URL Schemes, when I have the same URL scheme specified, safari says "Safari cannot open the page because the address is invalid." which makes sense if the App Clip isn't registering the URL with the system. When I try to use the https:// [advanced-app-clip-invocation-url] safari view controller is redirecting to my web page that matches the app clip url--not the app clip itself. Universal links are also explicitly not supported by App Clips either as per the same app clip video. I know there is a lot of interest in App Clips + CloudKit so I'll continue to post my findings.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Multipeer Connectivity and Core Bluetooth Tx power level
Do you know that the transport being used is BLE (opposed to P2P WiFi)? Is your range still poor if you disable WiFi (trying to force Bluetooth transport as an experiment)? Is the observed performance different if there is a paired Apple Watch or not? This seems like a good item to create as a feedback to Apple if the performance regressed so significantly. Regarding your question, there isn't any API I want to say that the tx power is 0 db when advertising / acting as a peripheral.
Replies
Boosts
Views
Activity
Jan ’22
Reply to IOS Swift Playgrounds on iPad - enable Background modes
As you have discovered, there is a lot missing from Swift Playgrounds 4 in terms of 'capabilities'. File a feedback and post your number here. I'd be happy to reference yours in my request to allow background Bluetooth. Mine is: FB9833184
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22