nativescript-angular
nativescript-angular copied to clipboard
Android : ModalDialogOptions in Nativescript/Angular fails and throws an exception
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