|
1 | | -<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | + xmlns:tools="http://schemas.android.com/tools"> |
2 | 3 |
|
3 | | - <uses-permission android:name="android.permission.INTERNET"/> |
| 4 | + <uses-permission android:name="android.permission.INTERNET" /> |
| 5 | + |
| 6 | + <!-- flutter_facebook_auth --> |
| 7 | + <uses-permission |
| 8 | + android:name="com.google.android.gms.permission.AD_ID" |
| 9 | + tools:node="remove" /> |
| 10 | + <queries> |
| 11 | + <provider android:authorities="com.facebook.katana.provider.PlatformProvider" /> |
| 12 | + </queries> |
4 | 13 |
|
5 | 14 | <application |
| 15 | + android:name="${applicationName}" |
6 | 16 | android:allowBackup="true" |
7 | 17 | android:fullBackupContent="@xml/backup_rules" |
8 | | - android:label="@string/app_name" |
9 | | - android:name="${applicationName}" |
10 | | - android:icon="@mipmap/ic_launcher"> |
| 18 | + android:icon="@mipmap/ic_launcher" |
| 19 | + android:label="@string/app_name"> |
11 | 20 | <activity |
12 | 21 | android:name=".MainActivity" |
| 22 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
13 | 23 | android:exported="true" |
| 24 | + android:hardwareAccelerated="true" |
14 | 25 | android:launchMode="singleTop" |
15 | 26 | android:theme="@style/LaunchTheme" |
16 | | - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
17 | | - android:hardwareAccelerated="true" |
18 | 27 | android:windowSoftInputMode="adjustResize"> |
19 | 28 | <!-- Specifies an Android theme to apply to this Activity as soon as |
20 | 29 | the Android process has started. This theme is visible to the user |
21 | 30 | while the Flutter UI initializes. After that, this theme continues |
22 | 31 | to determine the Window background behind the Flutter UI. --> |
23 | 32 | <meta-data |
24 | | - android:name="io.flutter.embedding.android.NormalTheme" |
25 | | - android:resource="@style/NormalTheme" |
26 | | - /> |
| 33 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 34 | + android:resource="@style/NormalTheme" /> |
| 35 | + |
27 | 36 | <intent-filter> |
28 | | - <action android:name="android.intent.action.MAIN"/> |
29 | | - <category android:name="android.intent.category.LAUNCHER"/> |
| 37 | + <action android:name="android.intent.action.MAIN" /> |
| 38 | + <category android:name="android.intent.category.LAUNCHER" /> |
30 | 39 | </intent-filter> |
31 | 40 | <intent-filter android:autoVerify="true"> |
32 | 41 | <action android:name="android.intent.action.VIEW" /> |
| 42 | + |
33 | 43 | <category android:name="android.intent.category.DEFAULT" /> |
34 | 44 | <category android:name="android.intent.category.BROWSABLE" /> |
35 | | - <data android:scheme="https" android:host="tinhte.vn" /> |
| 45 | + |
| 46 | + <data |
| 47 | + android:host="tinhte.vn" |
| 48 | + android:scheme="https" /> |
36 | 49 | </intent-filter> |
37 | 50 | <intent-filter> |
38 | 51 | <action android:name="FLUTTER_NOTIFICATION_CLICK" /> |
39 | 52 | <category android:name="android.intent.category.DEFAULT" /> |
40 | 53 | </intent-filter> |
41 | 54 | </activity> |
42 | 55 |
|
43 | | - <meta-data android:name="com.facebook.sdk.ApplicationId" |
44 | | - android:value="@string/facebook_app_id"/> |
45 | | - <meta-data android:name="com.facebook.sdk.ClientToken" |
46 | | - android:value="@string/facebook_client_token"/> |
| 56 | + <meta-data |
| 57 | + android:name="com.facebook.sdk.AdvertiserIDCollectionEnabled" |
| 58 | + android:value="false" /> |
| 59 | + <meta-data |
| 60 | + android:name="com.facebook.sdk.ApplicationId" |
| 61 | + android:value="@string/facebook_app_id" /> |
| 62 | + <meta-data |
| 63 | + android:name="com.facebook.sdk.ApplicationName" |
| 64 | + android:value="@string/facebook_app_name" /> |
| 65 | + <meta-data |
| 66 | + android:name="com.facebook.sdk.AutoLogAppEventsEnabled" |
| 67 | + android:value="false" /> |
| 68 | + <meta-data |
| 69 | + android:name="com.facebook.sdk.ClientToken" |
| 70 | + android:value="@string/facebook_client_token" /> |
47 | 71 |
|
48 | | - <activity android:name="com.facebook.FacebookActivity" |
49 | | - android:configChanges= |
50 | | - "keyboard|keyboardHidden|screenLayout|screenSize|orientation" |
| 72 | + <activity |
| 73 | + android:name="com.facebook.FacebookActivity" |
| 74 | + android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" |
51 | 75 | android:label="@string/app_name" /> |
52 | 76 | <activity |
53 | 77 | android:name="com.facebook.CustomTabActivity" |
54 | 78 | android:exported="true"> |
55 | 79 | <intent-filter> |
56 | 80 | <action android:name="android.intent.action.VIEW" /> |
| 81 | + |
57 | 82 | <category android:name="android.intent.category.DEFAULT" /> |
58 | 83 | <category android:name="android.intent.category.BROWSABLE" /> |
| 84 | + |
59 | 85 | <data android:scheme="@string/fb_login_protocol_scheme" /> |
60 | 86 | </intent-filter> |
61 | 87 | </activity> |
| 88 | + <provider |
| 89 | + android:name="com.facebook.FacebookContentProvider" |
| 90 | + android:authorities="com.facebook.app.FacebookContentProvider566879507102666" |
| 91 | + android:exported="true" /> |
62 | 92 |
|
63 | 93 | <service |
64 | 94 | android:name=".FcmService" |
|
0 commit comments