My friend and I want to play Riptide GP2 online but we have one Android and one iOS device. Can we still play online?

No, sorry! Each of our platforms uses the multiplayer technology of that platform.  

For Android it's Google Play Games Services, for iPhone it's Game Center.  For Steam, it's Steam.  You can play with your friends within that system, but not across systems.