Hi,
I try to manage the new feature from iOS11 that able us to buy in-app directly from the Apple Store trough the new Storekit function :
paymentQueue:shouldAddStorePayment:forProduct:
I have two questions :
1-
I would like to know if we can detect before this method is called the fact that in-app is bought from the Apple Store in one of the function below trough the
launchOptions parameters ? :
- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary *)launchOptions
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options
2 -
When we return YES or NO (and add ourself the payment to the queue) to the
- (BOOL)paymentQueue:(SKPaymentQueue *)queue shouldAddStorePayment:(SKPayment *)payment forProduct:(SKProduct *)product
when exactly will we see the new in-app popup ?
Thank you for any response.
ps :
Our problem is to avoid interstitial ad to show when the app is waking up by in-app purchase bought from the Apple Store.