Skip to content

Adding Plugin.MauiMTAdmob 2.0.0.5 to iOS app causes it to crash on startup when deployed through App Store #147

@JimmiDK

Description

@JimmiDK

Describe the bug
After adding Plugin.MauiMTAdmob version 2.0.0.5 to iOS app it crashes on startup when deployed through App Store. Same app without a reference to Plugin.MauiMTAdmob works fine.

To Reproduce

  1. Create MAUI app in latest version of Visual Studio 2022 (v. 17.13.5)
  2. Build and upload iOS app to App Store.
  3. Install iOS app from App Store on physical iPhone
  4. Open app on iPhone
  5. Observe that the app starts correctly and works.
  6. Add reference to Plugin.MauiMTAdmob version 2.0.0.5 using NuGet package manager in Visual Studio
  7. Build and upload iOS app to App Store.
  8. Install iOS app from App Store on physical iPhone
  9. Open app on iPhone
  10. Now the app crash on startup.

Expected behavior
iOS app starts and works after reference to Plugin.MauiMTAdmob version 2.0.0.5 is added

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: iPhone 12
  • OS: iOS 18.3.1

Additional context
Note that the app works when deployed locally through Visual Studio. Both with and without the reference to Plugin.MauiMTAdmob.

A zip containing two repro apps added. TvGuideTest-NoAds has no reference to Plugin.MauiMTAdmob. TvGuideTest-Ads has. That is the only deference between the two apps.

ReproApps.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions