Skip to content

[firebase_auth_platform_interface] Fix typo in the MethodChannel implementation. #1796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.5

- Fixed typo on private method name.

## 1.1.4

- **Breaking change**: Added missing `app` parameter to `confirmPasswordReset`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class MethodChannelFirebaseAuth extends FirebaseAuthPlatform {
Future<void> _callHandler(MethodCall call) async {
switch (call.method) {
case 'onAuthStateChanged':
_onAuthStageChangedHandler(call);
_onAuthStateChangedHandler(call);
break;
case 'phoneVerificationCompleted':
final int handle = call.arguments['handle'];
Expand Down Expand Up @@ -409,7 +409,7 @@ class MethodChannelFirebaseAuth extends FirebaseAuthPlatform {
}
}

void _onAuthStageChangedHandler(MethodCall call) {
void _onAuthStateChangedHandler(MethodCall call) {
final Map<dynamic, dynamic> data = call.arguments['user'];
final int id = call.arguments['id'];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A common platform interface for the firebase_auth plugin.
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_auth/firebase_auth_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.1.4
version: 1.1.5

dependencies:
flutter:
Expand Down