I'm struggling to find a good example of adding a ...
# javascript
t
I'm struggling to find a good example of adding a
nodejs
target to my existing iOS/Android mpp setup and building a node package to use, the official docs don't seem to cover it, anyone have any links or pointers?
think I figured it out
b
kotlin.js{node{}}
Assuming you already have kmp plugin applied
I'm curious what's your use case for mobile and node platform combination
Usually ppl combine mobile and browser platforms
a
e.g. Firebase Functions 😛
Sharing DTO objects and method names between clients and serverless functions is awesome
b
Can't you use jvm for serverless and firebase?
a
No, firebase functions support only node.
t
oops sorry @Big Chungus didn't see this! my use case is sharing a bunch of utilities and data access / transformation code, on mobile it pulls from a local db and in node it pulls from a synced remote one - it's in order to support a feature in which uses can share content they've created locally over a public URL.
but it's working great!
and yes it's running in a lambda function