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

German Politov

11/17/2020, 1:01 PM
Hello everyone! Does somebody know if there is any public repository with the multiplatform sample project that supports three targets simultaneously:
Android
,
iOS
and
JS
? I've already successfully developed KMP targeting Android and iOS with simple shared code that makes API call to Google Photos endpoint and shows fetched photos in the apps on both platforms(Android/iOS), now I want to add JS support to the project by creating a simple JS(or React) page that will use that shared code also. Please share the links to repositories or documentation how to combine three targets in one KMP if you know such.
g

German Politov

11/17/2020, 1:21 PM
it looks like what i was needed. thanks @steelahhh. Now I'm reading the code of those repositories.
j

Joaquim Ley

11/17/2020, 4:47 PM
This could’ve been a simple Google search tbh, there’s even a samples section in the KMM docs 😅
☝️ 1
g

German Politov

11/20/2020, 10:33 AM
oops, i missed official documentation how to target Android, iOS and JS in one KMP? Pls share it. 😀
4 Views