summaryrefslogtreecommitdiffstats
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/AndroidManifest.xml29
1 files changed, 27 insertions, 2 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index fab3213..5f43504 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -5,15 +5,20 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.WAKE_LOCK"/>
+ <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<application
android:allowBackup="true"
android:label="xManager"
android:icon="@drawable/app_icon"
android:largeHeap="true"
+ android:usesCleartextTraffic="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
- android:configChanges="orientation|screenSize"
+ android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
+ android:hardwareAccelerated="true"
+ android:supportsPictureInPicture="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden">
<intent-filter>
@@ -23,7 +28,9 @@
</activity>
<activity
android:name=".SplashActivity"
- android:configChanges="orientation|screenSize"
+ android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
+ android:hardwareAccelerated="true"
+ android:supportsPictureInPicture="true"
android:theme="@style/AppTheme.FullScreen"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"/>
@@ -41,7 +48,25 @@
<meta-data
android:name="com.google.firebase.components:com.google.firebase.database.DatabaseRegistrar"
android:value="com.google.firebase.components.ComponentRegistrar"/>
+ <meta-data
+ android:name="com.google.firebase.components:com.google.firebase.iid.Registrar"
+ android:value="com.google.firebase.components.ComponentRegistrar"/>
+ </service>
+ <service
+ android:name="com.google.firebase.messaging.FirebaseMessagingService"
+ android:exported="false">
+ <intent-filter android:priority="-500">
+ <action android:name="com.google.firebase.MESSAGING_EVENT"/>
+ </intent-filter>
</service>
+ <receiver
+ android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver"
+ android:exported="true"
+ android:permission="com.google.android.c2dm.permission.SEND">
+ <intent-filter>
+ <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
+ </intent-filter>
+ </receiver>
<uses-library
android:name="org.apache.http.legacy"
android:required="false"/>