albertgao
03/08/2018, 6:01 AMcommon logic and generate lib for platforms like android and ios. For things like http, I just declare some interface as expect class, then add wrapper to the existing system api. So, I use HttpUrlConnection on android and URLSession on iOS. If the usage gets complex in the future, I might add wrapper to some famous 3rd party libs. But still you need to implement the expect class twice for both android and ios.