Hi, I am trying to make a call in common code that...
# multiplatform
b
Hi, I am trying to make a call in common code that goes to a native implementation in Android and iOS. So the Expect function is in src/shared/commonMain. I have it working for the call to go to the Actual function in src/shared/androidMain and src/shared/iosMain. But how to I get the call to go up a level, to androidApp and iosApp? That seems to be where I have access to the truly native functionality.
p
Pass callbacks from Swift/Android when you initiate your modules/components in androidMain and iosMain. Make a chain, from commonMain to iosMain to iosSwift and back