Post

Replies

Boosts

Views

Activity

SFContentBlockerManager reloadContentBlocker crash on macOS 10.15.7 in Catalyst application
Hello, I have use Safari content blocker extension on Mac Catalyst application. Here is the code for reloadContentBlocker // Config.BLOCKER_EXTENSION = Content blocker extension bundle identifier func reloadBlockerRules() {     if #available(macCatalyst 13.4, *) {       SFContentBlockerManager.reloadContentBlocker(withIdentifier: Config.BLOCKER_EXTENSION, completionHandler: { error in         if error != nil {           TextLog.shared.write("RELOAD OF \(Config.BLOCKER_EXTENSION) FAILED WITH ERROR -\(error?.localizedDescription ?? "")")         }       })     } else {       // Fallback on earlier versions       TextLog.shared.write("Fallback on earlier versions - reloadBlockerRules")     }   } I have reload the blocker rules on application startup but its cashing every time with following reason : System Integrity Protection: enabled Crashed Thread:    0 Dispatch queue: com.apple.main-thread Exception Type:    EXC_CRASH (SIGABRT) Exception Codes:    0x0000000000000000, 0x0000000000000000 Exception Note:    EXC_CORPSE_NOTIFY Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSXPCInterfaceProxy_SafariExtensionHelperProtocol loadContentBlockerWithIdentifier:sandboxExtensionToken:invokedBySafariFamily:reply:]: unrecognized selector sent to instance 0x6000012ac370' terminating with uncaught exception of type NSException abort() called Can you please help me out for find the crash reason ?
1
0
837
Oct ’21
How to check if the refund for consumable IAP for apple is refunded fully or partially and its amount?
We want to know whether the refund requested by the user for the consumable IAP of Apple is refunded fully or partially. I can get the revocation date on when the refund was processed but I also want to know whether the user got a refund fully or partially and its amount as well if possible. we tried to get transaction info and also the refund history of App Store Server API but we are only getting the revocation date and revocation reason we also want to know if the refund was processed as fully or partially and how much money did the user got back on refund successful. Also checked the webhook data we get for REFUND notificationType, we don't get back any field that helps us identify whether refund was full or partial and its amount as well.
1
0
857
Dec ’23
Is there any way to restrict for Subscription refund request if user already used the service?
Hello, Our application operates on a service-based model with a subscription system. We've noticed that some users have subscribed to our service, utilized it, and then requested a refund from Apple. However, we have already incurred charges from our vendors for the services utilized by these users. We are exploring options to prevent users from requesting refunds for subscriptions after utilizing our services. Is there any mechanism or strategy available to prevent users from obtaining refunds for subscriptions once they have utilized the service? Your assistance in this matter would be greatly appreciated. Thank you.
0
0
316
Mar ’24