Verifying in-app-purchases
问题 The sample app that the Google Developers guide refers to has a method called verifyValidSignature() that looks like this in the BillingManager class: /** * Verifies that the purchase was signed correctly for this developer's public key. * * Note: It's strongly recommended to perform such check on your backend since hackers can * replace this method with "constant true" if they decompile/rebuild your app. */ private boolean verifyValidSignature(String signedData, String signature) { try {