EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 448 forks source link

AdMob: Get the right rootViewController #1885

Closed LewisSmallwood closed 1 year ago

LewisSmallwood commented 1 year ago

Occasionally, when navigating a complex app on iOS, the app loses reference to the rootViewController.

This change has been made to make the process of getting the rootViewController more robust.

Specifically, adding more robust support for finding the rootViewController through UINavigationController's and UITabViewController's.

This is the same fix as applied to: https://github.com/NativeScript/nativescript-ui-charts/issues/42