IAP Badger - Purchase using main account not available for restricted account

Hi,

I’m using IAP badger for all my IAPs and it works like a charm. Recently an issue was reported by a user who says that he has set up a restricted account on his tablet. This restricted account is not allowed to make in-app purchases. He then bought the app through main account and expected this purchase to be available on the restricted account. He claims this is the case for other apps. 

Is this supported through IAP Badger? Is anything expected to be set up code-wize to get this working?

When he tries to restore the purchase using restricted account, it just times out. 

/Joakim

Hi Joakim,

I don’t think this is related to IAP Badger, because IAP Badger just uses the standard Corona store libraries (so IAP Badger supports any restore functions that Corona does).

Kind regards,

Simon 

I thought so too, but good to hear it from you. 

IAP Badger stores its files in Documents dir? I get a feeling that this directory is not available from the restricted account and as it cannot make any restore or iap it’s not possible to unlock it. 

For Corona: Is the above theory correct? Is that something you can fix or is it out of your hands as well?

If it is I guess I need to store completed purchases in the cloud and fetch info from there. :confused:

I don’t know about Documents being available from restricted accounts, but I can add something to the init function that will allow you to choose where the inventory is saved.

There’s an issue with the plug in version at the moment; when that is resolved (one thing at a time…), I’ll add that functionality to the library.

Hi Joakim,

I don’t think this is related to IAP Badger, because IAP Badger just uses the standard Corona store libraries (so IAP Badger supports any restore functions that Corona does).

Kind regards,

Simon 

I thought so too, but good to hear it from you. 

IAP Badger stores its files in Documents dir? I get a feeling that this directory is not available from the restricted account and as it cannot make any restore or iap it’s not possible to unlock it. 

For Corona: Is the above theory correct? Is that something you can fix or is it out of your hands as well?

If it is I guess I need to store completed purchases in the cloud and fetch info from there. :confused:

I don’t know about Documents being available from restricted accounts, but I can add something to the init function that will allow you to choose where the inventory is saved.

There’s an issue with the plug in version at the moment; when that is resolved (one thing at a time…), I’ll add that functionality to the library.