Hi PENGUIN,
It depends on the devices indeed, and on the accounts you use on them. Purchases are per account, so you can only share the purchase if your devices use the same account.
If you have an Android and an Ios device, no sharing between them is possible, those are different platforms.
Between 2 Android devices, it's possible, provided both devices run on the same google account.