Hi guys! Is there anyone here who have implemented...
# multiplatform
m
Hi guys! Is there anyone here who have implemented back swipe using the library https://voyager.adriel.cafe/navigation?
k
what do you mean by back swipe?
m
@Kilian hello ahh what I meant was when you swipe and then you go back to the previous screen (just like in IOS) Have you tried?
k
this should work with android gesture navigation without adding any extra code. it’s just like the back click.
m
@Kilian ah yes sorry I meant for IOS
do you know how this works for IOS? via the voyager library 🔝
k
personally i think you should change navigation for ios because it’s not what ios users are used to. But i think you could make a “main” composeable atop all your other compose code an add a gesture handler
m
@Kilian ahh ok if its alright do you have any reference on gesture handlers for compose multiplatform?
our Android side for app is already working but we need this for IOS using compose multiplatform
s
@mangubatrj did you get any information on iOS back gestures?
m
@Suresh Maidaragi yes I did but its not perfect and you will have to tweak it on your end. See: https://github.com/adrielcafe/voyager/issues/144#issuecomment-1763186873
m
did you have any update ? i have some white glitches
m
Hey @Marc Planas unfortunately even if this worked it had a lot of issues on our app eventually (like white glitches and much more ) because of that we had to do a lot of workarounds. Ultimately the workarounds were a bit to much and we decided to not use it anymore and opted to migrate to using Decompose library instead.
m
good to hear, i was able to solve the white glitch (basically the viewmodel was being recreated everytime and the view also when the vm called internet), but i still haven't tried to implement it i the rest of the app. Sounds worth it to migrate to Decompose to not have future problems. How is decompose working with tabs ? Thank you so much for your answer
253 Views