Android in app purchase: Signature verification failed

后端 未结 14 810
说谎
说谎 2020-11-28 02:27

I have tried for several days to solve this problem, using the Dungeons demo code that comes with the SDK. I\'ve tried to Google for an answer but can\'t find one.

14条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-28 03:03

    Signature verification fails only for the default test product. A quick fix :

    • Goto IabHelper class.
    • Invert the if conditions of Security.verifyPurchase.

    Thats it!

    Remember to revert the changes when test product is replaced by actual product

提交回复
热议问题