Closed prz3m01299 closed 1 month ago
Sorry, but we (kotlinx.coroutines
maintainers) don't know anything about "react native bridges." You'll probably have better luck asking this on Stack Overflow or the Kotlin Slack, where the community members may have knowledge of the topic. Maybe it's impossible to make it work, maybe you're missing some piece, maybe the framework you're using has an issue, or maybe our library is at fault. If it turns out that there is an issue in our library that we need to fix to make it work in your situation, please explain it to us, and we'll look into it.
I successfully created a bridge and I call the Nearby API by creating a controllerSessionScope, and I receive a log from that API. But then once I try to collect a prepared session flow inside a coroutine it won't run at all.
Then the controllerInitiateRanging is called ->
It stops executing after the sessionFlow.collect (the same code works in native Kotlin, outside of the bridge)