Skip to content

Commit 6914c4b

Browse files
jonsimantova-maurice
authored andcommitted
Add Firebase AdMob C++ integration test.
This also includes two fixes: - sample_framework: when redirecting all of stdout to the onscreen textView, also redirect it to the device log. This allows you to see googletest output in adb logcat or in the Xcode device log. - In AdMob C++ iOS, update presentation state when moving BannerViews, to be consistent with presentation state updates on Android. PiperOrigin-RevId: 257025107
1 parent b96487c commit 6914c4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

admob/src/ios/banner_view_internal_ios.mm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
[banner_view_ moveBannerViewToXCoordinate:x yCoordinate:y];
143143
error = kAdMobErrorNone;
144144
error_msg = nullptr;
145+
NotifyListenerOfPresentationStateChange([banner_view_ presentationState]);
145146
}
146147
CompleteFuture(error, error_msg, handle, &future_data_);
147148
});
@@ -157,6 +158,7 @@
157158
[banner_view_ moveBannerViewToPosition:position];
158159
error = kAdMobErrorNone;
159160
error_msg = nullptr;
161+
NotifyListenerOfPresentationStateChange([banner_view_ presentationState]);
160162
}
161163
CompleteFuture(error, error_msg, handle, &future_data_);
162164
});

0 commit comments

Comments
 (0)