暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
APPLE c9d5bdcd60 va 1年前
..
.sample.json va 1年前
DetectingFraud.unity va 1年前
DetectingFraud.unity.meta va 1年前
FraudDetection.cs va 1年前
FraudDetection.cs.meta va 1年前
README.md va 1年前
README.md.meta va 1年前
User.cs va 1年前
User.cs.meta va 1年前
UserWarningAppleAppStore.cs va 1年前
UserWarningAppleAppStore.cs.meta va 1年前

README.md

README - In-App Purchasing Sample Scenes - Apple App Store - Fraud Detection

This sample showcases how to provide to the Apple App Store your user’s identifiers to help prevent fraud using Apple extensions.

Instructions to test this sample:

  1. Have in-app purchasing correctly configured with the Apple App Store.
  2. Configure a product.
  3. Set your own product’s id in the InAppPurchasing game object > Fraud Detection script > Gold Product Id field or change the goldProductId field in the FraudDetection.cs script.
  4. Set a username in the InAppPurchasing game object > Fraud Detection script > User > Username field.
  5. Build your project for iOS.
    1. If you are using a simulator with Xcode 12+, follow these instructions to set up StoreKit Testing.

Apple App Store Fraud Detection

To help prevent fraud, it is useful to provide to Apple an in-app identifier of your user. This helps Apple map iTunes Store accounts to their in-app account.

The username must not contain personally identifiable information such as emails in cleartext. To prevent this, Apple recommends that you use either encryption or a one-way hash to generate an obfuscated identifier.

For more information see Apple’s documentation on the subject.