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

feat: Add RevealOverlayInserter as an intermediate steps towards Multiplatform support #60

Merged
merged 4 commits into from
Aug 17, 2023

Conversation

svenjacobs
Copy link
Owner

To get rid of Android's Context dependency in the core artifact of Reveal, this pull requests introduces the RevealOverlayInserter which declares a strategy of how to insert the overlay composable into the composition.

The FullscreenRevealOverlayInserter, which is now part of the new artifact reveal-compat-android, represents the current behaviour and is currently the default for backwards compatibility. However it is recommended to use InPlaceRevealOverlayInserter for apps written fully in Compose to ensure a future compatibility with Compose Multiplatform.

@svenjacobs svenjacobs added the enhancement New feature or request label Aug 17, 2023
@svenjacobs svenjacobs self-assigned this Aug 17, 2023
@svenjacobs svenjacobs force-pushed the feature/android-compat branch 2 times, most recently from ae61a86 to ecb6365 Compare August 17, 2023 09:48
@svenjacobs svenjacobs marked this pull request as ready for review August 17, 2023 14:39
@svenjacobs svenjacobs merged commit 4a58dc6 into main Aug 17, 2023
3 checks passed
@svenjacobs svenjacobs deleted the feature/android-compat branch August 17, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant