-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
App crashes on AppDelegate.LoadApplication() #121
Comments
Probably something is not initialized yet while you try to load ad interstitial. I would move MobileAds.SharedInstance.Start(CompletionHandler); before LoadApplication as I think you are loading an interstitial directly when you load your app. |
@marcojak
|
Have you found a solution to this issue? I'm having the same problem, MobileAds.SharedInstance is null. I tried calling MobileAds.SharedInstance.Start(CompletionHandler); from a dependency service at a later point in time but before a view with an ad is opened as a work around and MobileAds.SharedInstance is still null. Using the test app ID in info.p. |
So it turns out SharedInstance is null when building from Visual Studios on windows. Not ideal but works fine when building from a mac |
After update to the latest version the iOS app crashes when calling LoadApplication in FinishedLaunching
Error:
FinishedLaunching:
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { global::Xamarin.Forms.Forms.Init(); Rg.Plugins.Popup.Popup.Init(); LoadApplication(new App()); MobileAds.SharedInstance.Start(CompletionHandler); Firebase.Core.App.Configure(); return base.FinishedLaunching(application, launchOptions); }
Info.plist entrys:
The text was updated successfully, but these errors were encountered: