Has anyone tried integrating FCM in a KMP project?...
# multiplatform
c
Has anyone tried integrating FCM in a KMP project? A reference implementation would help. Thanks in advance 🙂
r
And if you don’t want to use
cinterops
then you can also create a thin interface (not actual/expect) which simply defines the firebase sdk apis (the basic ones like get/post/etc) and them implement them on both platforms which returns json/string back and then use KMP to map them and to use it further. I used this approach in a toy project and it worked great!
c
@saket these are great but these are for Firestore. I’m actually looking for Firebase Cloud Messaging.
@ritesh I guess I can try that if I don’t find anything. Thanks! 🙂
273 Views