{"id":476,"date":"2017-01-25T19:40:21","date_gmt":"2017-01-25T19:40:21","guid":{"rendered":"http:\/\/fluentreports.com\/blog\/?p=476"},"modified":"2017-01-25T19:40:21","modified_gmt":"2017-01-25T19:40:21","slug":"nativescript-android-snapshots","status":"publish","type":"post","link":"http:\/\/fluentreports.com\/blog\/?p=476","title":{"rendered":"NativeScript Android Snapshots"},"content":{"rendered":"<p>For those who haven't deployed any apps in v2.4 of NativeScript; one of the new features that is turned on by default is SnapShots.\u00a0\u00a0\u00a0 Now most the time this is a AWESOME thing, however occasionally this can cause issues.\u00a0\u00a0 For example I have one app of mine that this crashes at startup when using SnapShots.<\/p>\n<p>Now the docs do list how to disable snapshots; but it is a lot easier for me to find the notes on my own site than trying to figure out which doc has the info.<\/p>\n<p><code>The environmental variable you need to adjust is: &lt;strong&gt;TNS_ANDROID_SNAPSHOT&lt;\/strong&gt;<\/code><\/p>\n<ul>\n<li>0 = Force Snapshots off always<\/li>\n<li>1 = Force snapshots on (including in debug mode)<\/li>\n<li>Unset = Snapshots only in Release mode<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>For those who haven't deployed any apps in v2.4 of NativeScript; one of the new features that is turned on by default is SnapShots.\u00a0\u00a0\u00a0 Now most the time this is a AWESOME thing, however occasionally this can cause issues.\u00a0\u00a0 For example I have one app of mine that this crashes at startup when using SnapShots.&hellip; <a class=\"more-link\" href=\"http:\/\/fluentreports.com\/blog\/?p=476\">Continue reading <span class=\"screen-reader-text\">NativeScript Android Snapshots<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[15,39],"tags":[17,16,98],"class_list":["post-476","post","type-post","status-publish","format-standard","hentry","category-nativescript","category-tips","tag-android","tag-nativescript","tag-snapshots","entry"],"_links":{"self":[{"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=476"}],"version-history":[{"count":1,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/476\/revisions"}],"predecessor-version":[{"id":477,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/476\/revisions\/477"}],"wp:attachment":[{"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=476"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}