Is there any way to keep the compiler happy about properties of a shared class which are inherited in a platform specific area?
Billing code can be abstracted away from Google and Apple billing with classes in the correct sections that inherit from them appropriately, but do I have to choose names distinct from both?
Is that a clear enough question?
m
mkrussel
09/14/2021, 7:04 PM
What I've done is add extension properties and functions to the
expect class
, any then have those delegate to the correct platform specific properties.
👍 1
m
MarkRS
09/15/2021, 8:17 AM
Thanks for that @mkrussel. I was hoping for a way to avoid adding to what's already there, but this strengthens my thought that it's not possible 😞