-
Notifications
You must be signed in to change notification settings - Fork 13
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
Crash when targeting Android 11 #16
Comments
My suggestion if you do not have the time to work on a full fix, would be to skip colors assignments on android 11, which would avoid the crash. |
Hello , @tranb3r i will fix it as soon as possible. Thank you for your help. |
@ishrakland Any update ? A quick fix to prevent the crash by ignoring colors would be good enough... |
try custom toast you can specify the color you want. I will fix it : i have a lot of charge. |
The crash occurs whatever color you specify. |
Experiencing the same issue |
@ishrakland I understand you may not have the time to work on this issue. Do you think you can provide a fix, or at least merge a quick fix to prevent the crash if I do the PR ? |
Same problem here.... and based on the time it got reported.. I assume it won't get fix soon |
Hi ,
I was sick if you can fix it , and i will merge your code
…________________________________
From: douglassimaodev ***@***.***>
Sent: Friday, July 9, 2021 1:04 AM
To: ishrakland/Toast ***@***.***>
Cc: El andaloussi Ishrak ***@***.***>; Mention ***@***.***>
Subject: Re: [ishrakland/Toast] Crash when targeting Android 11 (#16)
Same problem here.... and based on the time it got reported.. I assume it won't get fix soon
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#16 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNC2ZEZCPJXTWZYQCIGXMDTWZDKRANCNFSM4UHMXA3A>.
|
GWS @ishrakland :D |
It's free plugin, opensource and i don't get money from it . it's open for all users to contribute. |
Maintaining this kind of plugin is too big a challenge for the long-term, and the xamarin community toolkit already has a toast functionality. |
@tranb3r Yes, thank you |
Yes, I'm using xamarin community toolkit now, instead of this plugin. |
I'm thinking that the following changes in ShowToastPopUp.cs in Android should fix it
|
Hi. This issue is still repeating in Android 11. When are you coming out with the updated plugin.toast to handle this issue? Thanks. |
Toast getView() was deprecated on Android 11 and it returns null.
So when targeting Android 11, the sample app crashes:
The text was updated successfully, but these errors were encountered: