{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/17892","repository_url":"https://api.github.com/repos/ionic-team/ionic","labels_url":"https://api.github.com/repos/ionic-team/ionic/issues/17892/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic/issues/17892/comments","events_url":"https://api.github.com/repos/ionic-team/ionic/issues/17892/events","html_url":"https://github.com/ionic-team/ionic/issues/17892","id":425743000,"node_id":"MDU6SXNzdWU0MjU3NDMwMDA=","number":17892,"title":"my app tabs with flag --prod show tabs  but not load page","user":{"login":"bgauria","id":15893026,"node_id":"MDQ6VXNlcjE1ODkzMDI2","avatar_url":"https://avatars2.githubusercontent.com/u/15893026?v=4","gravatar_id":"","url":"https://api.github.com/users/bgauria","html_url":"https://github.com/bgauria","followers_url":"https://api.github.com/users/bgauria/followers","following_url":"https://api.github.com/users/bgauria/following{/other_user}","gists_url":"https://api.github.com/users/bgauria/gists{/gist_id}","starred_url":"https://api.github.com/users/bgauria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgauria/subscriptions","organizations_url":"https://api.github.com/users/bgauria/orgs","repos_url":"https://api.github.com/users/bgauria/repos","events_url":"https://api.github.com/users/bgauria/events{/privacy}","received_events_url":"https://api.github.com/users/bgauria/received_events","type":"User","site_admin":false},"labels":[{"id":96053308,"node_id":"MDU6TGFiZWw5NjA1MzMwOA==","url":"https://api.github.com/repos/ionic-team/ionic/labels/needs:%20reply","name":"needs: reply","color":"705DFB","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-03-27T03:14:38Z","updated_at":"2019-04-26T12:28:17Z","closed_at":null,"author_association":"NONE","body":"<!-- Before submitting an issue, please consult our docs (https://ionicframework.com/docs/). -->\r\n\r\n<!-- Please make sure you are posting an issue pertaining to the Ionic Framework. If you are having an issue with the Ionic Appflow services (Ionic View, Ionic Deploy, etc.) please consult the Ionic Appflow support portal (https://ionic.zendesk.com/hc/en-us) -->\r\n\r\n<!-- Please do not submit support requests or \"How to\" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/ -->\r\n\r\n<!-- ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. -->\r\n\r\n# Bug Report\r\n\r\n**Ionic version:**\r\n<!-- (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) -->\r\n<!-- (For Ionic 2.x & 3.x issues, please use https://github.com/ionic-team/ionic-v3) -->\r\n[x] **4.x**\r\n\r\n**Current behavior:**\r\n<!-- Describe how the bug manifests. -->\r\n\r\nwhen I run ionic cordova run android --prod the application loads the tabs, but does not load the pages\r\n**Expected behavior:**\r\n<!-- Describe what the behavior would be without the bug. -->\r\n\r\n**Steps to reproduce:**\r\n<!--  Please explain the steps required to duplicate the issue, especially if you are able to provide a sample application. -->\r\n\r\n**Related code:**\r\n\r\n<!-- If you are able to illustrate the bug or feature request with an example, please provide a sample application via one of the following means:\r\n\r\nA sample application via GitHub\r\n\r\nStackBlitz (https://stackblitz.com)\r\n\r\nPlunker (http://plnkr.co/edit/cpeRJs?p=preview)\r\n\r\n-->\r\n\r\n```\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { TabsPage } from './tabs.page';\r\n\r\nconst routes: Routes = [\r\n  {\r\n    path: 'tabs',\r\n    component: TabsPage,\r\n    children: [\r\n      {\r\n        path: 'home',\r\n        children: [\r\n          {\r\n            path: '',\r\n            loadChildren: '../home/home.module#HomePageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: 'home/detail-output/:page',\r\n        children: [\r\n          \r\n          {\r\n            path: '',\r\n            loadChildren: '../detail-output/detail-output.module#DetailOutputPageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: 'home/detail-output/buy-output/program',\r\n        children: [\r\n          \r\n          {\r\n            path: '',\r\n            loadChildren: '../buy-output/buy-output.module#BuyOutputPageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: 'home/comission',\r\n        children: [\r\n          {\r\n            path: '',\r\n            loadChildren: '../comission/comission.module#ComissionPageModule'\r\n          }\r\n        ]\r\n      },   \r\n    {\r\n      path: 'home/profile',\r\n      children: [\r\n        {\r\n          path: '',\r\n          loadChildren: '../profile/profile.module#ProfilePageModule'\r\n        }\r\n      ]\r\n    },\r\n    {\r\n      path: 'home/profile/login',\r\n      children: [\r\n        \r\n        {\r\n          path: '',\r\n          loadChildren: '../login/login.module#LoginPageModule'\r\n        }\r\n      ]\r\n    },\r\n    {\r\n      path: 'home/profile/login/register',\r\n      children: [\r\n        \r\n        {\r\n          path: '',\r\n          loadChildren: '../register/register.module#RegisterPageModule'\r\n        }\r\n      ]\r\n    },\r\n\r\n      {\r\n        path: 'home/buy-output',\r\n        children: [\r\n          \r\n          {\r\n            path: '',\r\n            loadChildren: '../buy-output/buy-output.module#BuyOutputPageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: 'profile',\r\n        children: [\r\n          {\r\n            path: '',\r\n            loadChildren: '../profile/profile.module#ProfilePageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: 'profile/login',\r\n        children: [\r\n          \r\n          {\r\n            path: '',\r\n            loadChildren: '../login/login.module#LoginPageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: 'profile/login/register',\r\n        children: [\r\n          \r\n          {\r\n            path: '',\r\n            loadChildren: '../register/register.module#RegisterPageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: 'gallery',\r\n        children: [\r\n          {\r\n            path: '',\r\n            loadChildren: '../gallery/gallery.module#GalleryPageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: 'programs',\r\n        children: [\r\n          {\r\n            path: '',\r\n            loadChildren: '../programs/programs.module#ProgramsPageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: 'programs/detail-output/:page', //:id\r\n        children: [\r\n          \r\n          {\r\n            path: '',\r\n            loadChildren: '../detail-output/detail-output.module#DetailOutputPageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: 'programs/detail-output/buy-output/program',\r\n        children: [\r\n          \r\n          {\r\n            path: '',\r\n            loadChildren: '../buy-output/buy-output.module#BuyOutputPageModule'\r\n          }\r\n        ]\r\n      },\r\n\r\n      {\r\n        path: 'programs/buy-output',\r\n        children: [\r\n          \r\n          {\r\n            path: '',\r\n            loadChildren: '../buy-output/buy-output.module#BuyOutputPageModule'\r\n          }\r\n        ]\r\n      },\r\n\r\n\r\n      {\r\n        path: 'my-reservations',\r\n        children: [\r\n          {\r\n            path: '',\r\n            loadChildren: '../my-reservations/my-reservations.module#MyReservationsPageModule'\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        path: '',\r\n        redirectTo: '/tabs/home',\r\n        pathMatch: 'full'\r\n      },\r\n    ]\r\n  },  {\r\n    path: '',\r\n    redirectTo: '/tabs/home',\r\n    pathMatch: 'full'\r\n  }\r\n];\r\n\r\n@NgModule({\r\n  imports: [\r\n    RouterModule.forChild(routes)\r\n  ],\r\n  exports: [RouterModule]\r\n})\r\nexport class TabsPageRoutingModule {}\r\n\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\nI run my application on a real mobile with android 8.0 and one with 5.1.1 and it does not work\r\n![image](https://user-images.githubusercontent.com/15893026/55047800-0847c500-5014-11e9-89ec-84ebbe633954.png)\r\n\r\n**Ionic info:**\r\n<!-- (run `ionic info` from a terminal/cmd prompt and paste output below): -->\r\n\r\n```\r\nIonic:\r\n\r\n   ionic (Ionic CLI)             : 4.12.0 (C:\\Users\\abjul\\AppData\\Roaming\\npm\\node_modules\\ionic)\r\n   Ionic Framework               : @ionic/angular 4.0.0\r\n   @angular-devkit/build-angular : 0.13.6\r\n   @angular-devkit/schematics    : 7.2.3\r\n   @angular/cli                  : 7.2.3\r\n   @ionic/angular-toolkit        : 1.3.0\r\n\r\nCordova:\r\n\r\n   cordova (Cordova CLI) : 9.0.0\r\n   Cordova Platforms     : android 7.1.4\r\n   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 7 other plugins)\r\n\r\nSystem:\r\n\r\n   Android SDK Tools : 26.1.1 (C:\\Users\\abjul\\AppData\\Local\\Android\\Sdk)\r\n   NodeJS            : v8.12.0 (C:\\Program Files\\nodejs\\node.exe)\r\n   npm               : 6.4.1\r\n   OS                : Windows 10\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/comments/487039214","html_url":"https://github.com/ionic-team/ionic/issues/17892#issuecomment-487039214","issue_url":"https://api.github.com/repos/ionic-team/ionic/issues/17892","id":487039214,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4NzAzOTIxNA==","user":{"login":"ionitron-bot[bot]","id":35967572,"node_id":"MDM6Qm90MzU5Njc1NzI=","avatar_url":"https://avatars1.githubusercontent.com/in/8640?v=4","gravatar_id":"","url":"https://api.github.com/users/ionitron-bot%5Bbot%5D","html_url":"https://github.com/apps/ionitron-bot","followers_url":"https://api.github.com/users/ionitron-bot%5Bbot%5D/followers","following_url":"https://api.github.com/users/ionitron-bot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/ionitron-bot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/ionitron-bot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionitron-bot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/ionitron-bot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/ionitron-bot%5Bbot%5D/repos","events_url":"https://api.github.com/users/ionitron-bot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/ionitron-bot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-04-26T12:28:17Z","updated_at":"2019-04-26T12:28:17Z","author_association":"NONE","body":"Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.\n\nThank you for using Ionic!\n"}}
{"actor":{"display_login":"ionitron-bot"}}