android - What will happen if leave "developer payload" as blank Google Play In-app Billing -
Well I've read a lot about "developer payload" but I do not understand clearly, " For what has been used for the developer payload ". That's why I'm trying to use it as blank:
onUpgradeAppButtonClicked on Public Zero (string SKU) {log d. (Tag, "upgrade button clicked; launch purchase flow for upgrade"); / * * TODO: For security, generate your payload here for verification View comments on Confirm Developer () for more information. Since this is * a sample, we only use an empty string, but on a production app you should carefully create it. * / String payload = ""; MHelper.launchPurchaseFlow (this, SKU, RC_REQUEST, mPurchaseFinishedListener, payload); } and this:
verify boolean developer payment (purchase p) {string payload = p .getDeveloperPayload (); Back true; } So I have made a picture. For 3 situations, I want to know what will happen after the situation
Yes, the scenario is most likely to occur at Scenario 2.
But how many users are there at Scenario 2? I think this will not be many, most people do not share their devices.
But I'm thinking about another crack potential if this payload string is left empty. It will be easy to pull it down.
The only thing that makes me crazy is that it should be on the Google API side. It's Google's job to verify and make sure that who purchased the item. Why do we need our servers?
Comments
Post a Comment