Title: Android : ModalDialogOptions in Nativescript/Angular fails and throws an exception · Issue #2377 · NativeScript/nativescript-angular · GitHub
Open Graph Title: Android : ModalDialogOptions in Nativescript/Angular fails and throws an exception · Issue #2377 · NativeScript/nativescript-angular
X Title: Android : ModalDialogOptions in Nativescript/Angular fails and throws an exception · Issue #2377 · NativeScript/nativescript-angular
Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 13.2.0 Cross-platform modules: Android Runt...
Open Graph Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 13....
X Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 13....
Opengraph URL: https://github.com/NativeScript/nativescript-angular/issues/2377
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Android : ModalDialogOptions in Nativescript/Angular fails and throws an exception","articleBody":"**Environment**\r\nProvide version numbers for the following components (information can be retrieved by running `tns info` in your project folder or by inspecting the `package.json` of the project):\r\n - CLI: 13.2.0\r\n - Cross-platform modules:\r\n - Android Runtime: 8.2.0\r\n - iOS Runtime: 8.2.0\r\n - Plugin(s):\r\n - NativeScript-Angular: 13.0.0\r\n - Angular:13.0.0\r\n \r\n**Describe the bug**\r\nI am using a ModalDialogOptions from nativescript/angular, it fails only in android with the below exception. Here is the screen shot.\r\n\r\nException - \r\nAn uncaught Exception occurred on \"main\" thread.\r\nCalling js method onCreateView failed\r\nError: Cannot convert number to Landroid/content/res/ColorStateList; at index 0\r\n\r\n\u003cimg width=\"522\" alt=\"Screen Shot 2022-05-11 at 1 06 58 PM\" src=\"https://user-images.githubusercontent.com/52719590/167907227-052d1d9f-f2d6-4ac0-bb60-cff21c715da2.png\"\u003e\r\n","author":{"url":"https://github.com/monishakhapali","@type":"Person","name":"monishakhapali"},"datePublished":"2022-05-11T17:08:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2377/nativescript-angular/issues/2377"}
| 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:375845fb-e33c-e295-ccda-d995fba3ae3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA32:30E8A:7B17B66:A16B787:69755EDD |
| html-safe-nonce | c62b4831285867605df35a56d1aba64843557307fe6fbd3d9fa9150c73f5a167 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTMyOjMwRThBOjdCMTdCNjY6QTE2Qjc4Nzo2OTc1NUVERCIsInZpc2l0b3JfaWQiOiI1ODg4ODEwNTE4NjQ1NjYxNDA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6358f169e78c94b124ec05c00b391a630c094d451b805c5017c3d73421b68db9 |
| hovercard-subject-tag | issue:1232948596 |
| 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-angular/2377/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d7792e1f8d5e76b031e197842f67adacf5cf3081b47e6cd845a523ec1fc9fd80/NativeScript/nativescript-angular/issues/2377 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d7792e1f8d5e76b031e197842f67adacf5cf3081b47e6cd845a523ec1fc9fd80/NativeScript/nativescript-angular/issues/2377 |
| og:image:alt | Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 13.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | monishakhapali |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-angular git https://github.com/NativeScript/nativescript-angular.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 35951404 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35951404 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-angular |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width