diff options
author | Allan Wang <me@allanwang.ca> | 2017-05-30 01:03:01 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-05-30 01:03:01 -0700 |
commit | 4c44dbc9933bd726c1da0bf326102835c4974d6b (patch) | |
tree | 18be2954a53c292eef132f9a3dc630c4071c7a9b /app/src/main/AndroidManifest.xml | |
parent | 461425eb6054f18cea1990a4117fe8c78e888ddf (diff) | |
download | frost-4c44dbc9933bd726c1da0bf326102835c4974d6b.tar.gz frost-4c44dbc9933bd726c1da0bf326102835c4974d6b.tar.bz2 frost-4c44dbc9933bd726c1da0bf326102835c4974d6b.zip |
create retrofacebook and token retrieval
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 033b8d79..ff98de24 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" package="com.pitchedapps.frost"> <!-- To auto-complete the email text field in the login form with the user's emails --> @@ -18,12 +19,12 @@ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <application + android:name=".FrostApp" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" - android:name=".FrostApp" android:theme="@style/AppTheme"> <activity android:name=".StartActivity" @@ -91,6 +92,37 @@ android:scheme="https" /> </intent-filter> </activity> + <activity android:name=".LoginActivity" /> + <activity + android:name="com.facebook.FacebookActivity" + android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" + android:label="@string/app_name" + android:theme="@android:style/Theme.Translucent.NoTitleBar" + tools:replace="android:theme" /> + <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> + + <meta-data + android:name="com.facebook.sdk.ApplicationId" + android:value="@string/facebook_app_id" /> + <meta-data + android:name="com.facebook.sdk.ApplicationName" + android:value="@string/facebook_app_name" /> + + <provider + android:name="com.facebook.FacebookContentProvider" + android:authorities="@string/facebook_authorities" + android:exported="true" /> </application> </manifest>
\ No newline at end of file |