Skip to content

Commit 902bdde

Browse files
authored
[cloud_functions] Use correct method channel (#2051)
1 parent 5a86067 commit 902bdde

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/cloud_functions/cloud_functions/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.4.2+2
2+
3+
* Fix method channel on darwin
4+
15
## 0.4.2+1
26

37
* Make the pedantic dev_dependency explicit.

packages/cloud_functions/cloud_functions/darwin/Classes/CloudFunctionsPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ @implementation CloudFunctionsPlugin
1515

1616
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar {
1717
FlutterMethodChannel *channel =
18-
[FlutterMethodChannel methodChannelWithName:@"cloud_functions"
18+
[FlutterMethodChannel methodChannelWithName:@"plugins.flutter.io/cloud_functions"
1919
binaryMessenger:[registrar messenger]];
2020
CloudFunctionsPlugin *instance = [[CloudFunctionsPlugin alloc] init];
2121
[registrar addMethodCallDelegate:instance channel:channel];

packages/cloud_functions/cloud_functions/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: cloud_functions
22
description: Flutter plugin for Cloud Functions.
3-
version: 0.4.2+1
3+
version: 0.4.2+2
44
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/cloud_functions/cloud_functions
55

66
flutter:

0 commit comments

Comments
 (0)