{"__v":21,"_id":"565ed96ff76b8d0d0055422b","category":{"__v":18,"_id":"562014108a05d7230006ffad","pages":["562014118a05d7230006ffb6","562014118a05d7230006ffb7","562014118a05d7230006ffb8","562014118a05d7230006ffb9","562014118a05d7230006ffba","562014118a05d7230006ffbb","562014118a05d7230006ffbc","562014118a05d7230006ffbd","562014118a05d7230006ffbe","562014118a05d7230006ffbf","562014118a05d7230006ffc0","5620146f8a05d72300070013","565ed96ff76b8d0d0055422b","565f1bb623fd5f0d00a12a51","565f2996413e06170093de98","565f29db0dc99e1900f24ba8","565f2b23649b951900c89724","565f2b5d413e06170093de9e","5666d8b46819320d000c2e10","5666dd1866debc1700503e38","5666e3da5d00370d00ede577","5666ef36f672550d000851aa","5666f1116819320d000c2e3e","5666f7bf6819320d000c2e53","5672d7fe3cab740d00d15a48","56e961cef3c3031900041af4","56ebc03943304e2900e2116f","56f116a0ab5e790e00fb3950"],"project":"54861bb654b3ce0b00367292","version":"5620140f8a05d7230006ffac","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-12-08T21:55:25.679Z","from_sync":false,"order":0,"slug":"1-setup","title":"Onboarding/Moment integration"},"parentDoc":null,"project":"54861bb654b3ce0b00367292","user":"54861b9f3681d914006992a4","version":{"__v":3,"_id":"5620140f8a05d7230006ffac","project":"54861bb654b3ce0b00367292","createdAt":"2015-10-15T21:01:03.908Z","releaseDate":"2015-10-15T21:01:03.908Z","categories":["562014108a05d7230006ffad","562014108a05d7230006ffae","562014108a05d7230006ffaf","562014108a05d7230006ffb0","562014108a05d7230006ffb1","562014108a05d7230006ffb2","562014108a05d7230006ffb3","562014108a05d7230006ffb4","562014108a05d7230006ffb5","5666f7f5d784a70d00397bff","56967935b6d61f0d00acfb0b"],"is_deprecated":true,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"Moments","version_clean":"2.0.0","version":"2.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-02T11:43:43.533Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":4,"body":"One of the biggest features in elasticode is how easy it is to export  an experience you have just created from your dashboard into your project, Add it to your Xcode project and run it live, even if you are not set up to any of our elasticode plans, or even connected to the internet.\nWe call this the \"default state\".\n\nHow does it work? \nIt's relevant for every moment, meaning a moment or an onboarding\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step #1\"\n}\n[/block]\nCheck that all screens are OK. \nYou've created an experience, now it's time to revise and test\n1. Run it on your device.\n2. Test it in all other devices. We have created an adjusting capability where you can tweak minor adjustments in your app on different devices (compared to iPhone 6).\n\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/6Lo1KFiPQ6ePfI2ntuOe_Screen%20Shot%202015-12-02%20at%203.24.38%20PM.png\",\n        \"Screen Shot 2015-12-02 at 3.24.38 PM.png\",\n        \"171\",\n        \"102\",\n        \"#74acdc\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step #2\"\n}\n[/block]\nGo to settings and look for the export button on the right.\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step #3\"\n}\n[/block]\nIt could be in \"Download\" mode ( where the export is ready ) or you should ask to create it. \nOnce it's done you can download it \n\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step #4\"\n}\n[/block]\nJust Drag the \"exported\" experience into your project\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/nKbIvK18ShKmXbqe1x2v_Untitled51.gif\",\n        \"Untitled51.gif\",\n        \"1440\",\n        \"767\",\n        \"#396191\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Run once in \\\"Development\\\" mode\",\n  \"body\": \"After the export, you will need to run the project at least once, in development mode\"\n}\n[/block]\nLearn more about \"development mode [here](doc:15-debug-mode) \n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"You're all good!\",\n  \"body\": \"You now have a local [ offline ] experience on your device ( would apply in specific scenarios, like \\\"no internet\\\" and other personalized scenarios )\"\n}\n[/block]","excerpt":"For onboarding and moments","slug":"export-an-experience","type":"basic","title":"Export an Experience"}

Export an Experience

For onboarding and moments

One of the biggest features in elasticode is how easy it is to export an experience you have just created from your dashboard into your project, Add it to your Xcode project and run it live, even if you are not set up to any of our elasticode plans, or even connected to the internet. We call this the "default state". How does it work? It's relevant for every moment, meaning a moment or an onboarding [block:api-header] { "type": "basic", "title": "Step #1" } [/block] Check that all screens are OK. You've created an experience, now it's time to revise and test 1. Run it on your device. 2. Test it in all other devices. We have created an adjusting capability where you can tweak minor adjustments in your app on different devices (compared to iPhone 6). [block:image] { "images": [ { "image": [ "https://files.readme.io/6Lo1KFiPQ6ePfI2ntuOe_Screen%20Shot%202015-12-02%20at%203.24.38%20PM.png", "Screen Shot 2015-12-02 at 3.24.38 PM.png", "171", "102", "#74acdc", "" ] } ] } [/block] [block:api-header] { "type": "basic", "title": "Step #2" } [/block] Go to settings and look for the export button on the right. [block:api-header] { "type": "basic", "title": "Step #3" } [/block] It could be in "Download" mode ( where the export is ready ) or you should ask to create it. Once it's done you can download it [block:api-header] { "type": "basic", "title": "Step #4" } [/block] Just Drag the "exported" experience into your project [block:image] { "images": [ { "image": [ "https://files.readme.io/nKbIvK18ShKmXbqe1x2v_Untitled51.gif", "Untitled51.gif", "1440", "767", "#396191", "" ] } ] } [/block] [block:callout] { "type": "info", "title": "Run once in \"Development\" mode", "body": "After the export, you will need to run the project at least once, in development mode" } [/block] Learn more about "development mode [here](doc:15-debug-mode) [block:callout] { "type": "success", "title": "You're all good!", "body": "You now have a local [ offline ] experience on your device ( would apply in specific scenarios, like \"no internet\" and other personalized scenarios )" } [/block]