Skip to content

[firebase_messaging] MissingPluginException when building for macOS #1608

Closed
@NickM-27

Description

@NickM-27

Describe the bug
When building for macOS and using the firebase messaging plugin the app gives a MissingPluginException error

To Reproduce

  1. Create a macOS project
  2. Add and use firebase messaging plugin

Expected behavior
No crash

Additional context
Flutter Doctor:

[✓] Flutter (Channel dev, v1.13.0, on Mac OS X 10.15.1 19B88, locale en-US)
• Flutter version 1.13.0 at /Users/nickmowen/Library/Android/flutter
• Framework revision 09126abb22 (8 days ago), 2019-12-03 17:43:00 -0800
• Engine revision 6179380243
• Dart version 2.7.0 (build 2.7.0-dev.2.1 a4d799c402)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/nickmowen/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio 3.6 Preview.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.2.1, Build version 11B500
• CocoaPods version 1.8.4

[✓] Android Studio
• Android Studio at /Applications/Android Studio 3.6 Preview.app/Contents
• Flutter plugin version 42.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
• macOS • macOS • darwin-x64 • Mac OS X 10.15.1 19B88

Metadata

Metadata

Assignees

No one assigned

    Labels

    impact: customerA bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)platform: macosIssues / PRs which are specifically for MacOS.plugin: messagingtype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions