MonkeyStore: Cant open store on Android

Monkey Forums/Monkey Bug Reports/MonkeyStore: Cant open store on Android

maverick69(Posted 2015) [#1]
I stumpled over a very strange bug with MonkeyStore on Android.

On one of my apps connection to the store was not possible. After a lot of debugging I've found out that when I try to init the store with more than 20 products it fails.

In monkeystore.android.java the line

Bundle details=_service.getSkuDetails( 3,_activity.getPackageName(),"inapp",query );


returns response code 5 (BILLING_RESPONSE_RESULT_DEVELOPER_ERROR) when query contains more than 20 products.

A workaround would be to split the getSkuDetails-Request up into a batch of 20 products per request.


maverick69(Posted 2015) [#2]
Fixed it and created a pull request:

https://github.com/blitz-research/monkey/pull/73


marksibly(Posted 2015) [#3]
Thanks! Will look at integrating this soon.