Basically how can I use the GET_ACCOUNTS permission in a flutter app to get the users account?
I found this plugin https://pub.dev/packages/account_manager_plugin but it's outdated and doesn't run in newer, null-safety Flutter
Related
I implemented google login in flutter without using firebase in flutter (google cloud console). It was working in apk then later I needed push notification service for which I used firebase (fcm token and all) then I released the app to playstore but google login does not work. I keep getting apiexception error. Has anybody faced this issue? if yes any help would be highly appreciated.
I do not have a specific answer to your problem but I have also faced this problem once, I accidentally resolved it though.
But Error 12500 is a general error code that may occur when attempting to use the Google Sign-In feature and is caused by a few potensial issues:
An issue with the SHA-1 fingerprint of your app's signing
certificate: To use Google Sign-In, you need to configure your app's
SHA-1 fingerprint and package name in the Firebase console. Make
sure that the fingerprint and package name you have configured in
the Firebase console match the ones you are using to sign your app.
An issue with the Google Services configuration file: Make sure you
have properly added the Google Services configuration file to your
app.
An issue with the Google Play Services library: Make sure you have
the latest version of the Google Play Services library installed in
your app.
An issue with the device or emulator you are using: Make sure you
are testing on a device or emulator that has Google Play Services
installed and is up to date.
Possible fixes to try/check:
Double-check the SHA-1 fingerprint and package name: Make sure that
the SHA-1 fingerprint and package name you have configured in the
Firebase console match the ones you are using to sign your app.
Make sure you have added the Google Services configuration file: The
Google Services configuration file is required for your app to
communicate with Google services, including Google Sign-In. Make
sure you have properly added this file to your app.
Update the Google Play Services library: Make sure you have the
latest version of the Google Play Services library installed in your
app. You can check for updates by going to the "SDK Manager" in
Android Studio.
Test on a device or emulator with Google Play Services installed:
Make sure you are testing on a device or emulator that has Google
Play Services installed and is up to date.
I hope this helps! I will quickly search if I can find any other solution.
I'm using local_auth in Flutter, but local_auth doesn't support web.
I need that if a user logs into the web version of my app with their mobile, they can log in with their fingerprint.
I also wrote the web version with Flutter.
What should I do to solve this problem?
I created a flutter project with my personal firebase, but now the client has already created his firebase, how do I change the account in a project, I've searched the documentation but without success?
Unfortunately there is no easy way to switch.
The information you configured when you first created flutter project on firebase, it has be configured again with clients Firebase.
For example -> replace old GoogleService-info.plist, android package name and iOS bundleID with the new one.
I am using flutter 1.22.5 and Facebook plugin flutter_facebook_login: 3.0.0
to provide feature of Sign in with Facebook. Currently facing this error.
App not active: This app is not currently accessible and the app developer is aware of the issue. you will be able to log in when the app is reactivated
For other dependency I am not allowed to update flutter or Facebook plugin version.
Can someone guide me, Thanks in advance.
This answer is recent and may help. The error may not be linked to your code, but I recommend that you try to update your code to a SDK latest Flutter version.
I am trying to set up flutter_facebook_login plugin to work with my flutter app via firebase.
In the iOS section, the readme states
This assumes that you've done the "Register and Configure Your App with Facebook" step in the Facebook Login documentation for the iOS site.
When trying to set up my Development Environment I get the choice to either use CocoaPods or Facebook SDK.
Which one should I choose, and do I need to follow the install process stated there as well? (pod install in case of CocoaPods)