Skip to content

Commit

Permalink
Fixes the mSupplyMobileApp constructing again on reopen
Browse files Browse the repository at this point in the history
Have had a bug whereby if you press the ‘home’ button, but don’t
actually kill the app, then you reopen the app by tapping its icon, the
currentUser gets set to null (among other things that happen during the
MSupplyMobileApp constructor). This was bound to cause some nasty
issues, and is fixed by this change.
  • Loading branch information
Edwin committed Aug 21, 2017
1 parent 491df12 commit ae4cf5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:screenOrientation="landscape">
android:screenOrientation="landscape"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down

0 comments on commit ae4cf5f

Please sign in to comment.