{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/10793","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/10793/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/10793/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/10793/events","html_url":"https://github.com/driftyco/ionic/issues/10793","id":214475581,"number":10793,"title":"this.nav.getActiveChildNav().canGoBack() is not a function","user":{"login":"kamok","id":9758567,"avatar_url":"https://avatars0.githubusercontent.com/u/9758567?v=3","gravatar_id":"","url":"https://api.github.com/users/kamok","html_url":"https://github.com/kamok","followers_url":"https://api.github.com/users/kamok/followers","following_url":"https://api.github.com/users/kamok/following{/other_user}","gists_url":"https://api.github.com/users/kamok/gists{/gist_id}","starred_url":"https://api.github.com/users/kamok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamok/subscriptions","organizations_url":"https://api.github.com/users/kamok/orgs","repos_url":"https://api.github.com/users/kamok/repos","events_url":"https://api.github.com/users/kamok/events{/privacy}","received_events_url":"https://api.github.com/users/kamok/received_events","type":"User","site_admin":false},"labels":[{"id":311009737,"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744","default":false}],"state":"open","locked":false,"assignee":{"login":"manucorporat","id":127379,"avatar_url":"https://avatars1.githubusercontent.com/u/127379?v=3","gravatar_id":"","url":"https://api.github.com/users/manucorporat","html_url":"https://github.com/manucorporat","followers_url":"https://api.github.com/users/manucorporat/followers","following_url":"https://api.github.com/users/manucorporat/following{/other_user}","gists_url":"https://api.github.com/users/manucorporat/gists{/gist_id}","starred_url":"https://api.github.com/users/manucorporat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manucorporat/subscriptions","organizations_url":"https://api.github.com/users/manucorporat/orgs","repos_url":"https://api.github.com/users/manucorporat/repos","events_url":"https://api.github.com/users/manucorporat/events{/privacy}","received_events_url":"https://api.github.com/users/manucorporat/received_events","type":"User","site_admin":false},"assignees":[{"login":"manucorporat","id":127379,"avatar_url":"https://avatars1.githubusercontent.com/u/127379?v=3","gravatar_id":"","url":"https://api.github.com/users/manucorporat","html_url":"https://github.com/manucorporat","followers_url":"https://api.github.com/users/manucorporat/followers","following_url":"https://api.github.com/users/manucorporat/following{/other_user}","gists_url":"https://api.github.com/users/manucorporat/gists{/gist_id}","starred_url":"https://api.github.com/users/manucorporat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manucorporat/subscriptions","organizations_url":"https://api.github.com/users/manucorporat/orgs","repos_url":"https://api.github.com/users/manucorporat/repos","events_url":"https://api.github.com/users/manucorporat/events{/privacy}","received_events_url":"https://api.github.com/users/manucorporat/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-03-15T17:57:13Z","updated_at":"2017-03-16T18:06:11Z","closed_at":null,"body":"**Ionic version:**  (check one with \"x\")\r\n[ ] **1.x**\r\n[x] **2.x**\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n[x] bug report\r\n[ ] feature request\r\n[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/\r\n\r\n**Current behavior:**\r\nIn my `app.component.ts`, I have a bit of code that sets timeout. I want to pop off the view, but only `pop` if that page can go back (if user is at a component that is not root). I try to access the current instance of the NavController with `this.nav.getActiveChildNav`), which does give me something not undefined. But I can't call `canGoBack()` on it for some reason.\r\n\r\n**Expected behavior:**\r\nIt should let me call canGoBack(). Unless I am misreading the docs and not actually getting the active child nav instance.\r\n\r\n**Related code:**\r\n\r\n```\r\ninsert any relevant code here\r\n```\r\n\r\n**Other information:**\r\n<!-- List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, etc. -->\r\n\r\n**Ionic info:** (run `ionic info` from a terminal/cmd prompt and paste output below):\r\n\r\n```\r\nCordova CLI: 6.4.0\r\nIonic Framework Version: 2.0.0\r\nIonic CLI Version: 2.1.4\r\nIonic App Lib Version: 2.1.2\r\nIonic App Scripts Version: 1.1.4\r\nios-deploy version: 1.9.0\r\nios-sim version: Not installed\r\nOS: Mac OS X El Capitan\r\nNode Version: v6.9.1\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/287143548","html_url":"https://github.com/driftyco/ionic/issues/10793#issuecomment-287143548","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/10793","id":287143548,"user":{"login":"manucorporat","id":127379,"avatar_url":"https://avatars1.githubusercontent.com/u/127379?v=3","gravatar_id":"","url":"https://api.github.com/users/manucorporat","html_url":"https://github.com/manucorporat","followers_url":"https://api.github.com/users/manucorporat/followers","following_url":"https://api.github.com/users/manucorporat/following{/other_user}","gists_url":"https://api.github.com/users/manucorporat/gists{/gist_id}","starred_url":"https://api.github.com/users/manucorporat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manucorporat/subscriptions","organizations_url":"https://api.github.com/users/manucorporat/orgs","repos_url":"https://api.github.com/users/manucorporat/repos","events_url":"https://api.github.com/users/manucorporat/events{/privacy}","received_events_url":"https://api.github.com/users/manucorporat/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T18:06:11Z","updated_at":"2017-03-16T18:06:11Z","body":"what does `this.nav.getActiveChildNav()` return?"}}
{"actor":{"display_login":"manucorporat"}}