Toast icon indicating copy to clipboard operation
Toast copied to clipboard

Not Working On Android 12

Open QTech-Pete opened this issue 2 years ago • 0 comments

I have 2 devices one is android 10 and the other is android 12. Toast works on android 10 but not in android 12.

Here is the stack trace.

{System.NullReferenceException: Object reference not set to an instance of an object. at Plugin.Toast.ShowToastPopUp.ShowMessage (System.String message, System.String backgroundHexColor, System.String textHexColor, Plugin.Toast.Abstractions.ToastLength toastLength) [0x0003d] in C:\Users\10061213\Toast\Toast.Plugin.Android\ShowToastPopUp.cs:79 at Plugin.Toast.ShowToastPopUp.ShowCustomToast (System.String message, System.String bgColor, System.String txtColor, Plugin.Toast.Abstractions.ToastLength toastLength) [0x00000] in C:\Users\10061213\Toast\Toast.Plugin.Android\ShowToastPopUp.cs:26 at Services.ToastService.ShortToast (System.String message, System.Boolean success) [0x00010] in ~Services\ToastService.cs:76 }

QTech-Pete avatar May 06 '22 01:05 QTech-Pete