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

Try fix android 13 #1

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Try fix android 13 #1

merged 3 commits into from
Dec 2, 2024

Conversation

rlebranchu
Copy link
Collaborator

This is the answer to this ticket's problem: pratikbutani#109.

Explaination :
With Android 13, the MultiSpinnerSearch component crashed since it used Instrumentation to simulate pressing the back button. In Android 13 (and later), this requires the INJECT_EVENT permission to be set in AndroidManifest. Except that this requires the application to be in system_app.

Solution :
So I found another solution by making this fix pratikbutani#109 (comment).

What's more, the latest generation of this library is a bit old: I also had to update its configuration.

@rlebranchu rlebranchu added the bug Something isn't working label Dec 2, 2024
@rlebranchu rlebranchu merged commit 6f1d7ed into master Dec 2, 2024
@rlebranchu rlebranchu deleted the try-fix-android-13 branch December 2, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App is crashing in Android 13 , getting issue Injecting input events ,in line no. MultiSpinnerSearch.java:185
2 participants