diff GeoQuiz/GeoQuizApp.swift @ 12:ce7ea84f67f5

display product prices
author Dennis C. M. <dennis@denniscm.com>
date Sun, 09 Oct 2022 19:46:44 +0200
parents 039b26a99a48
children f1967f8cc67b
line wrap: on
line diff
--- a/GeoQuiz/GeoQuizApp.swift	Sun Oct 09 17:02:34 2022 +0200
+++ b/GeoQuiz/GeoQuizApp.swift	Sun Oct 09 19:46:44 2022 +0200
@@ -18,16 +18,6 @@
     var body: some Scene {
         WindowGroup {
             ContentView()
-                .onAppear(perform: testRevenueCat)
-        }
-    }
-    
-    private func testRevenueCat() {
-        Purchases.shared.getOfferings { (offerings, error) in
-            if let packages = offerings?.current?.availablePackages {
-                // Display packages for sale
-                print(packages)
-            }
         }
     }
 }