Skip to content

Update AndroidManifest.xml#2

Open
parabolox wants to merge 1 commit intoPredixDev:masterfrom
parabolox:master
Open

Update AndroidManifest.xml#2
parabolox wants to merge 1 commit intoPredixDev:masterfrom
parabolox:master

Conversation

@parabolox
Copy link

First, increase memory capability for the Dalvik/ART VM by adding this attribute to the application element, which should help out-of-the-box for larger initial replication payloads:
android:largeHeap="true"

Second, make it so a new activity is not created every time the app is brought to the foreground (for example, when you go to the home screen and back to the app) by adding this attribute to the activity element:
android:launchMode="singleInstance"

First, increase memory capability for the Dalvik/ART VM by adding this attribute to the application element, which should help out-of-the-box for larger initial replication payloads:
android:largeHeap="true"

Second, make it so a new activity is not created every time the app is brought to the foreground (for example, when you go to the home screen and back to the app) by adding this attribute to the activity element:
android:launchMode="singleInstance"
@parabolox
Copy link
Author

Admittedly the largeHeap option is up to the developer, but I think the singleInstance change is required so that app/home screen toggling works as expected; I was seeing a blank white screen otherwise.

cliff76 pushed a commit that referenced this pull request Jul 21, 2017
Feature/load web view -- need to talk with Jermey about: String requestedRoute, String requestedMethod)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant