{"id":1173,"date":"2020-06-09T15:54:13","date_gmt":"2020-06-09T15:54:13","guid":{"rendered":"http:\/\/www.netexl.com\/blog\/?p=1173"},"modified":"2026-04-02T09:28:09","modified_gmt":"2026-04-02T09:28:09","slug":"stop-cordova-app-to-restart-on-split-screen","status":"publish","type":"post","link":"https:\/\/www.netexl.com\/blog\/stop-cordova-app-to-restart-on-split-screen\/","title":{"rendered":"Stop Cordova App to Restart on Split-Screen"},"content":{"rendered":"\n<p>This issue can be fixed by adding the following code in config.xml<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;edit-config file=\"AndroidManifest.xml\" target=\"\/manifest\/application\/activity&#91;@android:name='MainActivity']\" mode=\"merge\">\n  &lt;activity android:configChanges=\"orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode\" \/>\n&lt;\/edit-config><\/code><\/pre>\n\n\n\n<p>This solution has been proposed for the cordova issue @<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/apache\/cordova-android\/issues\/799\">https:\/\/github.com\/apache\/cordova-android\/issues\/799<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This issue can be fixed by adding the following code in config.xml This solution has been proposed for the cordova issue @ https:\/\/github.com\/apache\/cordova-android\/issues\/799<\/p>\n","protected":false},"author":5,"featured_media":1540,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,28,3,29,19],"tags":[],"class_list":["post-1173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","category-cordova","category-html5","category-issue","category-mobile"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/1173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/comments?post=1173"}],"version-history":[{"count":1,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/1173\/revisions"}],"predecessor-version":[{"id":1174,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/1173\/revisions\/1174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/media\/1540"}],"wp:attachment":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/media?parent=1173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/categories?post=1173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/tags?post=1173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}