SDKBOX IAP fails with no callback

When I attempt to make a call to sdkbox::IAP::restore(), if the device is not connected to the internet the error message “IAP :net is not available.” is printed out, but sdkbox::IAPListener::onFailure() does not seem to be called. Is this a known issue, or is there a workaround for this?

EDIT: It looks like this has been an outstanding issue for a while. Nuts. I’ll figure out a workaround for this myself.

I think we fixed it, let me double check.

I used the Reachability library to check for an internet connection before making SDKBOX IAP calls.

That’s one solution ;).