{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/204","repository_url":"https://api.github.com/repos/driftyco/ionic-conference-app","labels_url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/204/comments","events_url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/204/events","html_url":"https://github.com/driftyco/ionic-conference-app/issues/204","id":160548136,"number":204,"title":"[Enhancement] Display tutorial only on first app use","user":{"login":"ZiFFeL1992","id":5492960,"avatar_url":"https://avatars.githubusercontent.com/u/5492960?v=3","gravatar_id":"","url":"https://api.github.com/users/ZiFFeL1992","html_url":"https://github.com/ZiFFeL1992","followers_url":"https://api.github.com/users/ZiFFeL1992/followers","following_url":"https://api.github.com/users/ZiFFeL1992/following{/other_user}","gists_url":"https://api.github.com/users/ZiFFeL1992/gists{/gist_id}","starred_url":"https://api.github.com/users/ZiFFeL1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZiFFeL1992/subscriptions","organizations_url":"https://api.github.com/users/ZiFFeL1992/orgs","repos_url":"https://api.github.com/users/ZiFFeL1992/repos","events_url":"https://api.github.com/users/ZiFFeL1992/events{/privacy}","received_events_url":"https://api.github.com/users/ZiFFeL1992/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-15T23:41:23Z","updated_at":"2016-06-21T10:40:55Z","closed_at":null,"body":"#### What behavior are you expecting?\r\nDisplay the start tutorial just the first time an user uses the app."},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/comments/227403703","html_url":"https://github.com/driftyco/ionic-conference-app/issues/204#issuecomment-227403703","issue_url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/204","id":227403703,"user":{"login":"ashishtilara","id":1509613,"avatar_url":"https://avatars.githubusercontent.com/u/1509613?v=3","gravatar_id":"","url":"https://api.github.com/users/ashishtilara","html_url":"https://github.com/ashishtilara","followers_url":"https://api.github.com/users/ashishtilara/followers","following_url":"https://api.github.com/users/ashishtilara/following{/other_user}","gists_url":"https://api.github.com/users/ashishtilara/gists{/gist_id}","starred_url":"https://api.github.com/users/ashishtilara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashishtilara/subscriptions","organizations_url":"https://api.github.com/users/ashishtilara/orgs","repos_url":"https://api.github.com/users/ashishtilara/repos","events_url":"https://api.github.com/users/ashishtilara/events{/privacy}","received_events_url":"https://api.github.com/users/ashishtilara/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T10:40:55Z","updated_at":"2016-06-21T10:40:55Z","body":"I've been following this thread https://forum.ionicframework.com/t/conditional-rootpage/44613\r\n\r\nAnd I tried to add following in `app.ts`\r\n ```javascript\r\nimport {Storage, LocalStorage} from 'ionic-angular';\r\n...\r\n  rootPage: any = TutorialPage;\r\n  storage = new Storage(LocalStorage);\r\n...\r\n    platform.ready().then(() => {\r\n      that.storage.get(\"didTutorial\") .then((value) => {\r\n        if (value === \"true\") {\r\n          that.rootPage = TabsPage;\r\n        }\r\n      });\r\n    });\r\n```\r\n\r\nand following in tutorial.ts\r\n\r\n```javascript\r\nimport {Storage, LocalStorage} from 'ionic-angular';\r\n...\r\n  showSkip = true;\r\n  storage = new Storage(LocalStorage);\r\n...\r\n  startApp() {\r\n    this.storage.set(\"didTutorial\", true);\r\n    this.nav.push(TabsPage);\r\n  }\r\n```\r\n\r\nbut it still loads tutorial page, before moving to tabs page 😢 "}}
{"actor":{"display_login":"ashishtilara"}}