|
пре 1 година | |
---|---|---|
.. | ||
.sample.json | пре 1 година | |
DetectingFraud.unity | пре 1 година | |
DetectingFraud.unity.meta | пре 1 година | |
FraudDetection.cs | пре 1 година | |
FraudDetection.cs.meta | пре 1 година | |
README.md | пре 1 година | |
README.md.meta | пре 1 година | |
User.cs | пре 1 година | |
User.cs.meta | пре 1 година | |
UserWarningGooglePlayStore.cs | пре 1 година | |
UserWarningGooglePlayStore.cs.meta | пре 1 година |
This sample showcases how to provide to the Google Play Store your user’s identifiers to help prevent fraud using the Google Play Store extension.
InAppPurchasing game object > Fraud Detection script > Gold Product Id field
or change the goldProductId
field in the FraudDetection.cs
script.Android
and make sure the GooglePlayStore
is selected*.Services > In-App Purchasing > Configure
and changing the Current Targeted Store
field.To help prevent fraud, it is useful to provide to Google the in-app account and/or profile identifiers of your user. This helps Google map the user’s Google Play account to their in-app account.
The account and profile ids must not contain personally identifiable information such as emails in cleartext. To prevent this, Google Play recommends that you use either encryption or a one-way hash to generate an obfuscated identifier to send to Google Play.
For more information see Google’s documentation on the subject.