Browse Source

Ignore config changes in portrait and landscape activities (#784)

Ignore config changes in portrait and landscape activities
Guy Carmeli 7 years ago
parent
commit
8239e8c698
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      android/app/src/main/AndroidManifest.xml

+ 3
- 1
android/app/src/main/AndroidManifest.xml View File

@@ -1,13 +1,15 @@
1 1
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
-    package="com.reactnativenavigation">
2
+          package="com.reactnativenavigation">
3 3
 
4 4
     <application>
5 5
         <activity android:name=".controllers.NavigationActivity" />
6 6
         <activity
7 7
             android:name=".controllers.PortraitNavigationActivity"
8
+            android:configChanges="orientation|screenSize|keyboardHidden"
8 9
             android:screenOrientation="portrait" />
9 10
         <activity
10 11
             android:name=".controllers.LandscapeNavigationActivity"
12
+            android:configChanges="orientation|screenSize|keyboardHidden"
11 13
             android:screenOrientation="landscape" />
12 14
         <activity
13 15
             android:name="com.facebook.react.devsupport.DevSettingsActivity"