Skip to content

Commit

Permalink
Merge pull request #1 from YoYoGames/fdias-dev
Browse files Browse the repository at this point in the history
Updated manual and demo to latest version (v1.1.0)
  • Loading branch information
DiasFranciscoA authored Sep 20, 2022
2 parents 7143dd4 + 0677b79 commit a2a164e
Show file tree
Hide file tree
Showing 504 changed files with 145,570 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# GMEXT-AppleIAP
Repository for GameMaker's AppleIAP Extension

This repository was created with the intent of presenting users with the lastest version available of the extension (even previous to marketplace updates) and also provide a way for the community to contribute with bug fixes and feature implementation.

This extension is compatible with both macOS and iOS/tvOS platforms.

IOS SOURCE: `source/AppleIAP_gml/extensions/ios_iaps/iOSSource/`

TVOS SOURCE: `source/AppleIAP_gml/extensions/ios_iaps/tvOSSource/`

MACOS SOURCE: `source/AppleIAP_xcode/`

NODEJS VALIDATION SERVER (EXAMPLE): `source/ValidationServer (NodeJS)/`
85 changes: 85 additions & 0 deletions source/AppleIAP_gml/AppleIAP.yyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
//
// VerifyStoreReceipt.h
//
// Based on validatereceipt.h
// Created by Ruotger Skupin on 23.10.10.
// Copyright 2010-2011 Matthew Stevens, Ruotger Skupin, Apple, Alessandro Segala. All rights reserved.
//
// Modified for iOS, converted to ARC, and added additional fields by Rick Maddy 2013-08-20
// Copyright 2013 Rick Maddy. All rights reserved.
//

/*
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#import <Foundation/Foundation.h>

extern NSString *kReceiptBundleIdentifer;
extern NSString *kReceiptBundleIdentiferData;
extern NSString *kReceiptVersion;
extern NSString *kReceiptOpaqueValue;
extern NSString *kReceiptHash;
extern NSString *kReceiptInApp;
extern NSString *kReceiptOriginalVersion;
extern NSString *kReceiptExpirationDate;

extern NSString *kReceiptInAppQuantity;
extern NSString *kReceiptInAppProductIdentifier;
extern NSString *kReceiptInAppTransactionIdentifier;
extern NSString *kReceiptInAppPurchaseDate;
extern NSString *kReceiptInAppOriginalTransactionIdentifier;
extern NSString *kReceiptInAppOriginalPurchaseDate;
extern NSString *kReceiptInAppSubscriptionExpirationDate;
extern NSString *kReceiptInAppCancellationDate;
extern NSString *kReceiptInAppWebOrderLineItemID;

NSDictionary *dictionaryWithAppStoreReceipt(NSString *receiptPath);
NSArray *obtainInAppPurchases(NSString *receiptPath);
BOOL verifyReceiptUsingURL(NSURL *receiptPath);
Loading

0 comments on commit a2a164e

Please sign in to comment.