Hi!
If you use the same AppleID on all devices you can use run it on multiple devices.
If you use different AppleID's for AppStore purchases on each device, Apple currently does not allow for "Family Sharing" for inapp purchases.
I hope this changes soon, but in the meantime, I have heard from others that you can log in using the account purchased initially, then restoring purchase.
Thanks!