I'm planning the development of a cross-platform SDK for games, that will also have a Unity plugin later on(currently supporting Android and iOS).
Currently i'm thinking of the best option for doing developing an SDK that will be cross-platform.
From research i've done, looking over many mobile SDKs for games, it seems that most of them actually have a separate implementation per supported platform.
At first this seems counter-intuitive and not the right way to go (who wants to maintain 2 or more code bases that do the same thing?)
Obviously it isn't a "clear cut" as many companies still choose to implement per platform.
I'd like to know what are the pros and cons for each approach (one implementation per platform vs. a "single" shared code base), and what questions should i be asking myself when deciding which option to choose.
Any info or advice is appreciated.