For iOS Devices:
Ensure the devices you are trying to sync are logged into the same iCloud account from the device's main Settings menu under iCloud. If you already have a game in progress on both devices, this will sync up the game with the most XP and the other game's progress will be lost.
To begin syncing, the Gift Code shown at the bottom of the Options menu needs to match up on both devices. If there was an error detecting a previous game or you've reset the game from the Options menu on one device a new code will be assigned. To get the codes to match again, delete the app from the device with the game you want to overwrite, then earn some XP on the first device (with the game you want to keep and sync), close the app and reinstall on the secondary device. Deleting the app will delete all game data on that device so don't delete from the device with the game you are trying to sync.
If you've previously disabled syncing in the Pocket Trains Options menu you will need to re-enable this on both devices to resume syncing.
How to Disable Syncing:
If you want to have separate Pocket Trains games on devices sharing an iCloud or Google Play account, you can turn these options off in the Pocket Trains Options menu on both devices to prevent syncing.
For Android devices:
Google recently stopped supporting their old syncing service and has implemented a new one. We were not able to get the new system to sync consistently and have decided not to incorporate it. There are third party apps on the Play Store that can help you backup and transfer your app and other phone data.