Can some explain to me if I wanted to use Firebase SDK for Android and IOS how I could use "expect" and "actual" to realize this? For example with Firestore.
05/19/2020, 7:11 PM
Make a repo object that interfaces with Firestore and don’t expose anything Firestore related to the calling code. The expect code defines the methods available and the actual on each platform works with Firebase in the platform specific way.
@Chuck Greb yea first and one of 2 libraries that I have found on GitHub before asking this. The library isn't supported and the amount of code required is not worth me forking to maintain. I just want to use Rest API.
@Sam sounds good and easy for Android side but not sure how to do that with iOS side without native firebase library
@Sam could you link me an example doing this for any library?