Archie
12/11/2021, 4:32 PMkpgalligan
12/12/2021, 12:37 AManalyticsApi.signUpMoreInfoClicked() (or whatever). Most analytics sdks take a string key and a map of values. Create an interface in commonMain that has methods like sendEvent(key:String, data: Map<String, Any>), then from Android and iOS (or other platforms), pass in the specific SDK implementation. Then, from shared code, you can call that interface. Make a typed class that can centralize those calls, which ultimately calls the platform specific implementations.kpgalligan
12/12/2021, 12:37 AMArchie
12/16/2021, 1:59 PMkpgalligan
12/16/2021, 5:31 PM