Which is the better way to develop multiplayer game

We created a simple game for mobile, now we want to add multiplayer to it. So, we read a bit and found about these.

  1. Photon - It’s SDK, should integrate with the game, we have no idea how this works in the background and how difficult would be. We read that, should make use of their replication system - what does it mean?.

  2. Gamespark - Even it is SDK.

  3. Dedicated server - I feel it’s only for PC, but still difficult to build one.

we need platform independence (Android and IOS user can play against each other), we need a simple leaderboard. Which one would be better?..How does that work behind in the game?

Please help me to understand these to make use of best for the game.

Thanks…!!