Open
Description
After updating Flutter to version 3.29.0 (stable), the sample app does not work. The following errors appear Execution failed for task ':huawei_push:compileDebugJavaWithJavac':
import io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry;
^
.pub-cache/git/hms-flutter-plugin-9d47f5aaa11d4474b37b83e42d073f05ebaa2e24/flutter-hms-push/android/src/main/java/com/huawei/hms/flutter/push/backgroundmessaging/FlutterBackgroundRunner.java:47: error: cannot find symbol
import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback;
^
symbol: class PluginRegistrantCallback
location: interface PluginRegistry
.pub-cache/git/hms-flutter-plugin-9d47f5aaa11d4474b37b83e42d073f05ebaa2e24/flutter-hms-push/android/src/main/java/com/huawei/hms/flutter/push/backgroundmessaging/BackgroundMessagingService.java:48: error: cannot find symbol
public static void setPluginRegistrantCallback(final PluginRegistrantCallback callback) {
^
symbol: class PluginRegistrantCallback
location: class BackgroundMessagingService
.pub-cache/git/hms-flutter-plugin-9d47f5aaa11d4474b37b83e42d073f05ebaa2e24/flutter-hms-push/android/src/main/java/com/huawei/hms/flutter/push/backgroundmessaging/FlutterBackgroundRunner.java:64: error: cannot find symbol
private static PluginRegistrantCallback pluginRegistrantCallback;
^
symbol: class PluginRegistrantCallback
location: class FlutterBackgroundRunner
.pub-cache/git/hms-flutter-plugin-9d47f5aaa11d4474b37b83e42d073f05ebaa2e24/flutter-hms-push/android/src/main/java/com/huawei/hms/flutter/push/backgroundmessaging/FlutterBackgroundRunner.java:75: error: cannot find symbol
public static void setPluginRegistrantCallback(final PluginRegistrantCallback callback) {
^
symbol: class PluginRegistrantCallback
location: class FlutterBackgroundRunner
Flutter 3.29.0, they removed support for the old v1 plugins.
Metadata
Metadata
Assignees
Labels
No labels