Owned gems, whether paid or free, are shared and can be used across different operating systems (iOS⇔Android).
When performing data transfer, log in with the SQUARE ENIX MEMBERS account where the data is saved via the 'Data Transfer' button on the title screen.