ios - Stop Flurry Ads after inAppPurchase, without exit the application -


I started using flooded ads using two following statements in appDeleget.m appDeleget.m

< Pre> if: {[Flurry startSession: FLURRY_ID] ([[NSUserDefaults standardUserDefaults] boolForKey @ "Purchased"]!); // FLURRY_ID #define @ "flurry_adID" [FlurryAds Start: self.window.rootViewController]; }

util Unless the user gets out of the app at least once after the purchase, the turmoil closes, the obstructions do not occur.

I want to stop the nervousness immediately after buying the user buy ads apps.

Do not use app deliates if you enter the statement in a view controller why not work for you Because it's saying in your adhegle. Where are you saying this code? DidFinishLaunching Method?

What I will do: Purchase: Make a BOOL key and call it when the purchase call is complete. Then you can still use NSUserDefaults to check with AppDelegate

  [nervousness startSession: FLURRY_ID] ;. // FLURRY_ID is #define @ "flurry_adID" [FlurryAds Start: self.window.rootViewController];  

Comments