Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android : ModalDialogOptions in Nativescript/Angular fails and throws an exception #2377

Open
monishakhapali opened this issue May 11, 2022 · 0 comments

Comments

@monishakhapali
Copy link

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 Runtime: 8.2.0
  • iOS Runtime: 8.2.0
  • Plugin(s):
  • NativeScript-Angular: 13.0.0
  • Angular:13.0.0

Describe the bug
I am using a ModalDialogOptions from nativescript/angular, it fails only in android with the below exception. Here is the screen shot.

Exception -
An uncaught Exception occurred on "main" thread.
Calling js method onCreateView failed
Error: Cannot convert number to Landroid/content/res/ColorStateList; at index 0

Screen Shot 2022-05-11 at 1 06 58 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant