-
Notifications
You must be signed in to change notification settings - Fork 124
AdMob Rewarded Ads on iOS #752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdMob Rewarded Ads on iOS #752
Conversation
RewardedAdInternalIOS::~RewardedAdInternalIOS() { | ||
firebase::MutexLock lock(mutex_); | ||
// Clean up any resources created in RewardedAdInternalIOS. | ||
Mutex mutex(Mutex::kModeNonRecursive); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the model we use for other things that block until the destruction is complete? Or do we use a Semaphore?
} | ||
mutex_in_block->Release(); | ||
}; | ||
util::DispatchAsyncSafeMainQueue(destroyBlock); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a pattern we've done before, I wonder if we should actually make a DispatchAsyncSafeMainQueueBlocking, and also add tests for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to change this in the next PR which includes some other stability fixes.
❌ Integration test FAILEDRequested by @DellaBitta on commit dc996e0
Add flaky tests to go/fpl-cpp-flake-tracker |
Description
Updates the iOS implement to be able to display rewarded ads.
Testing
Local testing with the itests on an iOS device.
iTest Ci
Type of Change
Place an
x
the applicable box: