The new game Terraria supports cross-platform gaming for mobile phones. Hence the answer is yes. You will be able to play this multiplayer game along with your friends using different smartphones. You can play this game with one friend using an iPhone and the other one playing on an android mobile. As Terraria’s cross-platform gaming is only available on mobile phones you will be able to do it.