auth0-blog / dotnet-maui-auth0-app

Apache License 2.0
17 stars 7 forks source link

No login screen on Android #3

Closed improwise closed 2 years ago

improwise commented 2 years ago

Can't get this to work either (as mentioned in comments on Auth0.com). On Windows, the login button is at least displayed, but on Android, you only seem to get a blank Home screen. Am using the latest updated version on GitHub, and have tried both with VS2022 and VS2022 Preview. Other MAUI apps seem to work fine in the same environment.

improwise commented 2 years ago

Was able to get this working by creating a new project on the latest VS template, then add your code, and finally modifying AndroidManifest.xml to

<uses-sdk android:targetSdkVersion="29" android:minSdkVersion="21" />

(default is 31 which requires some additional changes to work)

Thanks!