NathanWalker / nativescript-fancyalert

Fancy alerts for NativeScript.
Other
147 stars 38 forks source link

support types ios/android #64

Closed fransyozef closed 5 years ago

fransyozef commented 5 years ago

I have this code:

      TNSFancyAlert.show(
        isIOS ? TNSFancyAlert.SUPPORTED_TYPES.SUCCESS : IFancyAlertSupportedTypesAndroid.SUCCESS,
        "Welcome!",
        "Good to see you",
        "Thank you",
        2
      );

the problem is, once I run this on android

IFancyAlertSupportedTypesAndroid.SUCCESS

is not known. How can I access to that enum? In the IOS source the types are in the export class TNSFancyAlert. The IFancyAlertSupportedTypesAndroid is not included in the export class.