adding platform support for android and iOS