When i load my product View most of the times its loading the storeKit without any issue. But some times the completion block is not even getting executed for loadProductWithParameters api call. if once this issue starts it persists until i restart the device.
Issue happens randomly and only way to resolve this is by restarting the device. Even if i remove and install the app its having the issue.
Below is my code snippet. Please do suggest any way i can resolve this.
dispatch_async(dispatch_get_main_queue(), ^{
SKStoreProductViewController *currentProductView = [SKStoreProductViewController new];
currentProductView.delegate = Self;
[currentProductView loadProductWithParameters:strongSelf.appStoreParams completionBlock:^(BOOL result, NSError *_Nullable error) {
if (result && !error) {
NSLog(@"Successfully load Storekit product view:%@", error.description);
} else {
NSLog(@"Failed to load Storekit product view:%@", error.description);
}
}];
});
Post
Replies
Boosts
Views
Activity
I have been trying to load assets and HTML file from a folder path on iPhone on WKWebView using
[self.webView loadFileURL:URL allowingReadAccessToURL:folderURL];
The html file is loading but assets are not being loaded. This is working fine on 14.6 and below. I have encountered this issue mainly on IOS 15 beta versions 2 and 3. Can I get any help on this??
Scenario.
App used a 3rd party SDK.
3rd party SDK will not communicate with other companies but just used IDFA to show ads and analytics for the app that it is integrated with.
This will comes under the Case where App dose not need to ask permission.
What happens in this case if i call for IDFA api. will it return All 0's or a proper Value?