diff --git a/packages/cloud_functions/cloud_functions_platform_interface/CHANGELOG.md b/packages/cloud_functions/cloud_functions_platform_interface/CHANGELOG.md index 9d241d49741c..22adc33713b5 100644 --- a/packages/cloud_functions/cloud_functions_platform_interface/CHANGELOG.md +++ b/packages/cloud_functions/cloud_functions_platform_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +* Fix plugin name in MethodChannel + ## 1.0.0 Initial release diff --git a/packages/cloud_functions/cloud_functions_platform_interface/lib/src/method_channel_cloud_functions.dart b/packages/cloud_functions/cloud_functions_platform_interface/lib/src/method_channel_cloud_functions.dart index ba1a52a35990..4736a939b893 100644 --- a/packages/cloud_functions/cloud_functions_platform_interface/lib/src/method_channel_cloud_functions.dart +++ b/packages/cloud_functions/cloud_functions_platform_interface/lib/src/method_channel_cloud_functions.dart @@ -7,9 +7,11 @@ part of cloud_functions_platform_interface; /// [CloudFunctionsPlatform] implementation that delegates to a [MethodChannel]. class MethodChannelCloudFunctions extends CloudFunctionsPlatform { /// The [MethodChannel] to which calls will be delegated. + /// Note that this name must match the name used in the platform (iOS/Android) + /// plugin. @visibleForTesting static const MethodChannel channel = MethodChannel( - 'plugins.flutter.io/cloud_functions', + 'cloud_functions', ); /// Invokes the specified cloud function. diff --git a/packages/cloud_functions/cloud_functions_platform_interface/pubspec.yaml b/packages/cloud_functions/cloud_functions_platform_interface/pubspec.yaml index ffb73e687d2e..23da5f95811e 100644 --- a/packages/cloud_functions/cloud_functions_platform_interface/pubspec.yaml +++ b/packages/cloud_functions/cloud_functions_platform_interface/pubspec.yaml @@ -3,7 +3,7 @@ description: A common platform interface for the cloud_functions plugin. homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/cloud_functions/cloud_functions_platform_interface # NOTE: We strongly prefer non-breaking changes, even at the expense of a # less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes -version: 1.0.0 +version: 1.0.1 dependencies: flutter: