Version
Add the version of the litho packages you use. You can paste the dependency
section of the gradle file if you have one.
Issues and Steps to Reproduce
- EnableOnBackInvokedCallback=true in the AndroidManifest.xml of any given app
- TargetSdkVersion 33
- Enable Predictive Animations developer option
- Use the back gesture in an app that uses unsupported APIS:
- OnBackPressed ExamplesLithoLabActivity, ViewPagerLifecycleActivity
- Either the codelab or app based on ViewPagerLifecycle Activity might crash due to usage of unsupported APIs.
Expected Behavior
The back gesture should work as intended. The predictive back animation when swiping in left or right to go back-to-home should display in Android 13.
Link to Code
The new APIs, docs, and samples are available from the above link. Please reply if you need more info.