SDKBOX onProductRequestSuccess not called on iOS 10

Hi,

I got this problem, IAP listener onProductRequestSuccess called on iOS 9 but not on iOS 10, result in crash at this line on
PluginIAPJSHelper.cpp
JSAutoCompartment ac(cx, obj);

we’ll look into this issue

Hi @nite, have you had chance to look at it?

hi, @trungnt85

can you show your steps, so i can reproduce.

my steps:

  1. git clone https://github.com/sdkbox/sdkbox-sample-iap
  2. cd js folder
  3. run sdkbox update
  4. open ios project
  5. run on ios simulator(ios 10)
  6. onProductRequestSuccess called, no crash

iOS 10?

bbbbbbbbb

We are not able to reproduce this issue with the sample.