-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from YoYoGames/fdias-dev
Updated manual and demo to latest version (v1.1.0)
- Loading branch information
Showing
504 changed files
with
145,570 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)/` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Empty file.
54 changes: 54 additions & 0 deletions
54
source/AppleIAP_gml/extensions/ios_iaps/iOSSource/VerifyStoreReceipt.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
Oops, something went wrong.