-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Toasty ios: ReferenceError: ToastStyle is not defined #2
Comments
Interesting did you try cleaning/nuking after installing? If yes can you try logging |
After installing the plugin, I cleaned the platforms folder and built the app again, but I get the same result. Not sure what you mean, but this is what I do:
So I logged toastModule.ToastDuration and toastModule.ToastPosition, and I got: |
Sorry I meant doing something like the following
Usually if you were using something like typescript you would of need to add |
@triniwiz I gave it another try in a NS typescript project:
So I tried to log the ToastStyle element and I got the same error
|
Yeah seems to be a silly mistake 😂 with the project structure will publish soon |
Update to the latest to enjoy 😄 |
@triniwiz thank you very much! |
First, thank you for keeping that bunch of plugins up-to-date and to support NS 7!
I tried @triniwiz/[email protected] and it works very well on Android (except Android 11, see triniwiz/nativescript-toasty#45), but on iOS I do not see the Toast and I get the following error:
The text was updated successfully, but these errors were encountered: