Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

[firebase_auth] Resolve deprecated API warnings #814

Closed

Conversation

ko2ic
Copy link
Contributor

@ko2ic ko2ic commented Oct 4, 2018

Type the following command.

$ cd packages/firebase_auth/example
$ flutter run -d emulator-5554

The following warning is displayed.

firebase_auth/android/src/main/java/io/flutter/plugins/firebaseauth/FirebaseAuthPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

It fixes with this PR.

* fetchProvidersForEmail => fetchSignInMethodsForEmail
* ```(Map<String, String>) call.arguments``` => ```call.arguments()```
* Fix warnings with `unchecked` & `unuse`
@ko2ic ko2ic force-pushed the firebase_auth_deprecated_api_warnings branch from 432150c to 8bb4024 Compare October 24, 2018 05:32
@ffeu
Copy link
Contributor

ffeu commented Oct 29, 2018

Hey @ko2ic , if you just rerun the tests, this time it will work, the gradle problem was fixed on master. (git commit -m "rerun tests" --allow-empty)

@ko2ic ko2ic force-pushed the firebase_auth_deprecated_api_warnings branch from 75e32c7 to 8bb4024 Compare October 30, 2018 05:00
@ko2ic
Copy link
Contributor Author

ko2ic commented Oct 30, 2018

@ffeu Thank you !

@ko2ic ko2ic changed the title Resolve deprecated API warnings (firebase_auth) [firebase_auth] Resolve deprecated API warnings Nov 1, 2018
@slightfoot
Copy link
Member

Included in #775. Closing.

@slightfoot slightfoot closed this Nov 22, 2018
@ko2ic ko2ic deleted the firebase_auth_deprecated_api_warnings branch November 22, 2018 00:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants