Anand V
09/16/2024, 8:07 AMshared
module.
Any luck how can it be generated, unable to find a good fit library for that.
Tried with platform specific way by using JJWT
for android and JOSESwift
in iOS
But not sure how to call Swift function in Kotlin code.Fergus Hewson
09/16/2024, 8:33 AMinterface FirebaseIosCallback {
fun logEvent(eventId: String, params: String)
}
private var firebaseIosCallback: FirebaseIosCallback? = null
// Callback from swift that allows settings of firebase callback
@Suppress("unused")
fun firebaseCallback(callback: FirebaseIosCallback) {
firebaseIosCallback = callback
}
Anand V
09/16/2024, 8:48 AM