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); } }]; });