File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -253,24 +253,6 @@ import UIKit
253253
254254 var receiptString = " " ;
255255
256- if let appStoreReceiptURL = Bundle . main. appStoreReceiptURL,
257- FileManager . default. fileExists ( atPath: appStoreReceiptURL. path) {
258-
259-
260- do {
261- let receiptData = try Data ( contentsOf: appStoreReceiptURL, options: . alwaysMapped)
262- print ( " Receipt Data: " , receiptData)
263-
264-
265- receiptString = receiptData. base64EncodedString ( options: [ Data . Base64EncodingOptions. endLineWithCarriageReturn] )
266- print ( " Receipt String: " , receiptString)
267-
268-
269- // Read receiptData.
270- }
271- catch { print ( " Couldn't read receipt data with error: " + error. localizedDescription) }
272- }
273-
274256 return [
275257 " responseCode " : 0 ,
276258 " responseMessage " : " Latest transaction found " ,
You can’t perform that action at this time.
0 commit comments