I am creating a React-Native module to access Admob. But the GADBannerView object requires the execution of the rootViewController. Do you know how to create an interactive view / module for this? Thank you very much.
From the C source code in your module, you can access the application root view controller as follows:
UIViewController *rootViewController = [UIApplication sharedApplication].delegate.window.rootViewController;
Source: https://habr.com/ru/post/1216344/More articles:How to make a raised android button? - androidC ++ Reference to non-static members must refer to a specific object - c ++The difference between long and short jump (x86) - assemblyIsLightDismissEnabled = "True" does not actually reject the popup - c #fatal: multistage entries for a merged file - gitHow to create and attach a custom attribute to a field at runtime in Delphi - rttiHow to serialize TList to Json without garbage - jsonHow can I use different manifest files for release and debug versions? - androidWhy × html entity & times; - htmlHow to fix the error "SQL Server Agent stopped automatically"? - sql-server-2014All Articles