{"_id":"5a6b684793313c005b692e1b","category":{"_id":"5a6b684793313c005b692e0a","version":"5a6b684793313c005b692e07","project":"57c87ef85754fa1700b1228d","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-11-05T21:53:37.386Z","from_sync":false,"order":2,"slug":"reference","title":"Reference"},"parentDoc":null,"project":"57c87ef85754fa1700b1228d","user":"55e5ba046015ce1900eadb8e","version":{"_id":"5a6b684793313c005b692e07","project":"57c87ef85754fa1700b1228d","__v":1,"createdAt":"2018-01-26T17:41:27.297Z","releaseDate":"2018-01-26T17:41:27.297Z","categories":["5a6b684793313c005b692e08","5a6b684793313c005b692e09","5a6b684793313c005b692e0a","5a6b684793313c005b692e0b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.5.3","version":"3.5.3"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-03-21T09:56:52.222Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":10,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Local Defaults\"\n}\n[/block]\nIn cases when our servers cannot be accessed (such as when the user loses their internet connection), the Primer Android SDK can use local backup files that are custom-tailored to your app to load the appropriate experiences.\n\nTo add local default, download `PMRDefault.zip` from your [Project Settings](https://goprimer.com/dashboard#/project//edit) in Dashboard. Unarchive it, then drag and drop the folder titled `primer` into your application’s assets directory. \n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"Keep your local defaults up-to-date. If you update your organic flow on the Dashboard, keep your local defaults in sync by downloading the latest version.\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Configurable Options\"\n}\n[/block]\nWhen initializing Primer, you can configure some options to tweak the behavior of the SDK. \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"PrimerOptions.Builder builder = PrimerOptions.builder();\\n\\n/*\\nConfigure the minimum log level used. \\nThe default Log level is Log.WARN. You can change this by calling the following method on the PrimerOptions builder instance, \\n*/      \\n\\nbuilder.withMinLogLevel(Log.VERBOSE);//or any other Log Level\\n\\n\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"onboarding","type":"basic","title":"Configuration"}
[block:api-header] { "type": "basic", "title": "Local Defaults" } [/block] In cases when our servers cannot be accessed (such as when the user loses their internet connection), the Primer Android SDK can use local backup files that are custom-tailored to your app to load the appropriate experiences. To add local default, download `PMRDefault.zip` from your [Project Settings](https://goprimer.com/dashboard#/project//edit) in Dashboard. Unarchive it, then drag and drop the folder titled `primer` into your application’s assets directory. [block:callout] { "type": "info", "body": "Keep your local defaults up-to-date. If you update your organic flow on the Dashboard, keep your local defaults in sync by downloading the latest version." } [/block] [block:api-header] { "type": "basic", "title": "Configurable Options" } [/block] When initializing Primer, you can configure some options to tweak the behavior of the SDK. [block:code] { "codes": [ { "code": "PrimerOptions.Builder builder = PrimerOptions.builder();\n\n/*\nConfigure the minimum log level used. \nThe default Log level is Log.WARN. You can change this by calling the following method on the PrimerOptions builder instance, \n*/ \n\nbuilder.withMinLogLevel(Log.VERBOSE);//or any other Log Level\n\n", "language": "text" } ] } [/block]