소스 검색

增加debug下,默认为会员

100Years 1 주 전
부모
커밋
7c579871ab
2개의 변경된 파일13개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      AIEmoji/Common/Purchase/TSPurchaseManager.swift
  2. 10 0
      AIEmoji/pt-PT.lproj/InfoPlist.strings

+ 3 - 3
AIEmoji/Common/Purchase/TSPurchaseManager.swift

@@ -143,9 +143,9 @@ public class PurchaseManager: NSObject {
     }
 
     @objc public var isVip: Bool {
-//        #if DEBUG
-//            return true
-//        #endif
+        #if DEBUG
+            return true
+        #endif
         guard let expiresDate = expiredDate else {
             return false
         }

+ 10 - 0
AIEmoji/pt-PT.lproj/InfoPlist.strings

@@ -0,0 +1,10 @@
+/* 
+  InfoPlist.strings
+  AIEmoji
+
+  Created by 100Years on 2025/4/6.
+  
+*/
+
+
+NSPhotoLibraryUsageDescription = "Permita-nos acessar fotos para fazer upload de suas fotos para gerar novos estilos.";