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

Bump compileSdk to 34 #4082

Closed
wants to merge 1 commit into from
Closed

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Oct 28, 2023

No description provided.

@connyduck
Copy link
Collaborator

Should we also have a look how the predictive back gesture works with Tusky?

Related issue: #4005

@Goooler
Copy link
Contributor Author

Goooler commented Oct 28, 2023

This is just bumping compileSdk, which is irrelevant to targetSdk?

@connyduck
Copy link
Collaborator

connyduck commented Oct 28, 2023

I see. I usually upgrade them together but I guess this works as well.

@connyduck
Copy link
Collaborator

There are some new deprecations which should probably be addressed:
overrideActivityTransition
startActivityAndCollapse - this one apparently throws UnsupportedOperationException on Upside Down Cake

@connyduck connyduck mentioned this pull request Jan 9, 2024
connyduck added a commit that referenced this pull request Feb 23, 2024
builds upon work from #4082 

Additionally fixes some deprecations and adds support for [predictive
back](https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture).
I also refactored how the activity transitions work because they are
closely related to predictive back. The awkward
`finishWithoutSlideOutAnimation` is gone, activities that have been
started with slide in will now automatically close with slide out.

To test predictive back you need an emulator or device with Sdk 34
(Android 14) and then enable it in the developer settings.

Predictive back requires the back action to be determined before it
actually occurs so the system can play the right predictive animation,
which made a few reorganisations necessary.

closes #4082 
closes #4005 
unlocks a bunch of dependency upgrades that require sdk 34

---------

Co-authored-by: Goooler <[email protected]>
@Goooler Goooler deleted the compile-sdk-34 branch February 23, 2024 09:32
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 this pull request may close these issues.

2 participants