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

aravind

04/21/2021, 1:35 PM
Hi guys, I have tried to send the event from sdk and receive it in android app using BroadcastChannel but it not working can anyone help
c

Cicero

04/21/2021, 2:02 PM
Also this is not clear. Are you talking about a android sdk problem? This doesn’t sound like it has any relationship with KMM. Connecting your Android project with KMM wouldn’t affect BroadcastChannel in any way, I actually have an example laying around. If you are talking about triggering this from the common/shared code: In my opinion which is someone that never did this from common, it sounds like a AndroidSDK specific thing and I would just do it in the Android side of your project.
a

aravind

04/22/2021, 12:42 PM
i had tried to send the event from mqtt server(for example i had implemented eventhandler to handle the server response in which i had send the event through BroadcastChannel and i tried to receive it on app , desktop as well as js)here i had the problem
c

Cicero

04/22/2021, 12:55 PM
I don’t think I can help you mate 🙂
a

aravind

04/23/2021, 1:50 PM
ok thanks for concern
3 Views