login with facebook
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"installed":{"client_id":"1051330489903-on15f3rmq3a1830f2cb3d7ber0duueqh.apps.googleusercontent.com","project_id":"deductive-tree-303007","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}}
|
||||
@@ -33,6 +33,7 @@
|
||||
android:name="io.flutter.embedding.android.SplashScreenDrawable"
|
||||
android:resource="@drawable/launch_background"
|
||||
/>
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
@@ -43,5 +44,25 @@
|
||||
<meta-data
|
||||
android:name="flutterEmbedding"
|
||||
android:value="2" />
|
||||
|
||||
<!-- facebook app. -->
|
||||
<meta-data android:name="com.facebook.sdk.ApplicationId"
|
||||
android:value="@string/facebook_app_id"/>
|
||||
|
||||
<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>
|
||||
|
||||
</application>
|
||||
</manifest>
|
||||
|
||||
@@ -15,4 +15,15 @@
|
||||
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
|
||||
<item name="android:windowBackground">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<string name="app_name">Your App Name here.</string>
|
||||
|
||||
<!-- Replace "000000000000" with your Facebook App ID here. -->
|
||||
<string name="facebook_app_id">2553407474960753</string>
|
||||
|
||||
<!--
|
||||
Replace "000000000000" with your Facebook App ID here.
|
||||
**NOTE**: The scheme needs to start with `fb` and then your ID.
|
||||
-->
|
||||
<string name="fb_login_protocol_scheme">fb2553407474960753</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user