Skip to content

[share_plus] Type mismatch: inferred type is String? but String was expected #758

@JAICHANGPARK

Description

@JAICHANGPARK

System info

Platform the Issue occurs on: build error
Plugin name: share plus
Plugin version: 3.1.0
flutter sdk : 2.11.0 - master channel

Logs
/share_plus-3.1.0/android/src/main/kotlin/dev/fluttercommunity/plus/share/MethodCallHandler.kt: (34, 24): Type mismatch: inferred type is String? but String was expected
Flutter doctor output
[✓] Flutter (Channel master, 2.11.0-0.0.pre.633, on macOS 12.2.1 21D62
    darwin-arm, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] IntelliJ IDEA Community Edition (version 2021.3.2)
[✓] VS Code (version 1.64.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions