Skip to main content
Answer

GetOfferings callback not called

  • October 20, 2021
  • 5 replies
  • 254 views

Forum|alt.badge.img+1

Hello we are using Unity plugin and “GetOfferings” callback not get called in UnityEditor.

Best answer by ryan

I’d always recommend building on a physical device for testing, there are a lot of quirks with the simulators and in-app purchases so testing on a physical device is a good way to rule that out while debugging. 

This post has been closed for comments

5 replies

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • October 20, 2021

Could be related to: 

 

Usually a new sandbox account fixes it.


Forum|alt.badge.img+1
  • Author
  • October 20, 2021

@ryan I m testing in UnityEditor with iOS platform. Is this API works in Editor ? or we need to build on mobile to test ?


ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • Answer
  • October 20, 2021

I’d always recommend building on a physical device for testing, there are a lot of quirks with the simulators and in-app purchases so testing on a physical device is a good way to rule that out while debugging. 


Forum|alt.badge.img+3

Ryan correct me if I am wrong, but I think you did not answer the original question.

Does your SDK/API work inside Unity Editor?

Because I can not list my products or offerings in Editor.

If it is the case please mention this in the documentation because I have lost a lot of time debugging and double checking my code.


Forum|alt.badge.img+3

10 days and no anwers? BUMP @ryan