Skip to content

Commit 63a17fe

Browse files
committed
add adjust sdk
1 parent 3cac878 commit 63a17fe

5 files changed

Lines changed: 83 additions & 53 deletions

File tree

OpenDocumentReader.xcodeproj/project.pbxproj

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
/* Begin PBXBuildFile section */
1010
21E6C5303C9ED8A9A9317BEC /* Pods_OpenDocumentReader.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EF00F649A86477A6C27F07C0 /* Pods_OpenDocumentReader.framework */; };
11+
523A371328CCF27400876C77 /* AdServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 523A371228CCF27400876C77 /* AdServices.framework */; };
12+
523A371528CCF28100876C77 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 523A371428CCF28100876C77 /* StoreKit.framework */; };
13+
523A371728CCF28900876C77 /* AppTrackingTransparency.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 523A371628CCF28900876C77 /* AppTrackingTransparency.framework */; };
1114
52A0616C277CE114009FAB35 /* release-lite.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 52A06168277CE114009FAB35 /* release-lite.xcconfig */; };
1215
52A0616D277CE114009FAB35 /* release.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 52A06169277CE114009FAB35 /* release.xcconfig */; };
1316
52A0616E277CE114009FAB35 /* debug-lite.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 52A0616A277CE114009FAB35 /* debug-lite.xcconfig */; };
@@ -53,6 +56,10 @@
5356
3A521F5B4DBE255885C9D679 /* Pods_OpenDocumentReaderTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OpenDocumentReaderTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5457
3B2DB65725CE9DAE177ABB91 /* Pods-OpenDocumentReaderTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenDocumentReaderTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OpenDocumentReaderTests/Pods-OpenDocumentReaderTests.debug.xcconfig"; sourceTree = "<group>"; };
5558
481CC96FC0685A2908EBA9A3 /* Pods-OpenDocumentReader.release lite.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenDocumentReader.release lite.xcconfig"; path = "Pods/Target Support Files/Pods-OpenDocumentReader/Pods-OpenDocumentReader.release lite.xcconfig"; sourceTree = "<group>"; };
59+
523A370E28CCF26B00876C77 /* Adjust.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Adjust.framework; sourceTree = BUILT_PRODUCTS_DIR; };
60+
523A371228CCF27400876C77 /* AdServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AdServices.framework; path = System/Library/Frameworks/AdServices.framework; sourceTree = SDKROOT; };
61+
523A371428CCF28100876C77 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
62+
523A371628CCF28900876C77 /* AppTrackingTransparency.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppTrackingTransparency.framework; path = System/Library/Frameworks/AppTrackingTransparency.framework; sourceTree = SDKROOT; };
5663
52A06168277CE114009FAB35 /* release-lite.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "release-lite.xcconfig"; sourceTree = "<group>"; };
5764
52A06169277CE114009FAB35 /* release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = release.xcconfig; sourceTree = "<group>"; };
5865
52A0616A277CE114009FAB35 /* debug-lite.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "debug-lite.xcconfig"; sourceTree = "<group>"; };
@@ -127,9 +134,12 @@
127134
buildActionMask = 2147483647;
128135
files = (
129136
E2064DFE22CFA1BA006441F8 /* iAd.framework in Frameworks */,
137+
523A371728CCF28900876C77 /* AppTrackingTransparency.framework in Frameworks */,
138+
523A371528CCF28100876C77 /* StoreKit.framework in Frameworks */,
130139
E23795302274844400BA7238 /* AdSupport.framework in Frameworks */,
131140
E26C39392250DC6E009C484A /* WebKit.framework in Frameworks */,
132141
21E6C5303C9ED8A9A9317BEC /* Pods_OpenDocumentReader.framework in Frameworks */,
142+
523A371328CCF27400876C77 /* AdServices.framework in Frameworks */,
133143
);
134144
runOnlyForDeploymentPostprocessing = 0;
135145
};
@@ -166,6 +176,10 @@
166176
E2BB4B64220EF4F20056176B /* Frameworks */ = {
167177
isa = PBXGroup;
168178
children = (
179+
523A371628CCF28900876C77 /* AppTrackingTransparency.framework */,
180+
523A371428CCF28100876C77 /* StoreKit.framework */,
181+
523A371228CCF27400876C77 /* AdServices.framework */,
182+
523A370E28CCF26B00876C77 /* Adjust.framework */,
169183
E2064DDF22CFA1BA006441F8 /* iAd.framework */,
170184
E237952F2274844400BA7238 /* AdSupport.framework */,
171185
E26C39382250DC6E009C484A /* WebKit.framework */,
@@ -584,7 +598,7 @@
584598
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
585599
CLANG_ENABLE_MODULES = YES;
586600
CODE_SIGN_STYLE = Automatic;
587-
CURRENT_PROJECT_VERSION = 35;
601+
CURRENT_PROJECT_VERSION = 36;
588602
DEFINES_MODULE = YES;
589603
DEVELOPMENT_TEAM = 5LS6X97G6J;
590604
HEADER_SEARCH_PATHS = "$(inherited)";
@@ -595,7 +609,7 @@
595609
"@executable_path/Frameworks",
596610
);
597611
LIBRARY_SEARCH_PATHS = "$(inherited)";
598-
MARKETING_VERSION = 1.28;
612+
MARKETING_VERSION = 1.29;
599613
PRODUCT_BUNDLE_IDENTIFIER = at.tomtasche.reader.lite1;
600614
PRODUCT_NAME = "$(BUNDLE_DISPLAY_NAME)";
601615
SWIFT_OBJC_BRIDGING_HEADER = OpenDocumentReader/BridgingHeader.h;
@@ -674,7 +688,7 @@
674688
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
675689
CLANG_ENABLE_MODULES = YES;
676690
CODE_SIGN_STYLE = Automatic;
677-
CURRENT_PROJECT_VERSION = 35;
691+
CURRENT_PROJECT_VERSION = 36;
678692
DEFINES_MODULE = YES;
679693
DEVELOPMENT_TEAM = 5LS6X97G6J;
680694
HEADER_SEARCH_PATHS = "$(inherited)";
@@ -685,7 +699,7 @@
685699
"@executable_path/Frameworks",
686700
);
687701
LIBRARY_SEARCH_PATHS = "$(inherited)";
688-
MARKETING_VERSION = 1.28;
702+
MARKETING_VERSION = 1.29;
689703
PRODUCT_BUNDLE_IDENTIFIER = at.tomtasche.reader.lite1;
690704
PRODUCT_NAME = "$(BUNDLE_DISPLAY_NAME)";
691705
SWIFT_OBJC_BRIDGING_HEADER = OpenDocumentReader/BridgingHeader.h;
@@ -912,7 +926,7 @@
912926
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
913927
CLANG_ENABLE_MODULES = YES;
914928
CODE_SIGN_STYLE = Automatic;
915-
CURRENT_PROJECT_VERSION = 35;
929+
CURRENT_PROJECT_VERSION = 36;
916930
DEFINES_MODULE = YES;
917931
DEVELOPMENT_TEAM = 5LS6X97G6J;
918932
HEADER_SEARCH_PATHS = "$(inherited)";
@@ -923,7 +937,7 @@
923937
"@executable_path/Frameworks",
924938
);
925939
LIBRARY_SEARCH_PATHS = "$(inherited)";
926-
MARKETING_VERSION = 1.28;
940+
MARKETING_VERSION = 1.29;
927941
PRODUCT_BUNDLE_IDENTIFIER = "at.tomtasche.reader$(BUNDLE_ID_SUFFIX)";
928942
PRODUCT_NAME = "$(BUNDLE_DISPLAY_NAME)";
929943
SWIFT_OBJC_BRIDGING_HEADER = OpenDocumentReader/BridgingHeader.h;
@@ -943,7 +957,7 @@
943957
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
944958
CLANG_ENABLE_MODULES = YES;
945959
CODE_SIGN_STYLE = Automatic;
946-
CURRENT_PROJECT_VERSION = 35;
960+
CURRENT_PROJECT_VERSION = 36;
947961
DEFINES_MODULE = YES;
948962
DEVELOPMENT_TEAM = 5LS6X97G6J;
949963
HEADER_SEARCH_PATHS = "$(inherited)";
@@ -954,7 +968,7 @@
954968
"@executable_path/Frameworks",
955969
);
956970
LIBRARY_SEARCH_PATHS = "$(inherited)";
957-
MARKETING_VERSION = 1.28;
971+
MARKETING_VERSION = 1.29;
958972
PRODUCT_BUNDLE_IDENTIFIER = "at.tomtasche.reader$(BUNDLE_ID_SUFFIX)";
959973
PRODUCT_NAME = "$(BUNDLE_DISPLAY_NAME)";
960974
SWIFT_OBJC_BRIDGING_HEADER = OpenDocumentReader/BridgingHeader.h;

OpenDocumentReader/AppDelegate.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import UIKit
1010
import Firebase
11+
import Adjust
1112

1213
@UIApplicationMain
1314
class AppDelegate: UIResponder, UIApplicationDelegate {
@@ -26,6 +27,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
2627

2728
StoreReviewHelper.incrementAppOpenedCount()
2829

30+
let adjustConfig = ADJConfig(
31+
appToken: "6gm8nc5v9sw0",
32+
environment: ADJEnvironmentProduction)
33+
34+
Adjust.appDidLaunch(adjustConfig)
35+
2936
return true
3037
}
3138

OpenDocumentReader/BridgingHeader.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
//
44

55
#include "CoreWrapper.h"
6+
7+
#import <Adjust/Adjust.h>

Podfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ target 'OpenDocumentReader' do
1010
pod 'Google-Mobile-Ads-SDK'
1111
pod 'Firebase/Crashlytics'
1212
pod 'Firebase/Analytics'
13+
pod 'Adjust'
1314

1415
target 'OpenDocumentReaderTests' do
1516
inherit! :search_paths

Podfile.lock

Lines changed: 51 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,93 @@
11
PODS:
2-
- Firebase/Analytics (9.4.0):
2+
- Adjust (4.32.0):
3+
- Adjust/Core (= 4.32.0)
4+
- Adjust/Core (4.32.0)
5+
- Firebase/Analytics (9.5.0):
36
- Firebase/Core
4-
- Firebase/Core (9.4.0):
7+
- Firebase/Core (9.5.0):
58
- Firebase/CoreOnly
6-
- FirebaseAnalytics (~> 9.4.0)
7-
- Firebase/CoreOnly (9.4.0):
8-
- FirebaseCore (= 9.4.0)
9-
- Firebase/Crashlytics (9.4.0):
9+
- FirebaseAnalytics (~> 9.5.0)
10+
- Firebase/CoreOnly (9.5.0):
11+
- FirebaseCore (= 9.5.0)
12+
- Firebase/Crashlytics (9.5.0):
1013
- Firebase/CoreOnly
11-
- FirebaseCrashlytics (~> 9.4.0)
12-
- Firebase/Storage (9.4.0):
14+
- FirebaseCrashlytics (~> 9.5.0)
15+
- Firebase/Storage (9.5.0):
1316
- Firebase/CoreOnly
14-
- FirebaseStorage (~> 9.4.0)
15-
- FirebaseAnalytics (9.4.0):
16-
- FirebaseAnalytics/AdIdSupport (= 9.4.0)
17+
- FirebaseStorage (~> 9.5.0)
18+
- FirebaseAnalytics (9.5.0):
19+
- FirebaseAnalytics/AdIdSupport (= 9.5.0)
1720
- FirebaseCore (~> 9.0)
1821
- FirebaseInstallations (~> 9.0)
1922
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
2023
- GoogleUtilities/MethodSwizzler (~> 7.7)
2124
- GoogleUtilities/Network (~> 7.7)
2225
- "GoogleUtilities/NSData+zlib (~> 7.7)"
2326
- nanopb (< 2.30910.0, >= 2.30908.0)
24-
- FirebaseAnalytics/AdIdSupport (9.4.0):
27+
- FirebaseAnalytics/AdIdSupport (9.5.0):
2528
- FirebaseCore (~> 9.0)
2629
- FirebaseInstallations (~> 9.0)
27-
- GoogleAppMeasurement (= 9.4.0)
30+
- GoogleAppMeasurement (= 9.5.0)
2831
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
2932
- GoogleUtilities/MethodSwizzler (~> 7.7)
3033
- GoogleUtilities/Network (~> 7.7)
3134
- "GoogleUtilities/NSData+zlib (~> 7.7)"
3235
- nanopb (< 2.30910.0, >= 2.30908.0)
33-
- FirebaseAppCheckInterop (9.4.0)
34-
- FirebaseAuthInterop (9.4.0)
35-
- FirebaseCore (9.4.0):
36+
- FirebaseAppCheckInterop (9.5.0)
37+
- FirebaseAuthInterop (9.5.0)
38+
- FirebaseCore (9.5.0):
3639
- FirebaseCoreDiagnostics (~> 9.0)
3740
- FirebaseCoreInternal (~> 9.0)
3841
- GoogleUtilities/Environment (~> 7.7)
3942
- GoogleUtilities/Logger (~> 7.7)
40-
- FirebaseCoreDiagnostics (9.4.0):
43+
- FirebaseCoreDiagnostics (9.5.0):
4144
- GoogleDataTransport (< 10.0.0, >= 9.1.4)
4245
- GoogleUtilities/Environment (~> 7.7)
4346
- GoogleUtilities/Logger (~> 7.7)
4447
- nanopb (< 2.30910.0, >= 2.30908.0)
45-
- FirebaseCoreExtension (9.4.0):
48+
- FirebaseCoreExtension (9.5.0):
4649
- FirebaseCore (~> 9.0)
47-
- FirebaseCoreInternal (9.4.0):
50+
- FirebaseCoreInternal (9.5.0):
4851
- "GoogleUtilities/NSData+zlib (~> 7.7)"
49-
- FirebaseCrashlytics (9.4.0):
52+
- FirebaseCrashlytics (9.5.0):
5053
- FirebaseCore (~> 9.0)
5154
- FirebaseInstallations (~> 9.0)
5255
- GoogleDataTransport (< 10.0.0, >= 9.1.4)
5356
- GoogleUtilities/Environment (~> 7.7)
5457
- nanopb (< 2.30910.0, >= 2.30908.0)
5558
- PromisesObjC (~> 2.1)
56-
- FirebaseInstallations (9.4.0):
59+
- FirebaseInstallations (9.5.0):
5760
- FirebaseCore (~> 9.0)
5861
- GoogleUtilities/Environment (~> 7.7)
5962
- GoogleUtilities/UserDefaults (~> 7.7)
6063
- PromisesObjC (~> 2.1)
61-
- FirebaseStorage (9.4.0):
64+
- FirebaseStorage (9.5.0):
6265
- FirebaseAppCheckInterop (~> 9.0)
6366
- FirebaseAuthInterop (~> 9.0)
6467
- FirebaseCore (~> 9.0)
6568
- FirebaseCoreExtension (~> 9.0)
6669
- FirebaseStorageInternal (~> 9.0)
67-
- FirebaseStorageInternal (9.4.0):
70+
- FirebaseStorageInternal (9.5.0):
6871
- FirebaseCore (~> 9.0)
69-
- GTMSessionFetcher/Core (< 3.0, >= 1.7)
70-
- Google-Mobile-Ads-SDK (9.9.0):
72+
- GTMSessionFetcher/Core (< 2.1, >= 1.7)
73+
- Google-Mobile-Ads-SDK (9.10.0):
7174
- GoogleAppMeasurement (< 10.0, >= 7.0)
7275
- GoogleUserMessagingPlatform (>= 1.1)
73-
- GoogleAppMeasurement (9.4.0):
74-
- GoogleAppMeasurement/AdIdSupport (= 9.4.0)
76+
- GoogleAppMeasurement (9.5.0):
77+
- GoogleAppMeasurement/AdIdSupport (= 9.5.0)
7578
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
7679
- GoogleUtilities/MethodSwizzler (~> 7.7)
7780
- GoogleUtilities/Network (~> 7.7)
7881
- "GoogleUtilities/NSData+zlib (~> 7.7)"
7982
- nanopb (< 2.30910.0, >= 2.30908.0)
80-
- GoogleAppMeasurement/AdIdSupport (9.4.0):
81-
- GoogleAppMeasurement/WithoutAdIdSupport (= 9.4.0)
83+
- GoogleAppMeasurement/AdIdSupport (9.5.0):
84+
- GoogleAppMeasurement/WithoutAdIdSupport (= 9.5.0)
8285
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
8386
- GoogleUtilities/MethodSwizzler (~> 7.7)
8487
- GoogleUtilities/Network (~> 7.7)
8588
- "GoogleUtilities/NSData+zlib (~> 7.7)"
8689
- nanopb (< 2.30910.0, >= 2.30908.0)
87-
- GoogleAppMeasurement/WithoutAdIdSupport (9.4.0):
90+
- GoogleAppMeasurement/WithoutAdIdSupport (9.5.0):
8891
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
8992
- GoogleUtilities/MethodSwizzler (~> 7.7)
9093
- GoogleUtilities/Network (~> 7.7)
@@ -124,6 +127,7 @@ PODS:
124127
- ScrollableSegmentedControl (1.5.0)
125128

126129
DEPENDENCIES:
130+
- Adjust
127131
- Firebase/Analytics
128132
- Firebase/Core
129133
- Firebase/Crashlytics
@@ -133,6 +137,7 @@ DEPENDENCIES:
133137

134138
SPEC REPOS:
135139
trunk:
140+
- Adjust
136141
- Firebase
137142
- FirebaseAnalytics
138143
- FirebaseAppCheckInterop
@@ -156,20 +161,21 @@ SPEC REPOS:
156161
- ScrollableSegmentedControl
157162

158163
SPEC CHECKSUMS:
159-
Firebase: 7703fc4022824b6d6db1bf7bea58d13b8e17ec46
160-
FirebaseAnalytics: a1a24e72b7ba7f47045a4633f1abb545c07bd29c
161-
FirebaseAppCheckInterop: 63119cdfc94b16c3e9421513c17f597aee2ea225
162-
FirebaseAuthInterop: 826d3d772b554e3675ceaab8c665008277ca9d1c
163-
FirebaseCore: 9a2b10270a854731c4d4d8a97d0aa8380ec3458d
164-
FirebaseCoreDiagnostics: aaa87098082c4d4bdd1a9557b1186d18ca85ce8c
165-
FirebaseCoreExtension: 2cf8c542b54ad3c2d4b746c22e8828b670dcd9b0
166-
FirebaseCoreInternal: a13302b0088fbf5f38b79b6ece49c2af7d3e05d6
167-
FirebaseCrashlytics: 121ea1d37f4906c94c4c9307297af5121b98b789
168-
FirebaseInstallations: 61db1054e688d2bdc4e2b3f744c1b086e913b742
169-
FirebaseStorage: 160ba975dd3452d9c59a3bf5ea9bf70ff96bd3c2
170-
FirebaseStorageInternal: 425c7dc7de44d9b7e07a9f8d6515bab0f1266b87
171-
Google-Mobile-Ads-SDK: 8822993da940ab920bad131b5bffce7eb3f62c6a
172-
GoogleAppMeasurement: 5d69e04287fc2c10cc43724bfa4bf31fc12c3dff
164+
Adjust: d537f6d943f536d801ff8d07a971461539ce1fc5
165+
Firebase: 800f16f07af493d98d017446a315c27af0552f41
166+
FirebaseAnalytics: 1b60984a408320dda637306f3f733699ef8473d7
167+
FirebaseAppCheckInterop: 8e95b4329809e3c06fb425acb3839dcadfe23673
168+
FirebaseAuthInterop: c5aa97b55a87785e22c60c73996c1ad32e5f7ac9
169+
FirebaseCore: 25c0400b670fd1e2f2104349cd3b5dcce8d9418f
170+
FirebaseCoreDiagnostics: 17cbf4e72b1dbd64bfdc33d4b1f07bce4f16f1d8
171+
FirebaseCoreExtension: 2904492b693a6871ddbd1088c9d1fe6e54384050
172+
FirebaseCoreInternal: 50a8e39cae8abf72d5145d07ea34c3244f70862b
173+
FirebaseCrashlytics: d20fa38bb8c88cb0f1c9211286bc23ab58c1b464
174+
FirebaseInstallations: 41f811b530c41dd90973d0174381cdb3fcb5e839
175+
FirebaseStorage: a806d9f9eededf6fb1d906e79221b83ada1dbb4f
176+
FirebaseStorageInternal: 4f8a9e27391a99ac0692adbbd072fe0e5c4125fe
177+
Google-Mobile-Ads-SDK: eb398023f0d97cdd259b171052f1eb433de00c87
178+
GoogleAppMeasurement: 6ee231473fbd75c11221dfce489894334024eead
173179
GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
174180
GoogleUserMessagingPlatform: ab890ce5f6620f293a21b6bdd82e416a2c73aeca
175181
GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1
@@ -178,6 +184,6 @@ SPEC CHECKSUMS:
178184
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
179185
ScrollableSegmentedControl: 2e64bbe8968a7fcd8aae5014434481464fcdfe60
180186

181-
PODFILE CHECKSUM: 55a033d715a08541580f2abd7fcc12a2d724614e
187+
PODFILE CHECKSUM: a53aa52a4e29bcf5b37f45cd29783efd472925e1
182188

183189
COCOAPODS: 1.11.3

0 commit comments

Comments
 (0)