Post

Replies

Boosts

Views

Activity

ControlWidgetToggle state when parent app is terminated
I have programmed a ControlWidgetToggle which controls a recording state in our main app, that can be on (recording) or off (not recording). The recording can also be controlled from inside the main app, and there we call ControlCenter.shared.reloadControls(ofKind: "") to update the ControlWidgetToggle state when the recording state changes. Now this all works great, except for the situation in which the user terminates the app (for example using the app switcher screen). Then of course the recording will stop. I however have no idea how to update the state of the ControlWidgetToggle in this case, it will stay in the recording state since it does not know that the recording has been stopped. The applicationWillTerminate delegate method of the AppDelegate will not be called in such a case. Does someone has an idea how to update the state of the ControlWidgetToggle once the parent app has been terminated?
1
0
241
Sep ’24
Family sharing of in app purchases
We have enabled family sharing for our in-app purchases in AppStore connect. From several customers we received feedback that their purchases are not available on their family members devices. If the family members want to purchase the product, an AppStore pop-up will tell them that a family member has made the purchase and they will get it for free. Then the purchase cannot proceed. This makes sense. I have investigated the appstore receipts of the customers reporting issues, and it turns out that these receipts do not contain the purchases of the other family members. Refreshing the receipt via SKReceiptRefreshRequest does not solve the issue. Because the purchases of the other family members do not show up in the receipt, the app does not unlock the content and the user is displayed the not-functioning purchase button. Sometimes customers also report that one in-app purchase is family shared but others (for which we enabled family sharing) not. Any people familiar with this issues with family sharing of in-app purchases? Is there a solution?
4
0
2.0k
Jun ’21