Posts

Post not yet marked as solved
2 Replies
177 Views
Hi! I'm playing around with the Screen Time API. I would like to let my app notify me every time I have used my device for 1 minute (any app). When I have been notified, I would like to reset the monitoring so that I will be notified again after another minute using my device. I'm not sure how to accomplish this. In the main app, I currently start monitoring the following event with a schedule: let event = DeviceActivityEvent(threshold: DateComponents(minute: 1)) let schedule = DeviceActivitySchedule(intervalStart: DateComponents(hour: 0, minute: 0, second: 1), intervalEnd: DateComponents(hour:23, minute: 59, second: 59), repeats: true) Then, in the Device Activity Monitor Extension, I restart the same monitoring once the threshold is reached in eventDidReachThreshold. However, eventDidReachThreshold is being called much more than once an hour. I have checked that I only have one monitoring event running, so duplicates does not seem to be a problem. So, my questions are: Does my approach look OK? What am I missing? Would this monitoring collect usage from all devices connected to the same Apple ID, i.e. my Mac, iPad, iPhones etc? If so, how can I make it only monitor usage on one of my devices (the iPhone running the app)?
Posted
by cmj.
Last updated
.
Post not yet marked as solved
2 Replies
947 Views
When you uncheck 'Cleared for Sale' for an auto-renewing IAP…I suppose it disappears from the iTunes Manage Subscriptions UI?Will it stop renewing for current subscribers?Will current subscribers be informed?Will current subscribers be able to restore the purchase?
Posted
by cmj.
Last updated
.
Post not yet marked as solved
6 Replies
873 Views
My iOS app has a share extension. I am using a predicate in NSExtensionActivationRule to determine when to make my extension available to users. The predicate seems to work as expected, but I have a big problem: my extension keeps disappearing from the share sheet and I need to tap "More" and disable/enable my extension every time I want to use it.I have seen many others having this problem, but have not found a solution. Getting desperate here. Any ideas?Claes
Posted
by cmj.
Last updated
.
Post not yet marked as solved
2 Replies
1k Views
I use the predicate below as NSExtensionActivationRule for my Share Extension. It shows my extension in the share sheet if the host app provides a public.url OR plain.text.My question: is there a way to evaluate the URL to decide if my extension should be visible in the share sheet? For example, I would only like to show it if the url matches "https://mydomain.com". I don't think this can be done, but want to be sure.SUBQUERY ( extensionItems, $extensionItem, SUBQUERY ( $extensionItem.attachments, $attachment, ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" ).@count == 1).@count == 1||SUBQUERY ( extensionItems, $extensionItem, SUBQUERY ( $extensionItem.attachments, $attachment, ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text" ).@count == 1).@count == 1
Posted
by cmj.
Last updated
.
Post not yet marked as solved
4 Replies
2.4k Views
For different reasons, I'm thinking of making the next version of an app iOS 13 only. If current iOS 12 users will need an update later on, do you see a problem (other than making sure the app works on iOS 12) with adding back support for iOS 12?
Posted
by cmj.
Last updated
.
Post not yet marked as solved
0 Replies
593 Views
StoreKit's SKStoreProductViewController takes very long to load an app on iOS 12. Like 12 seconds long :-(There must be a bug in there somewhere, and the only thing I can find in the console are these two lines that are printed just before the long wait:Sep 18 10:24:03 ProductPageExtension(AppStoreDaemon)[3386] <Notice>: [AppStoreKit.UpdateStore]: We have the entitlement: com.apple.appstored.xpc.updates result: 1Sep 18 10:24:03 ProductPageExtension(AppStoreDaemon)[3386] <Notice>: [AppStoreKit.UpdateStore]: getUpdatesWithCompletionBlockI have filed a radar. http://www.openradar.me/radar?id=4990591884591104
Posted
by cmj.
Last updated
.
Post not yet marked as solved
1 Replies
1.2k Views
On iOS 12 (beta 9) SKStoreProductViewController takes a very long time to load the iTunes product. Looking at the console, I see the output below. (I see this error elsewhere in my app to on iOS 12. Not sure what's going on)Aug 21 17:27:25 iPad itunesstored(libboringssl.dylib)[158] <Error>: boringssl_session_errorlog(224) <private>[0x105773eb0] [boringssl_session_read] SSL_ERROR_SSL(1): operation failed within the libraryAug 21 17:27:25 iPad itunesstored(libboringssl.dylib)[158] <Error>: boringssl_session_handshake_error_print(205) <private>[0x105773eb0] <private>Aug 21 17:27:25 iPad ProductPageExtension(libboringssl.dylib)[460] <Error>: boringssl_session_errorlog(224) <private>[0x13ffaeca0] [boringssl_session_read] SSL_ERROR_SSL(1): operation failed within the libraryAug 21 17:27:25 iPad ProductPageExtension(libboringssl.dylib)[460] <Error>: boringssl_session_handshake_error_print(205) <private>[0x13ffaeca0] <private>
Posted
by cmj.
Last updated
.
Post not yet marked as solved
2 Replies
2.1k Views
On iOS 12 (beta 9) SKStoreProductViewController takes a very long time to load the iTunes product. Looking at the console, I see the output below. (I see this error elsewhere in my app to on iOS 12. Not sure what's going on)Aug 21 17:27:25 iPad itunesstored(libboringssl.dylib)[158] <Error>: boringssl_session_errorlog(224) <private>[0x105773eb0] [boringssl_session_read] SSL_ERROR_SSL(1): operation failed within the libraryAug 21 17:27:25 iPad itunesstored(libboringssl.dylib)[158] <Error>: boringssl_session_handshake_error_print(205) <private>[0x105773eb0] <private>Aug 21 17:27:25 iPad ProductPageExtension(libboringssl.dylib)[460] <Error>: boringssl_session_errorlog(224) <private>[0x13ffaeca0] [boringssl_session_read] SSL_ERROR_SSL(1): operation failed within the libraryAug 21 17:27:25 iPad ProductPageExtension(libboringssl.dylib)[460] <Error>: boringssl_session_handshake_error_print(205) <private>[0x13ffaeca0] <private>
Posted
by cmj.
Last updated
.
Post not yet marked as solved
1 Replies
1.7k Views
I have a working affailiate account for apps and iTunes content. By using SKCloudServiceSetupViewController with the SKCloudServiceSetupOptionsAffiliateTokenKey and SKCloudServiceSetupOptionsCampaignTokenKey option keys, will I get affiliate income when users subscribe to Apple Music through my app? Or is there something else I need to do?
Posted
by cmj.
Last updated
.
Post not yet marked as solved
0 Replies
509 Views
If I raise the subscription price but leave existing subscribers on the old price, will SKProduct.price show different prices for new and old subscribers? Or does it always give the current price in the store?I’m guessing the latter, but it would be nice if we could get the price a subscriber is actually paying.
Posted
by cmj.
Last updated
.
Post not yet marked as solved
2 Replies
631 Views
I have a subscription with a free trial. If I raise the price of the subscription and let existing subscribers stay on the old price, what happens to users who are in the free trial period? Will they be charged the old or the new price when the free trial expires?
Posted
by cmj.
Last updated
.
Post not yet marked as solved
0 Replies
340 Views
Which subscriptions are visible in the iTunes Store 'Manage Subscriptions' UI? Only those in the same subscription group as the subscription the user has purchased?
Posted
by cmj.
Last updated
.
Post not yet marked as solved
1 Replies
762 Views
Say that I have a 1 year subscription (1 month free trial) that costs $10. I lower the price to $5 for a week and then raise it to $10 again. What happens to existing subscribers (signed up for $10)? Will all of them be moved to $5 and then asked to give their consent to the raise to $10? Or, will they stay on $10 if their subscription doesn’t expire during the $5 week?
Posted
by cmj.
Last updated
.
Post not yet marked as solved
2 Replies
904 Views
When a free trial (1 month) is about to expire, is the user notified or does it silently convert to a paid subsciption?
Posted
by cmj.
Last updated
.