Skip to content

Commit

Permalink
AMP-85465 Swift v2 codegen: use base SDK types
Browse files Browse the repository at this point in the history
  • Loading branch information
falconandy committed Oct 3, 2023
1 parent 9cb0092 commit ddb423f
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 208 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/amplitude/Amplitude-Swift";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.7.1;
branch = "AMP-67635-objc-support-properties";
kind = branch;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/amplitude/Amplitude-Swift",
"state" : {
"revision" : "4f9c21758a511f4e59226a6bfbcd025f61adc1a0",
"version" : "0.7.1"
"branch" : "AMP-67635-objc-support-properties",
"revision" : "5b6b7c917edde1cb8bf59ee7383442c8a4cd2759"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class AmpliTests: XCTestCase {
func testTrackEventWithAllTypes() throws {
let userId = "test-user-id";
let deviceId = "test-device-id";
let eventOptions = EventOptions(deviceId: deviceId)
let eventOptions = EventOptions(userId: userId, deviceId: deviceId)

initAmpliWithNewInstance("testTrackEventWithAllTypes")
let eventCollector = EventCollectorPlugin()
Expand All @@ -99,7 +99,7 @@ class AmpliTests: XCTestCase {
requiredInteger: 10,
requiredNumber: 2.0,
requiredString: "required string"
).options(userId: userId),
),
options: eventOptions
)
ampli.flush()
Expand Down
Loading

0 comments on commit ddb423f

Please sign in to comment.