Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
4c0b077f
Commit
4c0b077f
authored
Jun 24, 2020
by
Poq Xert
Committed by
Rémi Verschelde
Jun 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated purchase receipt suitable for sending to apple verification server
(cherry picked from commit bd7192572697e919a8eb7cf6d8b44d699dae24c9)
parent
3c9fc891
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
in_app_store.mm
platform/iphone/in_app_store.mm
+1
-1
No files found.
platform/iphone/in_app_store.mm
View file @
4c0b077f
...
@@ -207,7 +207,7 @@ Error InAppStore::restore_purchases() {
...
@@ -207,7 +207,7 @@ Error InAppStore::restore_purchases() {
NSString *receipt_to_send = nil;
NSString *receipt_to_send = nil;
if (receipt != nil) {
if (receipt != nil) {
receipt_to_send = [receipt
description
];
receipt_to_send = [receipt
base64EncodedStringWithOptions:0
];
}
}
Dictionary receipt_ret;
Dictionary receipt_ret;
receipt_ret["receipt"] = String::utf8(receipt_to_send != nil ? [receipt_to_send UTF8String] : "");
receipt_ret["receipt"] = String::utf8(receipt_to_send != nil ? [receipt_to_send UTF8String] : "");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment