Skip to content

Commit ba0b9a3

Browse files
authored
Merge branch 'master' into master
2 parents 2463614 + d9f48ee commit ba0b9a3

File tree

15 files changed

+324
-146
lines changed

15 files changed

+324
-146
lines changed

.circleci/config.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ version: 2
33
jobs:
44
build_and_test:
55
macos:
6-
xcode: "10.2.1"
6+
xcode: "12.0"
77
steps:
88
- checkout
99
- run: xcrun simctl list
1010
- run:
1111
name: Install build dependencies
1212
command: |
1313
sudo gem install xcpretty
14-
sudo gem install cocoapods -v 1.6.1
14+
sudo gem install cocoapods -v 1.10.0
1515
- run:
1616
name: Fetch Cocoapods specs
1717
command: curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
@@ -20,11 +20,6 @@ jobs:
2020
- run: make test
2121
- run: make lint
2222

23-
# - store_test_results:
24-
# # relies on xcpretty --report junit
25-
# path: build/reports
26-
# - run: bash <(curl -s https://codecov.io/bash)
27-
2823
workflows:
2924
version: 2
3025
build_and_test:

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
Change Log
22
==========
3+
4+
Version 2.7.2 *(5th March, 2021)*
5+
-------------------------------------------
6+
* Map "order completed" to purchase instead of deprecated ecommerce_purchase.
7+
8+
Version 2.7.1 *(5th March, 2021)*
9+
-------------------------------------------
10+
* Updated Firebase SDK to the latest (7.7.x).
11+
* Fixed issue w/ screen names not being captured.
12+
* Added mapping for "products"->"items".
13+
14+
Version 2.7.0 *(7th October, 2020)*
15+
-------------------------------------------
16+
* Updates import headers for iOS 14 support.
17+
318
Version 2.6.1 *(21st April, 2020)*
419
-------------------------------------------
520
* Adds support for mapping `-` to `_` in props and event names.

Example/Podfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
platform :ios, '10.0'
2+
13
## Without use_frameworks!
24
target 'Segment-Firebase_Example' do
35
# Use default subspec

Example/Podfile.lock

Lines changed: 82 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,79 @@
11
PODS:
2-
- Analytics (3.6.9)
2+
- Analytics (4.1.3)
33
- Expecta (1.0.6)
4-
- Firebase/Core (6.7.0):
4+
- Firebase/Core (7.7.0):
55
- Firebase/CoreOnly
6-
- FirebaseAnalytics (= 6.1.1)
7-
- Firebase/CoreOnly (6.7.0):
8-
- FirebaseCore (= 6.2.1)
9-
- FirebaseAnalytics (6.1.1):
10-
- FirebaseCore (~> 6.2)
11-
- FirebaseInstanceID (~> 4.2)
12-
- GoogleAppMeasurement (= 6.1.1)
13-
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
14-
- GoogleUtilities/MethodSwizzler (~> 6.0)
15-
- GoogleUtilities/Network (~> 6.0)
16-
- "GoogleUtilities/NSData+zlib (~> 6.0)"
17-
- nanopb (~> 0.3)
18-
- FirebaseCore (6.2.1):
19-
- FirebaseCoreDiagnostics (~> 1.0)
20-
- FirebaseCoreDiagnosticsInterop (~> 1.0)
21-
- GoogleUtilities/Environment (~> 6.2)
22-
- GoogleUtilities/Logger (~> 6.2)
23-
- FirebaseCoreDiagnostics (1.0.1):
24-
- FirebaseCoreDiagnosticsInterop (~> 1.0)
25-
- GoogleDataTransportCCTSupport (~> 1.0)
26-
- GoogleUtilities/Environment (~> 6.2)
27-
- GoogleUtilities/Logger (~> 6.2)
28-
- FirebaseCoreDiagnosticsInterop (1.0.0)
29-
- FirebaseInstanceID (4.2.3):
30-
- FirebaseCore (~> 6.0)
31-
- GoogleUtilities/Environment (~> 6.0)
32-
- GoogleUtilities/UserDefaults (~> 6.0)
33-
- GoogleAppMeasurement (6.1.1):
34-
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
35-
- GoogleUtilities/MethodSwizzler (~> 6.0)
36-
- GoogleUtilities/Network (~> 6.0)
37-
- "GoogleUtilities/NSData+zlib (~> 6.0)"
38-
- nanopb (~> 0.3)
39-
- GoogleDataTransport (1.1.3)
40-
- GoogleDataTransportCCTSupport (1.0.2):
41-
- GoogleDataTransport (~> 1.1)
42-
- nanopb
43-
- GoogleUtilities/AppDelegateSwizzler (6.2.5):
6+
- FirebaseAnalytics (= 7.7.0)
7+
- Firebase/CoreOnly (7.7.0):
8+
- FirebaseCore (= 7.7.0)
9+
- FirebaseAnalytics (7.7.0):
10+
- FirebaseCore (~> 7.0)
11+
- FirebaseInstallations (~> 7.0)
12+
- GoogleAppMeasurement (= 7.7.0)
13+
- GoogleUtilities/AppDelegateSwizzler (~> 7.0)
14+
- GoogleUtilities/MethodSwizzler (~> 7.0)
15+
- GoogleUtilities/Network (~> 7.0)
16+
- "GoogleUtilities/NSData+zlib (~> 7.0)"
17+
- nanopb (~> 2.30907.0)
18+
- FirebaseCore (7.7.0):
19+
- FirebaseCoreDiagnostics (~> 7.4)
20+
- GoogleUtilities/Environment (~> 7.0)
21+
- GoogleUtilities/Logger (~> 7.0)
22+
- FirebaseCoreDiagnostics (7.7.0):
23+
- GoogleDataTransport (~> 8.0)
24+
- GoogleUtilities/Environment (~> 7.0)
25+
- GoogleUtilities/Logger (~> 7.0)
26+
- nanopb (~> 2.30907.0)
27+
- FirebaseInstallations (7.7.0):
28+
- FirebaseCore (~> 7.0)
29+
- GoogleUtilities/Environment (~> 7.0)
30+
- GoogleUtilities/UserDefaults (~> 7.0)
31+
- PromisesObjC (~> 1.2)
32+
- GoogleAppMeasurement (7.7.0):
33+
- GoogleUtilities/AppDelegateSwizzler (~> 7.0)
34+
- GoogleUtilities/MethodSwizzler (~> 7.0)
35+
- GoogleUtilities/Network (~> 7.0)
36+
- "GoogleUtilities/NSData+zlib (~> 7.0)"
37+
- nanopb (~> 2.30907.0)
38+
- GoogleDataTransport (8.2.0):
39+
- nanopb (~> 2.30907.0)
40+
- GoogleUtilities/AppDelegateSwizzler (7.2.2):
4441
- GoogleUtilities/Environment
4542
- GoogleUtilities/Logger
4643
- GoogleUtilities/Network
47-
- GoogleUtilities/Environment (6.2.5)
48-
- GoogleUtilities/Logger (6.2.5):
44+
- GoogleUtilities/Environment (7.2.2):
45+
- PromisesObjC (~> 1.2)
46+
- GoogleUtilities/Logger (7.2.2):
4947
- GoogleUtilities/Environment
50-
- GoogleUtilities/MethodSwizzler (6.2.5):
48+
- GoogleUtilities/MethodSwizzler (7.2.2):
5149
- GoogleUtilities/Logger
52-
- GoogleUtilities/Network (6.2.5):
50+
- GoogleUtilities/Network (7.2.2):
5351
- GoogleUtilities/Logger
5452
- "GoogleUtilities/NSData+zlib"
5553
- GoogleUtilities/Reachability
56-
- "GoogleUtilities/NSData+zlib (6.2.5)"
57-
- GoogleUtilities/Reachability (6.2.5):
54+
- "GoogleUtilities/NSData+zlib (7.2.2)"
55+
- GoogleUtilities/Reachability (7.2.2):
5856
- GoogleUtilities/Logger
59-
- GoogleUtilities/UserDefaults (6.2.5):
57+
- GoogleUtilities/UserDefaults (7.2.2):
6058
- GoogleUtilities/Logger
61-
- nanopb (0.3.901):
62-
- nanopb/decode (= 0.3.901)
63-
- nanopb/encode (= 0.3.901)
64-
- nanopb/decode (0.3.901)
65-
- nanopb/encode (0.3.901)
66-
- OCHamcrest (7.0.1)
67-
- OCMockito (5.0.0):
68-
- OCHamcrest (~> 7.0)
69-
- Segment-Firebase (2.6.0):
70-
- Analytics (~> 3.2)
71-
- Firebase/Core (~> 6.2)
72-
- FirebaseAnalytics (~> 6.1)
73-
- Segment-Firebase/Core (= 2.6.0)
74-
- Segment-Firebase/Core (2.6.0):
75-
- Analytics (~> 3.2)
76-
- Firebase/Core (~> 6.2)
77-
- FirebaseAnalytics (~> 6.1)
59+
- nanopb (2.30907.0):
60+
- nanopb/decode (= 2.30907.0)
61+
- nanopb/encode (= 2.30907.0)
62+
- nanopb/decode (2.30907.0)
63+
- nanopb/encode (2.30907.0)
64+
- OCHamcrest (8.0.0)
65+
- OCMockito (6.0.0):
66+
- OCHamcrest (~> 8.0)
67+
- PromisesObjC (1.2.12)
68+
- Segment-Firebase (2.7.1-beta):
69+
- Analytics
70+
- Firebase/Core (~> 7.7)
71+
- FirebaseAnalytics (~> 7.7)
72+
- Segment-Firebase/Core (= 2.7.1-beta)
73+
- Segment-Firebase/Core (2.7.1-beta):
74+
- Analytics
75+
- Firebase/Core (~> 7.7)
76+
- FirebaseAnalytics (~> 7.7)
7877
- Specta (1.0.7)
7978

8079
DEPENDENCIES:
@@ -84,47 +83,45 @@ DEPENDENCIES:
8483
- Specta
8584

8685
SPEC REPOS:
87-
https://github.com/CocoaPods/Specs.git:
86+
trunk:
8887
- Analytics
8988
- Expecta
9089
- Firebase
9190
- FirebaseAnalytics
9291
- FirebaseCore
9392
- FirebaseCoreDiagnostics
94-
- FirebaseCoreDiagnosticsInterop
95-
- FirebaseInstanceID
93+
- FirebaseInstallations
9694
- GoogleAppMeasurement
9795
- GoogleDataTransport
98-
- GoogleDataTransportCCTSupport
9996
- GoogleUtilities
10097
- nanopb
10198
- OCHamcrest
10299
- OCMockito
100+
- PromisesObjC
103101
- Specta
104102

105103
EXTERNAL SOURCES:
106104
Segment-Firebase:
107105
:path: "../"
108106

109107
SPEC CHECKSUMS:
110-
Analytics: 6541ce337e99d9f7a2240a8b3953940a7be5f998
108+
Analytics: 4c01e3e19d4be86705bad6581a1c2aa5a15a9d22
111109
Expecta: 3b6bd90a64b9a1dcb0b70aa0e10a7f8f631667d5
112-
Firebase: 291d7b0a7b393f252358083b5d224884126fa46d
113-
FirebaseAnalytics: 843c7f64a8f9c79f0d03281197ebe7bb1d58d477
114-
FirebaseCore: 32b48f41c84a56fbde73b35ed01a830b3b6dc048
115-
FirebaseCoreDiagnostics: 4c04ae09d0ab027c30179828c6bb47764df1bd13
116-
FirebaseCoreDiagnosticsInterop: 6829da2b8d1fc795ff1bd99df751d3788035d2cb
117-
FirebaseInstanceID: 8b42755db950682e7de0d167bc6fb26a57b244af
118-
GoogleAppMeasurement: 86a82f0e1f20b8eedf8e20326530138fd71409de
119-
GoogleDataTransport: 91e682bd60a49d3f8f69f2e909a66efaed5a1e7a
120-
GoogleDataTransportCCTSupport: 6b545f7149111180763dc18c6f372c963de4a310
121-
GoogleUtilities: e7dc37039b19df7fe543479d3e4a02ac8d11bb69
122-
nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48
123-
OCHamcrest: 7c2229e7ea96eecd6e43dbef7c68e1dfbd6928b8
124-
OCMockito: 2598f5d43f6e74964d3ec3b9dea8b4fde3ea2c43
125-
Segment-Firebase: 0eed2062280020a418957d991c8c12588fea5c14
110+
Firebase: cd2ab85eec8170dc260186159f21072ecb679ad5
111+
FirebaseAnalytics: f3f8f75de34fe04141a69bb1c4bd7e24a80178e1
112+
FirebaseCore: ac35d680a0bf32319a59966a1478e0741536b97b
113+
FirebaseCoreDiagnostics: 179bf3831213451c8addd036aca7fcf5492ec154
114+
FirebaseInstallations: 42c86e7b02ff75b7f27f85833bf5dcb5f38a9774
115+
GoogleAppMeasurement: 0c3b134b2c0a90c4c24833873894bfe0e42a0384
116+
GoogleDataTransport: 1024b1a4dfbd7a0e92cb20d7e0a6f1fb66b449a4
117+
GoogleUtilities: 31c5b01f978a70c6cff2afc6272b3f1921614b43
118+
nanopb: 59221d7f958fb711001e6a449489542d92ae113e
119+
OCHamcrest: a613690381f1dac7637c18962c10dbe8feca4bb5
120+
OCMockito: 780f04370226f81a9d972c97d1203864ef609f5b
121+
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97
122+
Segment-Firebase: 34a16b9f5ceaa0b9103fd8e5d04edd1350a9e79e
126123
Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66
127124

128-
PODFILE CHECKSUM: 256b940a1c5273be6ea8930b511feb0a3fb065f8
125+
PODFILE CHECKSUM: 521b28bc356266c886b5a93813f0baf61e2d0cfa
129126

130-
COCOAPODS: 1.8.4
127+
COCOAPODS: 1.10.1

Example/Segment-Firebase.xcodeproj/project.pbxproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
isa = PBXProject;
250250
attributes = {
251251
CLASSPREFIX = SEG;
252-
LastUpgradeCheck = 0720;
252+
LastUpgradeCheck = 1240;
253253
ORGANIZATIONNAME = wcjohnson11;
254254
TargetAttributes = {
255255
6003F5AD195388D20070C39A = {
@@ -262,6 +262,7 @@
262262
developmentRegion = English;
263263
hasScannedForEncodings = 0;
264264
knownRegions = (
265+
English,
265266
en,
266267
Base,
267268
);
@@ -419,7 +420,7 @@
419420
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
420421
GCC_WARN_UNUSED_FUNCTION = YES;
421422
GCC_WARN_UNUSED_VARIABLE = YES;
422-
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
423+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
423424
ONLY_ACTIVE_ARCH = YES;
424425
SDKROOT = iphoneos;
425426
TARGETED_DEVICE_FAMILY = "1,2";
@@ -452,7 +453,7 @@
452453
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
453454
GCC_WARN_UNUSED_FUNCTION = YES;
454455
GCC_WARN_UNUSED_VARIABLE = YES;
455-
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
456+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
456457
SDKROOT = iphoneos;
457458
TARGETED_DEVICE_FAMILY = "1,2";
458459
VALIDATE_PRODUCT = YES;
@@ -469,7 +470,6 @@
469470
GCC_PRECOMPILE_PREFIX_HEADER = YES;
470471
GCC_PREFIX_HEADER = "Segment-Firebase/Segment-Firebase-Prefix.pch";
471472
INFOPLIST_FILE = "Segment-Firebase/Segment-Firebase-Info.plist";
472-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
473473
LIBRARY_SEARCH_PATHS = (
474474
"$(inherited)",
475475
"\"$PODS_CONFIGURATION_BUILD_DIR/Analytics\"",
@@ -492,7 +492,6 @@
492492
GCC_PRECOMPILE_PREFIX_HEADER = YES;
493493
GCC_PREFIX_HEADER = "Segment-Firebase/Segment-Firebase-Prefix.pch";
494494
INFOPLIST_FILE = "Segment-Firebase/Segment-Firebase-Info.plist";
495-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
496495
MODULE_NAME = ExampleApp;
497496
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
498497
PRODUCT_NAME = "$(TARGET_NAME)";

Example/Segment-Firebase.xcodeproj/xcshareddata/xcschemes/Segment-Firebase-Example.xcscheme

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0720"
3+
LastUpgradeVersion = "1240"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -27,6 +27,15 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<MacroExpansion>
31+
<BuildableReference
32+
BuildableIdentifier = "primary"
33+
BlueprintIdentifier = "6003F589195388D20070C39A"
34+
BuildableName = "Segment-Firebase_Example.app"
35+
BlueprintName = "Segment-Firebase_Example"
36+
ReferencedContainer = "container:Segment-Firebase.xcodeproj">
37+
</BuildableReference>
38+
</MacroExpansion>
3039
<Testables>
3140
<TestableReference
3241
skipped = "NO">
@@ -39,17 +48,6 @@
3948
</BuildableReference>
4049
</TestableReference>
4150
</Testables>
42-
<MacroExpansion>
43-
<BuildableReference
44-
BuildableIdentifier = "primary"
45-
BlueprintIdentifier = "6003F589195388D20070C39A"
46-
BuildableName = "Segment-Firebase_Example.app"
47-
BlueprintName = "Segment-Firebase_Example"
48-
ReferencedContainer = "container:Segment-Firebase.xcodeproj">
49-
</BuildableReference>
50-
</MacroExpansion>
51-
<AdditionalOptions>
52-
</AdditionalOptions>
5351
</TestAction>
5452
<LaunchAction
5553
buildConfiguration = "Debug"
@@ -71,8 +69,6 @@
7169
ReferencedContainer = "container:Segment-Firebase.xcodeproj">
7270
</BuildableReference>
7371
</BuildableProductRunnable>
74-
<AdditionalOptions>
75-
</AdditionalOptions>
7672
</LaunchAction>
7773
<ProfileAction
7874
buildConfiguration = "Release"

0 commit comments

Comments
 (0)