docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RefreshAppReceipt

    RefreshAppReceipt(Action<string>, Action<string>)

    Fetch the latest App Receipt from Apple. This requires an Internet connection and will prompt the user for their credentials.

    Declaration
    void RefreshAppReceipt(Action<string> successCallback, Action<string> errorCallback)
    Parameters
    Type Name Description
    Action<string> successCallback

    This action will be called when the refresh is successful. The receipt will be passed through.

    Action<string> errorCallback

    This action will be called when the refresh is in error. The error's details will be passed through.

    RefreshAppReceipt(Action<string>, Action)

    Fetch the latest App Receipt from Apple. This requires an Internet connection and will prompt the user for their credentials.

    Declaration
    [Obsolete("RefreshAppReceipt(Action<string> successCallback, Action errorCallback) is deprecated, please use RefreshAppReceipt(Action<string> successCallback, Action<string> errorCallback) instead.")]
    void RefreshAppReceipt(Action<string> successCallback, Action errorCallback)
    Parameters
    Type Name Description
    Action<string> successCallback

    This action will be called when the refresh is successful. The receipt will be passed through.

    Action errorCallback

    This action will be called when the refresh is in error.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023