playfab_ex v0.2.0 PlayfabEx.Client.Default.PlatformSpecificMethods

Link to this section Summary

Functions

Registers the Android device to receive push notifications

Registers the iOS device to receive push notifications

Restores all in-app purchases based on the given restore receipt

Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item

Validates a Google Play purchase and gives the corresponding item to the player

Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item

Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the purchased catalog item

Link to this section Functions

Link to this function android_device_push_notification_registration(params)
android_device_push_notification_registration(map()) ::
  {:ok, map()} |
  {:error, String.t()}

Registers the Android device to receive push notifications

@link https://api.playfab.com/documentation/client/method/AndroidDevicePushNotificationRegistration

Link to this function register_for_ios_push_notification(params)
register_for_ios_push_notification(map()) ::
  {:ok, map()} |
  {:error, String.t()}

Registers the iOS device to receive push notifications

@link https://api.playfab.com/documentation/client/method/RegisterForIOSPushNotification

Link to this function restore_ios_purchases(params)
restore_ios_purchases(map()) :: {:ok, map()} | {:error, String.t()}

Restores all in-app purchases based on the given restore receipt

@link https://api.playfab.com/documentation/client/method/RestoreIOSPurchases

Link to this function validate_amazon_iap_receipt(params)
validate_amazon_iap_receipt(map()) ::
  {:ok, map()} |
  {:error, String.t()}

Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item

@link https://api.playfab.com/documentation/client/method/ValidateAmazonIAPReceipt

Link to this function validate_google_play_purchase(params)
validate_google_play_purchase(map()) ::
  {:ok, map()} |
  {:error, String.t()}

Validates a Google Play purchase and gives the corresponding item to the player.

@link https://api.playfab.com/documentation/client/method/ValidateGooglePlayPurchase

Link to this function validate_ios_receipt(params)
validate_ios_receipt(map()) :: {:ok, map()} | {:error, String.t()}

Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item

@link https://api.playfab.com/documentation/client/method/ValidateIOSReceipt

Link to this function validate_windows_store_receipt(params)
validate_windows_store_receipt(map()) ::
  {:ok, map()} |
  {:error, String.t()}

Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the purchased catalog item

@link https://api.playfab.com/documentation/client/method/ValidateWindowsStoreReceipt