Skip to content

Avoid MissingPluginException by detecting that GeneratedPluginRegistrant is out of sync with pubspec.yaml #11797

@theobouwman

Description

@theobouwman

Steps to Reproduce

  • new flutter project
  • add google sign in
  • run on iOS

It worked before on iOS.

Logs

MissingPluginException(No implementation found for method init on channel plugins.flutter.io/google_sign_in)

Flutter Doctor

[✓] Flutter (on Mac OS X 10.12.5 16F73, locale nl-NL, channel master)
    • Flutter at /development/flutter
    • Framework revision f265301519 (2 days ago), 2017-08-25 17:21:46 -0700
    • Engine revision f5371156d2
    • Tools Dart version 1.25.0-dev.11.0

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.1)
    • Android SDK at /Users/theobouwman/Library/Android/sdk
    • Platform android-26, build-tools 26.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.3.3, Build version 8E3004b
    • ios-deploy 1.9.0
    • CocoaPods version 1.1.1

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.2)
    • Flutter plugin version 16.0
    • Dart plugin version 172.3317.48

[✓] Connected devices
    • iPhone 6 • 8BD274CA-B00F-46DB-82D6-F1ED0A312D05 • ios • iOS 10.3 (simulator)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions