Ingen beskrivning
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FakeAppleConfiguration.cs 577B

12345678910111213141516171819202122
  1. #nullable enable
  2. using System;
  3. using System.Collections.Generic;
  4. namespace UnityEngine.Purchasing
  5. {
  6. class FakeAppleConfiguration : IAppleConfiguration
  7. {
  8. public string appReceipt => "This is a fake receipt. When running on an Apple store, a base64 encoded App Receipt would be returned";
  9. public bool canMakePayments => true;
  10. public void SetApplePromotionalPurchaseInterceptorCallback(Action<Product> callback)
  11. {
  12. }
  13. public void SetEntitlementsRevokedListener(Action<List<Product>> callback)
  14. {
  15. }
  16. }
  17. }