Skip to content

Commit d5fb884

Browse files
authored
Merge pull request #3 from taxfix/chore/sync-with-upstream
Chore/sync with upstream
2 parents 4d4638d + 98057c9 commit d5fb884

File tree

18 files changed

+629
-253
lines changed

18 files changed

+629
-253
lines changed

.circleci/config.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,23 @@ 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
15-
# - run:
16-
# name: Fetch Cocoapods specs
17-
# command: curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
18-
14+
sudo gem install cocoapods -v 1.10.0
15+
- run:
16+
name: Fetch Cocoapods specs
17+
command: curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
1918
- run: make install
2019
- run: make build
2120
- run: make test
2221
- run: make lint
2322

24-
# - store_test_results:
25-
# # relies on xcpretty --report junit
26-
# path: build/reports
27-
# - run: bash <(curl -s https://codecov.io/bash)
28-
2923
workflows:
3024
version: 2
3125
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: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,49 @@
11
Change Log
22
==========
3+
4+
Version 2.7.7 *(24th May, 2021)*
5+
-------------------------------------------
6+
* Fix incorrect array being used for recursive mapping.
7+
8+
Version 2.7.6 *(18th May, 2021)*
9+
-------------------------------------------
10+
* Use headers instead of module names to address react-native issue.
11+
12+
Version 2.7.5 *(18th May, 2021)*
13+
-------------------------------------------
14+
* Revert temporary fix for React Native issue.
15+
16+
Version 2.7.4 *(17th May, 2021)*
17+
-------------------------------------------
18+
* Temporary fix for React Native issue.
19+
20+
Version 2.7.3 *(7th May, 2021)*
21+
-------------------------------------------
22+
* Make Firebase key mapping recursive.
23+
* Added Swift Package Manager support.
24+
25+
Version 2.7.2 *(5th March, 2021)*
26+
-------------------------------------------
27+
* Map "order completed" to purchase instead of deprecated ecommerce_purchase.
28+
29+
Version 2.7.1 *(5th March, 2021)*
30+
-------------------------------------------
31+
* Updated Firebase SDK to the latest (7.7.x).
32+
* Fixed issue w/ screen names not being captured.
33+
* Added mapping for "products"->"items".
34+
35+
Version 2.7.0 *(7th October, 2020)*
36+
-------------------------------------------
37+
* Updates import headers for iOS 14 support.
38+
39+
Version 2.6.1 *(21st April, 2020)*
40+
-------------------------------------------
41+
* Adds support for mapping `-` to `_` in props and event names.
42+
43+
Version 2.6.0 *(12th February, 2020)*
44+
-------------------------------------------
45+
* Adds support for calling `screen` calls explicitly.
46+
347
Version 2.5.0 *(9th September, 2019)*
448
-------------------------------------------
549

Example/Podfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
platform :ios, '10.0'
2+
3+
use_frameworks!
4+
15
## Without use_frameworks!
26
target 'Segment-Firebase_Example' do
37
# Use default subspec

Example/Podfile.lock

Lines changed: 106 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,103 @@
11
PODS:
2-
- Analytics (3.6.9)
2+
- Analytics (4.1.4)
33
- Expecta (1.0.6)
4-
- Firebase/Core (6.7.0):
4+
- Firebase (7.11.0):
5+
- Firebase/Core (= 7.11.0)
6+
- Firebase/Core (7.11.0):
57
- 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):
8+
- FirebaseAnalytics (~> 7.11.0)
9+
- Firebase/CoreOnly (7.11.0):
10+
- FirebaseCore (= 7.11.0)
11+
- FirebaseAnalytics (7.11.0):
12+
- FirebaseAnalytics/AdIdSupport (= 7.11.0)
13+
- FirebaseCore (~> 7.0)
14+
- FirebaseInstallations (~> 7.0)
15+
- GoogleUtilities/AppDelegateSwizzler (~> 7.0)
16+
- GoogleUtilities/MethodSwizzler (~> 7.0)
17+
- GoogleUtilities/Network (~> 7.0)
18+
- "GoogleUtilities/NSData+zlib (~> 7.0)"
19+
- nanopb (~> 2.30908.0)
20+
- FirebaseAnalytics/AdIdSupport (7.11.0):
21+
- FirebaseAnalytics/Base (= 7.11.0)
22+
- FirebaseCore (~> 7.0)
23+
- FirebaseInstallations (~> 7.0)
24+
- GoogleAppMeasurement/AdIdSupport (= 7.11.0)
25+
- GoogleUtilities/AppDelegateSwizzler (~> 7.0)
26+
- GoogleUtilities/MethodSwizzler (~> 7.0)
27+
- GoogleUtilities/Network (~> 7.0)
28+
- "GoogleUtilities/NSData+zlib (~> 7.0)"
29+
- nanopb (~> 2.30908.0)
30+
- FirebaseAnalytics/Base (7.11.0):
31+
- FirebaseCore (~> 7.0)
32+
- FirebaseInstallations (~> 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.30908.0)
38+
- FirebaseCore (7.11.0):
39+
- FirebaseCoreDiagnostics (~> 7.4)
40+
- GoogleUtilities/Environment (~> 7.0)
41+
- GoogleUtilities/Logger (~> 7.0)
42+
- FirebaseCoreDiagnostics (7.11.0):
43+
- GoogleDataTransport (~> 8.4)
44+
- GoogleUtilities/Environment (~> 7.0)
45+
- GoogleUtilities/Logger (~> 7.0)
46+
- nanopb (~> 2.30908.0)
47+
- FirebaseInstallations (7.11.0):
48+
- FirebaseCore (~> 7.0)
49+
- GoogleUtilities/Environment (~> 7.0)
50+
- GoogleUtilities/UserDefaults (~> 7.0)
51+
- PromisesObjC (~> 1.2)
52+
- GoogleAppMeasurement/AdIdSupport (7.11.0):
53+
- GoogleUtilities/AppDelegateSwizzler (~> 7.0)
54+
- GoogleUtilities/MethodSwizzler (~> 7.0)
55+
- GoogleUtilities/Network (~> 7.0)
56+
- "GoogleUtilities/NSData+zlib (~> 7.0)"
57+
- nanopb (~> 2.30908.0)
58+
- GoogleDataTransport (8.4.0):
59+
- GoogleUtilities/Environment (~> 7.2)
60+
- nanopb (~> 2.30908.0)
61+
- PromisesObjC (~> 1.2)
62+
- GoogleUtilities/AppDelegateSwizzler (7.4.1):
4463
- GoogleUtilities/Environment
4564
- GoogleUtilities/Logger
4665
- GoogleUtilities/Network
47-
- GoogleUtilities/Environment (6.2.5)
48-
- GoogleUtilities/Logger (6.2.5):
66+
- GoogleUtilities/Environment (7.4.1):
67+
- PromisesObjC (~> 1.2)
68+
- GoogleUtilities/Logger (7.4.1):
4969
- GoogleUtilities/Environment
50-
- GoogleUtilities/MethodSwizzler (6.2.5):
70+
- GoogleUtilities/MethodSwizzler (7.4.1):
5171
- GoogleUtilities/Logger
52-
- GoogleUtilities/Network (6.2.5):
72+
- GoogleUtilities/Network (7.4.1):
5373
- GoogleUtilities/Logger
5474
- "GoogleUtilities/NSData+zlib"
5575
- GoogleUtilities/Reachability
56-
- "GoogleUtilities/NSData+zlib (6.2.5)"
57-
- GoogleUtilities/Reachability (6.2.5):
76+
- "GoogleUtilities/NSData+zlib (7.4.1)"
77+
- GoogleUtilities/Reachability (7.4.1):
5878
- GoogleUtilities/Logger
59-
- GoogleUtilities/UserDefaults (6.2.5):
79+
- GoogleUtilities/UserDefaults (7.4.1):
6080
- 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.4.1):
70-
- Analytics (~> 3.2)
71-
- Firebase/Core (~> 6.2)
72-
- FirebaseAnalytics (~> 6.1)
73-
- Segment-Firebase/Core (= 2.4.1)
74-
- Segment-Firebase/Core (2.4.1):
75-
- Analytics (~> 3.2)
76-
- Firebase/Core (~> 6.2)
77-
- FirebaseAnalytics (~> 6.1)
81+
- nanopb (2.30908.0):
82+
- nanopb/decode (= 2.30908.0)
83+
- nanopb/encode (= 2.30908.0)
84+
- nanopb/decode (2.30908.0)
85+
- nanopb/encode (2.30908.0)
86+
- OCHamcrest (8.0.0)
87+
- OCMockito (6.0.0):
88+
- OCHamcrest (~> 8.0)
89+
- PromisesObjC (1.2.12)
90+
- Segment-Firebase (2.7.6):
91+
- Analytics
92+
- Firebase (~> 7.7)
93+
- Firebase/Core (~> 7.7)
94+
- FirebaseAnalytics (~> 7.7)
95+
- Segment-Firebase/Core (= 2.7.6)
96+
- Segment-Firebase/Core (2.7.6):
97+
- Analytics
98+
- Firebase (~> 7.7)
99+
- Firebase/Core (~> 7.7)
100+
- FirebaseAnalytics (~> 7.7)
78101
- Specta (1.0.7)
79102

80103
DEPENDENCIES:
@@ -84,47 +107,45 @@ DEPENDENCIES:
84107
- Specta
85108

86109
SPEC REPOS:
87-
https://github.com/cocoapods/specs.git:
110+
trunk:
88111
- Analytics
89112
- Expecta
90113
- Firebase
91114
- FirebaseAnalytics
92115
- FirebaseCore
93116
- FirebaseCoreDiagnostics
94-
- FirebaseCoreDiagnosticsInterop
95-
- FirebaseInstanceID
117+
- FirebaseInstallations
96118
- GoogleAppMeasurement
97119
- GoogleDataTransport
98-
- GoogleDataTransportCCTSupport
99120
- GoogleUtilities
100121
- nanopb
101122
- OCHamcrest
102123
- OCMockito
124+
- PromisesObjC
103125
- Specta
104126

105127
EXTERNAL SOURCES:
106128
Segment-Firebase:
107129
:path: "../"
108130

109131
SPEC CHECKSUMS:
110-
Analytics: 6541ce337e99d9f7a2240a8b3953940a7be5f998
132+
Analytics: 7bdc735c456434b4eaa2eacdcf122bb03d51ede7
111133
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: d882b05c4fa34513f1f950623d876bc6acc02740
134+
Firebase: c121feb35e4126c0b355e3313fa9b487d47319fd
135+
FirebaseAnalytics: cd3bd84d722a24a8923918af8af8e5236f615d77
136+
FirebaseCore: 907447d8917a4d3eb0cce2829c5a0ad21d90b432
137+
FirebaseCoreDiagnostics: 68ad972f99206cef818230f3f3179d52ccfb7f8c
138+
FirebaseInstallations: a58d4f72ec5861840b84df489f2668d970df558a
139+
GoogleAppMeasurement: fd19169c3034975cb934e865e5667bfdce59df7f
140+
GoogleDataTransport: cd9db2180fcecd8da1b561aea31e3e56cf834aa7
141+
GoogleUtilities: f8a43108b38a68eebe8b3540e1f4f2d28843ce20
142+
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
143+
OCHamcrest: a613690381f1dac7637c18962c10dbe8feca4bb5
144+
OCMockito: 780f04370226f81a9d972c97d1203864ef609f5b
145+
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97
146+
Segment-Firebase: 803612e886720f0d7d819871cf279c748ce6e187
126147
Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66
127148

128-
PODFILE CHECKSUM: 256b940a1c5273be6ea8930b511feb0a3fb065f8
149+
PODFILE CHECKSUM: 6ed9d49cabf18e7f28eb6b1e1c6f84ce781f3324
129150

130-
COCOAPODS: 1.7.3
151+
COCOAPODS: 1.10.1

0 commit comments

Comments
 (0)