Skip to content
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

App throwing exception when trying to log in. #239

Closed
Panosfunk opened this issue Mar 11, 2024 · 3 comments · Fixed by #243
Closed

App throwing exception when trying to log in. #239

Panosfunk opened this issue Mar 11, 2024 · 3 comments · Fixed by #243
Assignees

Comments

@Panosfunk
Copy link
Collaborator

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cachet.carp_studies_app/net.openid.appauth.RedirectUriReceiverActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

@Panosfunk Panosfunk self-assigned this Mar 11, 2024
@Panosfunk
Copy link
Collaborator Author

Panosfunk commented Mar 11, 2024

openid/AppAuth-Android#1023

This seems to be fixing the issue.

Add android:theme="@style/Theme.AppCompat.Translucent.NoTitleBar" (or any other appcompat-theme) to the RedirectUriReceiverActivity declaration inside AndroidManifest.xml.

@SlimShadyIAm
Copy link
Collaborator

Can this be closed @Panosfunk?

@Panosfunk
Copy link
Collaborator Author

Can this be closed @Panosfunk?

It will be closed when the branch is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants