Hi Loga,
im no expert, but for my cases, where I will have multiple platforms and devices, im using a webhook to instantiate the Android or iosDriver, then I inject the driver to a base class. But in the and, I have a Base Class for android and another for ios. Because the steps are different for each platform.