Skip to content

Commit

Permalink
[cloud_functions] No implementation found for method CloudFunctions#c…
Browse files Browse the repository at this point in the history
…all (firebase#1868)

* Solves the error `No implementation found for method CloudFunctions#call` introduced in the `0.4.1+7` release
  • Loading branch information
mark-veenstra authored and collinjackson committed Jan 24, 2020
1 parent 36b3880 commit eb1347b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ Lukasz Piliszczuk <[email protected]>
SoundReply Solutions GmbH <[email protected]>
Michel Feinstein <[email protected]>
Tobias Löfstrand <[email protected]>
Stephen Beitzel <[email protected]>
Stephen Beitzel <[email protected]>
Mark Veenstra <[email protected]>
4 changes: 4 additions & 0 deletions packages/cloud_functions/cloud_functions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.1+8

* Fixes the `No implementation found for method CloudFunctions#call`

## 0.4.1+7

* Update to use the platform interface to execute calls.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
public class CloudFunctionsPlugin implements MethodCallHandler {
/** Plugin registration. */
public static void registerWith(Registrar registrar) {
final MethodChannel channel = new MethodChannel(registrar.messenger(), "cloud_functions");
final MethodChannel channel =
new MethodChannel(registrar.messenger(), "plugins.flutter.io/cloud_functions");
channel.setMethodCallHandler(new CloudFunctionsPlugin());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ @implementation CloudFunctionsPlugin

+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar {
FlutterMethodChannel *channel =
[FlutterMethodChannel methodChannelWithName:@"cloud_functions"
[FlutterMethodChannel methodChannelWithName:@"plugins.flutter.io/cloud_functions"
binaryMessenger:[registrar messenger]];
CloudFunctionsPlugin *instance = [[CloudFunctionsPlugin alloc] init];
[registrar addMethodCallDelegate:instance channel:channel];
Expand Down
2 changes: 1 addition & 1 deletion packages/cloud_functions/cloud_functions/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cloud_functions
description: Flutter plugin for Cloud Functions.
version: 0.4.1+7
version: 0.4.1+8
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/cloud_functions/cloud_functions

flutter:
Expand Down

0 comments on commit eb1347b

Please sign in to comment.