Skip to content

Commit

Permalink
Merge branch 'main' of github.com:gojek/clickstream-ios into rename_sdk
Browse files Browse the repository at this point in the history
# Conflicts:
#	ClickstreamLib.podspec
#	ClickstreamLib.xcodeproj/project.pbxproj
#	Podfile.lock
#	Sources/ClickstreamLib/NetworkManager/Infrastructure/Utilities/DispatchSourceTimer+RepeatingTimer.swift
  • Loading branch information
AbhijeetMallick committed Apr 8, 2024
2 parents 257344f + 5085253 commit fd85313
Show file tree
Hide file tree
Showing 109 changed files with 104 additions and 90 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion ClickstreamLib.podspec → Clickstream.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#

Pod::Spec.new do |s|
s.name = "ClickstreamLib"
s.name = "Clickstream"
s.version = "2.0.20"
s.summary = "Real time Analytics SDK"
s.description = "Clickstream is an event agnostic, real-time data ingestion analytics SDK"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1320"
version = "1.3">
LastUpgradeVersion = "1530"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
Expand All @@ -15,9 +16,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "68E7BADE244F08C00072549A"
BuildableName = "libClickstreamLib.a"
BlueprintName = "ClickstreamLib"
ReferencedContainer = "container:ClickstreamLib.xcodeproj">
BuildableName = "libClickstream.a"
BlueprintName = "Clickstream"
ReferencedContainer = "container:Clickstream.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -26,7 +27,8 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -35,7 +37,7 @@
BlueprintIdentifier = "68E7BD1A2456E6F10072549A"
BuildableName = "ClickstreamTests.xctest"
BlueprintName = "ClickstreamTests"
ReferencedContainer = "container:ClickstreamLib.xcodeproj">
ReferencedContainer = "container:Clickstream.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
Expand All @@ -61,9 +63,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "68E7BADE244F08C00072549A"
BuildableName = "libClickstreamLib.a"
BlueprintName = "ClickstreamLib"
ReferencedContainer = "container:ClickstreamLib.xcodeproj">
BuildableName = "libClickstream.a"
BlueprintName = "Clickstream"
ReferencedContainer = "container:Clickstream.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ClickstreamTests/Core/ClickStreamDependenciesTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class ClickstreamDependenciesTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion ClickstreamTests/Core/ClickStreamTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest
import SwiftProtobuf

Expand Down
2 changes: 1 addition & 1 deletion ClickstreamTests/Core/Entities/EventBatchTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest
import SwiftProtobuf

Expand Down
2 changes: 1 addition & 1 deletion ClickstreamTests/Core/Entities/EventTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class EventTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion ClickstreamTests/Core/Mocks/MockConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2023 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import Foundation

struct MockConstants {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class EventProcessorDependenciesTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest
import SwiftProtobuf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class AppStateNotifierServiceTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class DatabaseDAOTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class EventBatchProcessorTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class EventSchedulerDependenciesTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class EventWarehouserTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import Foundation

final class AppStateNotifierMock: AppStateNotifierService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import Foundation

final class BatchSizeRegulatorMock: BatchSizeRegulator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class SchedulerServiceTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class SortedArrayTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
// Refered from: https://stackoverflow.com/a/60314121

@testable import ClickstreamLib
@testable import Clickstream
import Foundation

extension SerialQueue {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class NetworkManagerDependenciesTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class NetworkBuilderTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class NetworkServiceTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class RetryMechanismTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import Foundation


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import Foundation

enum SocketConnectionState {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest
import SwiftProtobuf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class DeviceStatusNotifierTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2020 Gojek. All rights reserved.
//

@testable import ClickstreamLib
@testable import Clickstream
import XCTest

class KeepAliveServiceTests: XCTestCase {
Expand Down
4 changes: 2 additions & 2 deletions Example/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@
"\"CoreTelephony\"",
"-framework",
"\"SystemConfiguration\"",
"-l\"ClickstreamLib\"",
"-l\"Clickstream\"",
);
OTHER_SWIFT_FLAGS = "$(inherited) -D COCOAPODS -Xcc -fmodule-map-file=\"${PODS_CONFIGURATION_BUILD_DIR}/GRDB.swift/GRDB.modulemap\" -Xcc -fmodule-map-file=\"${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.modulemap\" -Xcc -fmodule-map-file=\"${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf/SwiftProtobuf.modulemap\"";
PRODUCT_BUNDLE_IDENTIFIER = com.clickstream.example;
Expand Down Expand Up @@ -473,7 +473,7 @@
"\"CoreTelephony\"",
"-framework",
"\"SystemConfiguration\"",
"-l\"ClickstreamLib\"",
"-l\"Clickstream\"",
);
OTHER_SWIFT_FLAGS = "$(inherited) -D COCOAPODS -Xcc -fmodule-map-file=\"${PODS_CONFIGURATION_BUILD_DIR}/GRDB.swift/GRDB.modulemap\" -Xcc -fmodule-map-file=\"${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.modulemap\" -Xcc -fmodule-map-file=\"${PODS_CONFIGURATION_BUILD_DIR}/SwiftProtobuf/SwiftProtobuf.modulemap\"";
PRODUCT_BUNDLE_IDENTIFIER = com.clickstream.example;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreviewsEnabled</key>
<false/>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Example/Example/src/AnalyticsManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import Foundation
import ClickstreamLib
import Clickstream
import SwiftProtobuf

class AnalyticsManager {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Foundation
import SwiftProtobuf

#if EVENT_VISUALIZER_ENABLED
import ClickstreamLib
import Clickstream

extension User: CollectionMapper { }
extension Device: CollectionMapper { }
Expand Down
6 changes: 3 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'
use_modular_headers!

project 'ClickstreamLib.xcodeproj'
workspace 'ClickstreamLib.xcworkspace'
project 'Clickstream.xcodeproj'
workspace 'Clickstream.xcworkspace'

def clickstream_pods
pod 'SwiftProtobuf', '~> 1.10'
pod 'ReachabilitySwift', '>= 5.0.0'
pod 'GRDB.swift', '~> 6.7'
end

target 'ClickstreamLib' do
target 'Clickstream' do
clickstream_pods
end

Expand Down
Loading

0 comments on commit fd85313

Please sign in to comment.