Title: 'tns build android' issue breaks application · Issue #8541 · NativeScript/NativeScript · GitHub
Open Graph Title: 'tns build android' issue breaks application · Issue #8541 · NativeScript/NativeScript
X Title: 'tns build android' issue breaks application · Issue #8541 · NativeScript/NativeScript
Description: Environment CLI: 6.4 Cross-platform modules: Android Runtime: 6.4.1 iOS Runtime: Plugin(s): Describe the bug I built an android app bundle (.aab) and installed it on my phone. That was when I noticed that half of my pages were blank for ...
Open Graph Description: Environment CLI: 6.4 Cross-platform modules: Android Runtime: 6.4.1 iOS Runtime: Plugin(s): Describe the bug I built an android app bundle (.aab) and installed it on my phone. That was when I notic...
X Description: Environment CLI: 6.4 Cross-platform modules: Android Runtime: 6.4.1 iOS Runtime: Plugin(s): Describe the bug I built an android app bundle (.aab) and installed it on my phone. That was when I notic...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/8541
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'tns build android' issue breaks application","articleBody":"**Environment**\r\n - CLI: 6.4\r\n - Cross-platform modules:\r\n - Android Runtime: 6.4.1\r\n - iOS Runtime:\r\n - Plugin(s):\r\n\r\n**Describe the bug**\r\nI built an android app bundle (.aab) and installed it on my phone. That was when I noticed that half of my pages were blank for no reason. The reason for this was that in some pages I had a \"$parents['BottomNavigation']\" reference in order to use certain properties from my root binding context, so I checked command parameters and problem was gone when I removed '--env.uglify'.\r\n\r\n**To Reproduce**\r\nAdd a '$parents' root binding inside one of application pages (e.g. $parents['Frame']).\r\nThen, build and install application using the following command:\r\ntns build android --release --bundle --env.uglify --key-store-path \u003cpath-to-your-keystore\u003e --key-store-password \u003cyour-key-store-password\u003e --key-store-alias \u003cyour-alias-name\u003e --key-store-alias-password \u003cyour-alias-password\u003e --aab\r\n\r\nExecute command again after removing '--env.uglify' to notice the difference.\r\n\r\n**Expected behavior**\r\nBundle should be exported without issues.\r\n\r\n**Sample project**","author":{"url":"https://github.com/CatchABus","@type":"Person","name":"CatchABus"},"datePublished":"2020-04-16T23:50:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/8541/NativeScript/issues/8541"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cbbe6845-1f58-33e5-3ca6-6b49bfc92ca8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E6C8:42DE3:21AFAE1:2AE20DF:6975E457 |
| html-safe-nonce | d3ea1d591610c96d624a5eb488b537fbbc3c30b7fe0c2216a189f7f3a8bd69b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkM4OjQyREUzOjIxQUZBRTE6MkFFMjBERjo2OTc1RTQ1NyIsInZpc2l0b3JfaWQiOiIyMzI1MjU3MTcyNDM4MTQ5OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2c8a17c8296710908f54b179df100a5c9775fea9e9c4316582b36f10dd1907b3 |
| hovercard-subject-tag | issue:601602409 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/8541/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3fbb8ed4bd71547e426c7249d5e4ab0a1b5ed95198a6ffa769ae28eaa06b32e5/NativeScript/NativeScript/issues/8541 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3fbb8ed4bd71547e426c7249d5e4ab0a1b5ed95198a6ffa769ae28eaa06b32e5/NativeScript/NativeScript/issues/8541 |
| og:image:alt | Environment CLI: 6.4 Cross-platform modules: Android Runtime: 6.4.1 iOS Runtime: Plugin(s): Describe the bug I built an android app bundle (.aab) and installed it on my phone. That was when I notic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CatchABus |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2bce766e7450b03e00b2fc5badd417927ce33a860e78cda3e4ecb9bbd1374cc6 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fcca2b8ef702b5f7f91427a6e920fa44446fe312 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width