IAP Badger: resource not found when built for iOS

After building for device this morning I get the below error when running the app on device. Works fine on Corona simulator. Tried example/blank project same error. Frustrating to say the least. Has this plugin been pulled?

 ["plugin.iap\_badger"] = { -- required publisherId = "uk.co.happymongoose", },

IAPBadger.PNG

@simon.natt. I am getting the same runtime error when building for ios 9.3. Any solutions?

Same on Android as of yesterday, so…

@juliusbangert I have PM’d Simon the IAP_Badger plugin creator from Happymongoose and he is looking into it.

A workaround is to add the GIT version of the plugin to your codebase. This worked for me however you will have to remove the store.availableStores.apple line from the module as this throws an error also. (not supported by the Corona API anymore)

IAP_Badger GIT link

https://github.com/happymongoose/iap_badger

Ok. Thanks. Did Simon give you an indication of when he might look into it? I posted my observations in this thread. So hopefully he’ll see that too.

Hi everyone,

I’ll investigate this over the next few days.  It looks like the plug in has dropped off the server for some reason - which is odd, because all the code for the plug in still exists in Bitbucket.

Simon

I’ve rebuilt the plugin, re-uploaded it to Bitbucket and everything appears to be working now (at least it is on my workstation).

Simon  :slight_smile:

I’m still having this issue on Android, both as a module and plugin. It worked fine the other day. Is this resolved?

No, not yet.  My earlier confidence was misplaced - I’ve sent an email to Corona support and I’m waiting on a response to help resolve this.

Simon

Okay, I’ve had an email back from Corona last night saying there was a problem with their build server that was causing the issue.

This morning, I’ve rebuilt one of my Android and iOS apps, installed it on a device, tested the app on the device, and everything appeared to run correctly.

Simon

PS - the only issue I did have was, the first time I ran the simulator to create the build, it complained the plug in was missing.  Killing and restarting the simulator fixed eliminated the problem.

Hi Simon,

My app was accepted by apple, but I just found out that nobody can buy: --> you will have to remove the store.availableStores.apple line from the module

Did you remove this from the latest Badger Git file?  If not where is it in the file, and can I just delete it?

Thanks, Greg

Hi Greg,

This issue was resolved a little while back in version 4 - Github has the latest code without the reference to store.availableStores.apple.

Simon

@simon.natt. I am getting the same runtime error when building for ios 9.3. Any solutions?

Same on Android as of yesterday, so…

@juliusbangert I have PM’d Simon the IAP_Badger plugin creator from Happymongoose and he is looking into it.

A workaround is to add the GIT version of the plugin to your codebase. This worked for me however you will have to remove the store.availableStores.apple line from the module as this throws an error also. (not supported by the Corona API anymore)

IAP_Badger GIT link

https://github.com/happymongoose/iap_badger

Ok. Thanks. Did Simon give you an indication of when he might look into it? I posted my observations in this thread. So hopefully he’ll see that too.

Hi everyone,

I’ll investigate this over the next few days.  It looks like the plug in has dropped off the server for some reason - which is odd, because all the code for the plug in still exists in Bitbucket.

Simon

I’ve rebuilt the plugin, re-uploaded it to Bitbucket and everything appears to be working now (at least it is on my workstation).

Simon  :slight_smile:

I’m still having this issue on Android, both as a module and plugin. It worked fine the other day. Is this resolved?

No, not yet.  My earlier confidence was misplaced - I’ve sent an email to Corona support and I’m waiting on a response to help resolve this.

Simon