Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17071

No reply from SDK::IAP with no internet

$
0
0

@davidejones88 wrote:

Hello there.

I'm using SDKBox with IAP. I've noticed that whenever there's no internet on the device, none of the callbacks is triggered. I'm currently implementing these:

void onInitialized(bool ok) override;
void onSuccess(sdkbox::Product const& p) override;
void onFailure(sdkbox::Product const& p, const std::string &msg) override;
void onCanceled(sdkbox::Product const& p) override;
void onRestored(sdkbox::Product const& p) override;
void onProductRequestSuccess(std::vector<sdkbox::Product> const &products) override;
void onProductRequestFailure(const std::string &msg) override;
void onRestoreComplete(bool ok, const std::string &msg) override;

I expected SDKBox to call onFailure if no internet is available on the device, but it looks like this is not the case.
Is this working as intended? How can I change this?

Thanks,

Davide

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>