Why not use this package (package:googleapis_auth) with Flutter applications? #616
-
|
So how do I use the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
(1) If you need to use
|
Beta Was this translation helpful? Give feedback.
@kjxbyz
(1) If you need to use
googleapis_authIf you want to use googleapis_auth, don't. They say use extension_google_sign_in_as_googleapis_auth instead directly in the package documentation.
(2) If you just want to use just your API key and raw HTTP
If you don't want to use a package, since you said you have your own API key, you can simply use the http package instead by plugging in your
API KEYvariable to requests to Google's endpoint directly.(3) The easiest way using an abstraction package with your API key
For even easier usage, consider the youtube_api Flutter package. This basically abstracts away any complexities. Here's an example blog post of this youtube_api package being …