File tree Expand file tree Collapse file tree
android/app/src/main/java/com/purchasely/shaker Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,14 +31,8 @@ class ShakerApp : Application() {
3131 }
3232
3333 private fun initPurchasely () {
34- val apiKey = BuildConfig .PURCHASELY_API_KEY
35- if (apiKey.isBlank()) {
36- Log .w(TAG , " Purchasely API key not set. Copy local.properties.example to local.properties and add your key." )
37- return
38- }
39-
4034 Purchasely .Builder (this )
41- .apiKey(apiKey )
35+ .apiKey(" 6cda6b92-d63c-4444-bd55-5a164c989bd4 " )
4236 .logLevel(LogLevel .DEBUG )
4337 .readyToOpenDeeplink(true )
4438 .runningMode(PLYRunningMode .Full )
Original file line number Diff line number Diff line change @@ -12,14 +12,8 @@ class AppViewModel: ObservableObject {
1212 }
1313
1414 private func initPurchasely( ) {
15- let apiKey = Bundle . main. infoDictionary ? [ " PURCHASELY_API_KEY " ] as? String ?? " "
16- guard !apiKey. isEmpty, apiKey != " your_api_key_here " else {
17- print ( " [Shaker] Purchasely API key not set. Copy Config.xcconfig.example to Config.xcconfig and add your key. " )
18- return
19- }
20-
2115 Purchasely . start (
22- withAPIKey: apiKey ,
16+ withAPIKey: " 6cda6b92-d63c-4444-bd55-5a164c989bd4 " ,
2317 appUserId: nil ,
2418 runningMode: . full,
2519 storekitSettings: . storeKit2,
You can’t perform that action at this time.
0 commit comments