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

Fernando Angli

05/14/2021, 8:03 PM
Hi guys, have someone used GRPC with KMM? I'm thinking about building an sdk for both ios and android, it uses GRPC - Protobuf for communication. I would love to reuse as much code as possible and write as little ios code as possible too, but I haven't found any multiplatform solution for this communication stack. Any suggestions?
p

Paul Woitaschek

05/16/2021, 5:51 PM
Isn't square wire exactly that?
f

Fernando Angli

05/17/2021, 3:32 PM
isn't wire just for android?
Doesn't look like it's for Android only
l

louiscad

05/17/2021, 3:34 PM
Multiplatform since 3.0.0-alpha02, though not advertised much beyond the changelog
f

Fernando Angli

05/17/2021, 3:34 PM
ooh, nice, thanks guys I'll take a look 👍👍
I pretty much stopped reading after this:
Copy code
The Protocol Buffers schema language and binary encoding are both defined by Google. Wire is an independent implementation from Square that's specifically designed for Android and Java.
So I guess they just need to update their readme
👍 1
p

Paul Woitaschek

05/17/2021, 3:36 PM
I suggest you open an issue regarding that
p

Phạm Minh Tuấn

06/21/2021, 10:18 AM
Does anyone working with wire and can log request response with body attached?
d

Deepak Rathi

10/10/2023, 2:22 PM
Does wire(square grpc library) works with both Android and iOS platforms?
l

louiscad

10/10/2023, 2:23 PM
Yes @Deepak Rathi, it even works with Swift. Please, read the README.
thank you color 1
5 Views