https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

Sergio Casero

04/13/2020, 12:27 PM
Hi folks! I just want to share with you one solution to wrap callback based libraries, like
Firebase
, take a look and please, if you know a better way to do that, please, share! https://gist.github.com/sergiocasero/eca986497c2025d703074cc995ed3618
👍 1
k

kpgalligan

04/13/2020, 3:03 PM
I don’t have a concise explanation of what we did, but had to solve similar problems here: https://github.com/touchlab/FirestoreKMP. The threading and callbacks is a particular issue. Had to keep callbacks isolated to the main thread to avoid freezing and such, but it’s been a little while so I’d need to refresh my own memory to discuss more
s

Sergio Casero

04/14/2020, 8:42 AM
I’ll take a look too
2 Views