Monday, February 5, 2024
HomeiOS DevelopmentKMM - Technique to share consequence from KMM library to iOS and...

KMM – Technique to share consequence from KMM library to iOS and Android app


I’ve developed a KMM library to work together between native apps written in Swift or Kotlin and a POS terminal. This library works nicely however we have to have a technique to intercept logs to present help to clients.
There’s a technique to share the logs from KMM library to Swift?

If this library had been in Swift developed I can use protocol/delegate or notification, there is a technique to do the identical in KMM?

Proper now I used Napier to see logs in console, certainly, once I run the app with this library in Xcode the logs seem in Console. In native app we use a technique to get logs from clients and analysing them, so we have to discover a technique to get some info from KMM library to native app

Thanks



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments