Hi ....is there is anyway to support back gesture in compose multiplatform with the official navigation library? I don't want to use Decompose or Voyager just the official one
a
Arkadii Ivanov
10/27/2024, 9:18 AM
Looks like Onbackpresseddispatcher hasn't been converted to KMP yet, I doubt it's possible right now.
🥲 1
a
abdelrahmanesam20000
10/27/2024, 10:44 AM
@Arkadii Ivanov thank you for your support .... I wonder if there is a way to iterate on my screens ?
if this is possible we can wrap our screens on ios ViewController and use native ios navigation ?
a
Arkadii Ivanov
10/27/2024, 11:57 AM
Honestly, I don't know, I never used the official navigation. Buy it should be possible to export just ViewModels to iOS.
a
Alex Styl
10/27/2024, 2:19 PM
isn't it just android having a 'back'? you can have an expect that only does something on android and act accordingly.
a
Arkadii Ivanov
10/27/2024, 2:45 PM
Predictive back is also a thing on iOS, you can swipe screens right. Also on desktop (JVM), some people bind a keyboard key to navigate back.