Skip to content

Flutter 3.29 compatibility issues #25

@sanderpensa

Description

@sanderpensa

Flutter 3.29 removed the v1 Android embeddings https://docs.flutter.dev/release/breaking-changes/v1-android-embedding.
Plugin migration needed to support Flutter >=3.29.

FAILURE: Build failed with an exception.

> Compilation failed; see the compiler output below.
  warning: [options] source value 8 is obsolete and will be removed in a future release
  warning: [options] target value 8 is obsolete and will be removed in a future release
  warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
  /Users/sander/.pub-cache/hosted/pub.dev/native_shared_preferences-2.0.10/android/src/main/java/yeniellandestoy/native_shared_preferences/NativeSharedPreferencesPlugin.java:15: error: cannot find symbol
    public static void registerWith(PluginRegistry.Registrar registrar) {
                                                  ^
    symbol:   class Registrar
    location: interface PluginRegistry
  1 error
  3 warnings

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