Login Using Facebook
1) Facebook login
2) Open in browser this link https://developers.facebook.com/apps
Scree 1
3) My apps -> Create App : Enter display name 2) Enter email
Scree 2 and Scree 3
4) Left side display menu Click the Basic and last add Platform click the choose the android.
5) Fabook hash key genereate:
keytool -exportcert -alias androiddebugkey -keystore “../../keys/keystore.jks” | “C:\openssl\bin\openssl” sha1 -binary |”C:\openssl\bin\openssl” base64
Scree 4
6) Valid OAuth Redirect URIs this URIs get the firebase.
1) Open the link browser: https://firebase.google.com/
2) Get Started
Scree 5 (Firebase)
3) Left side option category develop click the Authentication. Click the Sign-in method.
– Enter app Id, app secret. (This is get detail in facebook)
– Scree 4 Valid OAuth Redirect URIs this link get the firebase Scree 5 (Firebase) last line is Facebook app configuration.
Screen 1

Screen 2

Screen 3

Screen 4

Screen 5

build.gradle
app: apply plugin: 'com.google.gms.google-services' android: classpath 'com.google.gms:google-services:4.3.3
AndroidManifest.xml
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/> <meta-data android:name="com.google.android.geo.API_KEY" android:value="" /> <activity android:name="com.facebook.FacebookActivity" android:configChanges= "keyboard|keyboardHidden|screenLayout|screenSize|orientation" android:label="@string/app_name" /> <activity android:name="com.facebook.CustomTabActivity" android:exported="true"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="@string/fb_login_protocol_scheme" /> </intent-filter> </activity>
The flutter tutorial is a website that bring you the latest and amazing resources of code. All the languages codes are included in this website. The languages like flutter, android, java,kotlin etc.with the help of this languages any user can develop the beautiful application
For more information about Flutter. visit www.fluttertutorial.in