Преглед изворни кода

Migrate bundle and IAP identifiers to com.Gramora reverse-domain format.

Aligns the app bundle ID and StoreKit product IDs with standard App Store naming for App Store Connect registration.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 пре 1 месец
родитељ
комит
bca601551e

+ 2 - 2
gramora.xcodeproj/project.pbxproj

@@ -263,7 +263,7 @@
 				);
 				MACOSX_DEPLOYMENT_TARGET = 12.0;
 				MARKETING_VERSION = 1.0;
-				PRODUCT_BUNDLE_IDENTIFIER = "MQL-DEV.gramora";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.Gramora";
 				PRODUCT_NAME = Gramora;
 				STRING_CATALOG_GENERATE_SYMBOLS = YES;
 				SWIFT_APPROACHABLE_CONCURRENCY = YES;
@@ -294,7 +294,7 @@
 				);
 				MACOSX_DEPLOYMENT_TARGET = 12.0;
 				MARKETING_VERSION = 1.0;
-				PRODUCT_BUNDLE_IDENTIFIER = "MQL-DEV.gramora";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.Gramora";
 				PRODUCT_NAME = Gramora;
 				STRING_CATALOG_GENERATE_SYMBOLS = YES;
 				SWIFT_APPROACHABLE_CONCURRENCY = YES;

+ 4 - 4
gramora/Paywall.storekit

@@ -15,7 +15,7 @@
           "locale" : "en_US"
         }
       ],
-      "productID" : "MQL-DEV.gramora.pro.lifetime",
+      "productID" : "com.Gramora.pro.lifetime",
       "referenceName" : "Lifetime",
       "type" : "NonConsumable"
     }
@@ -99,7 +99,7 @@
               "locale" : "en_US"
             }
           ],
-          "productID" : "MQL-DEV.gramora.pro.weekly",
+          "productID" : "com.Gramora.pro.weekly",
           "recurringSubscriptionPeriod" : "P1W",
           "referenceName" : "Weekly",
           "subscriptionGroupID" : "21543201",
@@ -131,7 +131,7 @@
               "locale" : "en_US"
             }
           ],
-          "productID" : "MQL-DEV.gramora.pro.monthly",
+          "productID" : "com.Gramora.pro.monthly",
           "recurringSubscriptionPeriod" : "P1M",
           "referenceName" : "Monthly",
           "subscriptionGroupID" : "21543201",
@@ -159,7 +159,7 @@
               "locale" : "en_US"
             }
           ],
-          "productID" : "MQL-DEV.gramora.pro.yearly",
+          "productID" : "com.Gramora.pro.yearly",
           "recurringSubscriptionPeriod" : "P1Y",
           "referenceName" : "Yearly",
           "subscriptionGroupID" : "21543201",

+ 1 - 1
gramora/Services/HistoryStorageService.swift

@@ -19,7 +19,7 @@ final class HistoryStorageService: HistoryStoring {
     private let storageKey = "gramora.history.entries"
     private let maxEntries = 100
     private let queue = DispatchQueue(label: "com.gramora.history.storage")
-    private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "gramora", category: "HistoryStorage")
+    private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.Gramora", category: "HistoryStorage")
 
     init(defaults: UserDefaults = .standard) {
         self.defaults = defaults

+ 4 - 4
gramora/Utilities/SubscriptionProductID.swift

@@ -1,10 +1,10 @@
 import Foundation
 
 enum SubscriptionProductID {
-    static let weekly = "MQL-DEV.gramora.pro.weekly"
-    static let monthly = "MQL-DEV.gramora.pro.monthly"
-    static let yearly = "MQL-DEV.gramora.pro.yearly"
-    static let lifetime = "MQL-DEV.gramora.pro.lifetime"
+    static let weekly = "com.Gramora.pro.weekly"
+    static let monthly = "com.Gramora.pro.monthly"
+    static let yearly = "com.Gramora.pro.yearly"
+    static let lifetime = "com.Gramora.pro.lifetime"
 
     static let all: Set<String> = [weekly, monthly, yearly, lifetime]