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: patch-diff.githubusercontent.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:bc81ffd4-351e-656f-ee87-cbb69e39aad4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C376:3CCDD4:15289E6:1B5624B:6974810C |
| html-safe-nonce | 215ead8163f39672c41ceaaaea2094bd9f344dfbe1607aa1963f71481ac0c5c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzc2OjNDQ0RENDoxNTI4OUU2OjFCNTYyNEI6Njk3NDgxMEMiLCJ2aXNpdG9yX2lkIjoiNDAyNjY5NjI0ODgyMjM2NjQ3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 346cf6c21468d70cba78980b2bec219842fc3bc025acc9c767ed253968a786a7 |
| 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 | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| 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 | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width