Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nativescript-toast not showing on iOS

After I updated to the latest version of nativescript-toast it stopped working in iOS (In Android it's working fine). I mean, the toast are not being shown, while the app works as expected.

In the previous version everything was as expected. But after I update to the new one, it stop working and also added the pod SBToaster to my podfile.

This is the package.json

"nativescript-toast": "^2.0.0",

In the past I have the version 1.4.6

And in my Podfile I have:

pod 'SBToaster', '~> 2.1.2'
pod 'Toast'

In my component I have:

Toast.makeText(message).show();
like image 204
Faabass Avatar asked Apr 16 '19 13:04

Faabass


1 Answers

I was facing various compatibility issues with nativescript-toast plugin on latest SDK. The easiest way seem to be switching to nativescript-toasty plugin which is more relevant and up to date.

tns plugin add nativescript-toasty
like image 163
Manoj Avatar answered Oct 24 '22 05:10

Manoj