{"__v":0,"_id":"58f7a4c9cbd001190056cc48","category":{"version":"58f7a4c8cbd001190056cbf8","project":"578c4badbd223d2000cc1441","_id":"58f7a4c8cbd001190056cbfc","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-07-18T21:08:45.730Z","from_sync":false,"order":3,"slug":"develop","title":"Develop"},"parentDoc":null,"project":"578c4badbd223d2000cc1441","user":"584328a7c3fec61b001d17c6","version":{"__v":1,"_id":"58f7a4c8cbd001190056cbf8","project":"578c4badbd223d2000cc1441","createdAt":"2017-04-19T17:56:24.172Z","releaseDate":"2017-04-19T17:56:24.172Z","categories":["58f7a4c8cbd001190056cbf9","58f7a4c8cbd001190056cbfa","58f7a4c8cbd001190056cbfb","58f7a4c8cbd001190056cbfc","58f7a4c8cbd001190056cbfd","58f7a4c8cbd001190056cbfe"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-03-24T23:14:03.096Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":25,"body":"This page documents some of the common scenarios that you might run into while developing on Viro. If you are facing an issue that is not covered here, please open an issue on our github [here](https://github.com/viromedia/viro/issues).\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"1. My screen appears just black.\"\n}\n[/block]\nYour application could be missing keys. Make sure you include your key emailed to you when you signed up [here](http://www.viromedia.com/signup), in the index.android.js and index.ios.js files. \n[block:api-header]\n{\n  \"title\": \"2. My android app shows an old scene, when I restart the app.\"\n}\n[/block]\nThe android platform caches the scene from last run. If you are not seeing updates to the scene on code changes, hit reload using developer menu.\n[block:api-header]\n{\n  \"title\": \"3. My android app is crashing repeatedly while reloading scenes.\"\n}\n[/block]\nIf your app started crashing repeatedly after changing scenes, you may need to clear the application cache by either clearing data or by uninstalling and installing the app.\n[block:api-header]\n{\n  \"title\": \"4. React Developer menu does not appear on my android app.\"\n}\n[/block]\nIf you are developing on Cardboard and Nougat device, then make sure to set the debug flag in `ViroSceneNavigator` to true in your index.android.js file\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<ViroSceneNavigator apiKey=\\\"API_KEY_HERE\\\"\\n       initialScene={{scene: scene}}\\n       vrModeEnabled={this.props.vrMode}\\n       debug={this.props.debug} // set this to true\\n        />\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\nThe developer menu is not supported on Daydream.\n[block:api-header]\n{\n  \"title\": \"5. Certain Assets / Resources types are not loading in my application.\"\n}\n[/block]\nIf your application cannot find assets/resources in your project, it may be that you need to update the `rn-cli.config.js` and add the extension to `getAssetExts()`","excerpt":"","slug":"troubleshooting","type":"basic","title":"Troubleshooting"}
This page documents some of the common scenarios that you might run into while developing on Viro. If you are facing an issue that is not covered here, please open an issue on our github [here](https://github.com/viromedia/viro/issues). [block:api-header] { "type": "basic", "title": "1. My screen appears just black." } [/block] Your application could be missing keys. Make sure you include your key emailed to you when you signed up [here](http://www.viromedia.com/signup), in the index.android.js and index.ios.js files. [block:api-header] { "title": "2. My android app shows an old scene, when I restart the app." } [/block] The android platform caches the scene from last run. If you are not seeing updates to the scene on code changes, hit reload using developer menu. [block:api-header] { "title": "3. My android app is crashing repeatedly while reloading scenes." } [/block] If your app started crashing repeatedly after changing scenes, you may need to clear the application cache by either clearing data or by uninstalling and installing the app. [block:api-header] { "title": "4. React Developer menu does not appear on my android app." } [/block] If you are developing on Cardboard and Nougat device, then make sure to set the debug flag in `ViroSceneNavigator` to true in your index.android.js file [block:code] { "codes": [ { "code": "<ViroSceneNavigator apiKey=\"API_KEY_HERE\"\n initialScene={{scene: scene}}\n vrModeEnabled={this.props.vrMode}\n debug={this.props.debug} // set this to true\n />", "language": "javascript" } ] } [/block] The developer menu is not supported on Daydream. [block:api-header] { "title": "5. Certain Assets / Resources types are not loading in my application." } [/block] If your application cannot find assets/resources in your project, it may be that you need to update the `rn-cli.config.js` and add the extension to `getAssetExts()`