-
Notifications
You must be signed in to change notification settings - Fork 38
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
Android.Views.WindowManagerBadTokenException: Exception of type 'Android.Views.WindowManagerBadTokenException' was thrown #3
Comments
10-23 15:38:04.813 I/MonoDroid(21116): UNHANDLED EXCEPTION: |
What Android API level? |
My app supports android 4.0 and above |
If you ARE using a very recent API level, I'm interested to see if you get the same type of exception when running one of the Xamarin.Forms samples: https://github.com/xamarin/xamarin-forms-samples Try a few out and see what you get. If you're consistently seeing the same error, it may be a problem with APIs in the newest API level. Full disclosure: I'm really not an Android expert of any kind (yet). |
Is that 4.0 what you're TARGETING in the app settings? Is that the only API level that you have installed? |
I only have it with this app. The code works in iOS but not android. I have only api level 14 in use. |
When I built this sample, I only had Android API level 18 (Android 4.3 Jellybean) installed. No other API levels were installed. |
Ok, I will try this tomorrow when I am back at work, I will let you know what happens. |
Cool. I'm interested to hear. |
So, I tried different android api levels and I get the same error in all of them. Now I get this error trace: An unhandled exception occured. |
So I narrowed the error down to the pagerenderer where I implement the xamarin auth component. |
More specific, it crashes from the moment it loads my redirect url |
anyone found a solution to this. I too getting this error. |
Up Up Up :-) I'm getting the same error with Facebook authentication. I get this error with this sample and on my own project. Can someone help me with this ?? Pleeeeeeeeeeeeease |
That error went away when I modified my returnUrl by the Facebook one (https://www.facebook.com/connect/login_success.html). |
Hi,
I used your code for my app but when I invoke an action in my android page renderer I get the above error. This is my code:
protected override void OnElementChanged(ElementChangedEventArgs e)
{
base.OnElementChanged(e);
public Action NavigateToValidationPageAction
{
get
{
return new Action(() =>
{
App.LoginOk = true;
NavPage.Navigation.PopModalAsync();
}
});
}
}
The text was updated successfully, but these errors were encountered: