Skip to content

shared_preferences calls deprecated API #48211

@chinnonsantos

Description

@chinnonsantos

When I use the Shared preferences plugin

[deprecation] getFlutterEngine() in FlutterPluginBinding has been deprecated...

/home/chinnonsantos/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.6/android/src/main/java/io/flutter/plugins/sharedpreferences/SharedPreferencesPlugin.java:25: warning: [deprecation] getFlutterEngine() in FlutterPluginBinding has been deprecated
    setupChannel(binding.getFlutterEngine().getDartExecutor(), binding.getApplicationContext());
                        ^
1 warning

Should I worry about this using the plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    p: shared_preferencesPlugin to read and write Shared Preferencespackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions