SDKBOX IAP fails with no callback


#1

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.


#2

I think we fixed it, let me double check.


#3

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


#4

That’s one solution ;).