• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android IAP crash/stopped working after iap_activate

C

Cinnabar

Guest
Hey after struggling a lot with getting IAP to work, I sort of managed to get something working, but not fully. I'm able to receive product information, but after that a window pops up, that game stops working. the debugger shows an endless supply of vsync timeout...

any idea on how to fix this or what could be wrong.

Here is a piece of the output tab.

Code:
08-03 15:19:28.748 31701 31764 I yoyo    : ID support_3
08-03 15:19:28.748 31701 31764 I yoyo    : Title Donate 3 (Tiny Space Program)
08-03 15:19:28.748 31701 31764 I yoyo    : Price € 9,99
08-03 15:19:28.748 31701 31764 I yoyo    : IAP event
08-03 15:19:28.748 31701 31764 I yoyo    : iap_ev_product support_4
08-03 15:19:28.748 31701 31764 I yoyo    : ID support_4
08-03 15:19:28.748 31701 31764 I yoyo    : Title Donate 4 (Tiny Space Program)
08-03 15:19:28.748 31701 31764 I yoyo    : Price € 20,99
08-03 15:19:28.748 31701 31764 I yoyo    : IAP event
08-03 15:19:28.748 31701 31764 I yoyo    : iap_ev_product support_5
08-03 15:19:28.748 31701 31764 I yoyo    : ID support_5
08-03 15:19:28.748 31701 31764 I yoyo    : Title Donate 5 (Tiny Space Program)
08-03 15:19:28.748 31701 31764 I yoyo    : Price € 49,99
08-03 15:19:28.872 31701 31764 I yoyo    : HttpGet("https://ping.yoyogames.com/pingback?data=eNp1ktuOmzAQhl8FcR2QT2Czd2nTRiuFtIJstHtVDbahqJxENrRV1Xfv2G5VqVJBCP%2Ff%2FMxgz%2FyIx8dDHD1EMW21lUzrNpONbQ1o0Zo8l5loBbGcQbyL4vGp9l4NhSSc%2FPfy3mPpvUoJhbkUg8ICFUVBiJa2pW1GC86EdN7u7K31Atp%2B%2BrjO3Qqj51fPWUrc7ch8u3gkgghx8i2UpSrQk6fTEFTl1fnkVIObfYj1PKb4LDB9n2C06T9146Y2X9DGhFtXdsC1dOXjppwNirpMjgXP3jtysBuSz3ad2fBqvQcmJDcYb%2Fepc2Df9AhgHS00fbJJ%2BA3ZX%2BrIm3l%2BReIzPz%2FX7FAdHgOH1VW9T%2F1m1xsMShX%2BZ652RcxTqlIqEsp4ngmufOSMAZrSlPGwhQ61O4G4G8JXHxY7HU%2FRuzp5W0bojDaarpQtNCHc2I2kjClocq61NYRg%2B3AIpDFCNjJnQA3xuSrMVMLQJxelArki2VelX9dOBHyp3Q%2FlXLkj%2FdpPYeIKRnaUKN9Ys%2FShsQo7TXbh5eeo12E6qFNwN168vLgd7E8Rnn%2BvrR%2BWBUKM7v4MBCaKo5%2B%2FAC36vS0%3D&validate=0390", 0)
08-03 15:19:29.021 31701 31701 E yoyo    : BILLING: Base64 decoding failed.
08-03 15:19:29.021 31701 31701 D AndroidRuntime: Shutting down VM
08-03 15:19:29.021 31701 31701 E AndroidRuntime: FATAL EXCEPTION: main
08-03 15:19:29.021 31701 31701 E AndroidRuntime: Process: com.companyname.Space_Program, PID: 31701
08-03 15:19:29.021 31701 31701 E AndroidRuntime: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: bad base-64
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at com.companyname.Space_Program.RunnerBillingSecurity.generatePublicKey(RunnerBillingSecurity.java:127)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at com.companyname.Space_Program.RunnerBillingSecurity.verifyPurchase(RunnerBillingSecurity.java:83)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at com.companyname.Space_Program.RunnerBilling$3$1.run(RunnerBilling.java:218)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at android.os.Handler.handleCallback(Handler.java:751)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:95)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at android.os.Looper.loop(Looper.java:154)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:6692)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
08-03 15:19:29.021 31701 31701 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: bad base-64
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at android.util.Base64.decode(Base64.java:161)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at android.util.Base64.decode(Base64.java:136)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at android.util.Base64.decode(Base64.java:118)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     at com.companyname.Space_Program.RunnerBillingSecurity.generatePublicKey(RunnerBillingSecurity.java:114)
08-03 15:19:29.021 31701 31701 E AndroidRuntime:     ... 9 more
08-03 15:19:29.123 31701 31764 I yoyo    : vsync timeout...
 
Top