Skip to content

Commit

Permalink
Merge pull request #82 from tonyp/patch-1
Browse files Browse the repository at this point in the history
Allow all signatures when testing with static responses
  • Loading branch information
serggl committed Apr 13, 2015
2 parents d0384bc + 4a0033e commit ecd102a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/com/anjlab/android/iab/v3/Security.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static boolean verifyPurchase(String productId, String base64PublicKey, S

if(BuildConfig.DEBUG){
//handle test purchase not having signature
if(productId.equals("android.test.purchased") && TextUtils.isEmpty(signature)){
if(productId.equals("android.test.purchased")) {
return true;
}
}
Expand Down

0 comments on commit ecd102a

Please sign in to comment.