diff --git a/startup.js b/startup.js index e1f0eba..6817eeb 100644 --- a/startup.js +++ b/startup.js @@ -6,8 +6,8 @@ export default () => { // when reloading the app, the scene should be cleared. // on prod, this usually does not happen, but you can reload the app in develop mode // without clearing, this would result in inconsistency + // do this only when arkit was already initialized ARKitManager.isInitialized().then(isInitialized => { - console.log('was already initialized on startup', isInitialized); if (isInitialized) { ARKitManager.clearScene(); }