Remove dependency from Mixpanel, remove core folder for foundation pod #5294

pull/5297/head
Krypto Pank 2 years ago
parent f9dfff2fc8
commit 52081f6e98
  1. 18
      AlphaWallet.xcodeproj/project.pbxproj
  2. 14
      AlphaWallet/Common/Services/Analytics/AnalyticsService.swift
  3. 5
      AlphaWallet/Common/Services/Analytics/MixpanelService.swift
  4. 2
      AlphaWalletTests/Coordinators/MixpanelCoordinatorTests.swift
  5. 3
      Podfile.lock
  6. 3
      modules/AlphaWalletFoundation/AlphaWalletFoundation.podspec
  7. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Activities/ActivitiesPipeLine.swift
  8. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Activities/ActivitiesService.swift
  9. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Activities/ActivityCollection.swift
  10. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Activities/ActivityRowModel.swift
  11. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Activities/Types/ActivitiesFilterStrategy.swift
  12. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Activities/Types/ActivityOrTransactionInstance.swift
  13. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Alerts/PriceAlertDataStore.swift
  14. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Alerts/PriceAlertService.swift
  15. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Alerts/Types/PriceAlert.swift
  16. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Analytics/AnalyticsEventPropertyValue.swift
  17. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Analytics/AnalyticsLogger.swift
  18. 16
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Analytics/AnalyticsServiceType.swift
  19. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Analytics/AnalyticsTypes.swift
  20. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Blockies/BlockieGenerator.swift
  21. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Blockies/BlockiesImage.swift
  22. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/BlockscanChat/BlockscanChat.swift
  23. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/BlockscanChat/BlockscanChatService.swift
  24. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Factory/WKWebViewConfiguration.swift
  25. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Models/Dapp.swift
  26. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Models/EmptyDapps.swift
  27. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Models/ScanQRCodeResolution.swift
  28. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Models/SwitchChainRequestConfiguration.swift
  29. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Storage/BookmarksStore.swift
  30. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Storage/HistoryStore.swift
  31. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Types/Bookmark.swift
  32. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Types/BrowserMessageType.swift
  33. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Types/BrowserURLParser.swift
  34. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Types/DAppError.swift
  35. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Types/DappAction.swift
  36. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Types/DappCommand.swift
  37. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Types/Favicon.swift
  38. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Types/History.swift
  39. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Types/Method.swift
  40. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Browser/Types/RequesterViewModel.swift
  41. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/BuyToken/BuyTokenService.swift
  42. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/BuyToken/CoinBase/CoinBase.swift
  43. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/BuyToken/Ramp/Ramp.swift
  44. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/CoinGecko/CoinGeckoNetworkProvider.swift
  45. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/CoinGecko/CoinGeckoTickerIdsFetcher.swift
  46. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/CoinGecko/CoinGeckoTickersFetcher.swift
  47. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/CoinTickersFetcher.swift
  48. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/CoinTickersStorage.swift
  49. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/Types/CoinTicker.swift
  50. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/Types/InMemoryTickerIdsFetcher.swift
  51. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/Types/TickerId.swift
  52. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/Types/TickerIdFilter.swift
  53. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/Types/TickerIdsFetcher.swift
  54. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/Types/TokenMappedToTicker.swift
  55. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/CoinTicker/tokens_2.json
  56. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/DomainResolutionService.swift
  57. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/ENSDelegateImpl.swift
  58. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/EnsResolver.swift
  59. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/EnsReverseResolver.swift
  60. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/GetEnsTextRecord.swift
  61. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/Storage/EnsRecordsStorage.swift
  62. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/Types/AddressOrEnsName.swift
  63. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/Types/AddressOrEnsResolution.swift
  64. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/Types/DomainResolutionServiceType.swift
  65. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/Types/EnsLookupKey.swift
  66. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/Types/EnsRecord.swift
  67. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/Types/EnsRecordObject.swift
  68. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/ENS/UnstoppableDomains/UnstoppableDomainsV2Resolver.swift
  69. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/CastError.swift
  70. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/ChainState.swift
  71. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/ChainStateSchedulerProvider.swift
  72. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/EIP712TypedData.swift
  73. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/EthTypedData.swift
  74. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/EtherServiceRequest.swift
  75. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/ImportType.swift
  76. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/KeyStoreError.swift
  77. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Models/GetBlockNumber.swift
  78. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Models/GetGasPrice.swift
  79. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Models/GetIsTransactionCompleted.swift
  80. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Models/GetNextNonce.swift
  81. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Models/GetPendingTransaction.swift
  82. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Models/WaitTillTransactionCompleted.swift
  83. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/PasswordGenerator.swift
  84. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/RLP.swift
  85. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Requests/BalanceRequest.swift
  86. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Requests/BlockNumber.swift
  87. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Requests/DASLookupRequest.swift
  88. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Requests/EstimateGasRequest.swift
  89. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Requests/EthCalllRequest.swift
  90. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Requests/EthChainIdRequest.swift
  91. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Requests/GasPriceRequest.swift
  92. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Requests/GetTransactionCountRequest.swift
  93. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Requests/GetTransactionRequest.swift
  94. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/Requests/SendRawTransactionRequest.swift
  95. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/TransactionSigning.swift
  96. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/TrustClient/AlphaWalletService.swift
  97. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/TrustClient/Models/ArrayResponse.swift
  98. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/TrustClient/Models/LocalizedOperation.swift
  99. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/TrustClient/Models/OperationType.swift
  100. 0
      modules/AlphaWalletFoundation/AlphaWalletFoundation/EtherClient/TrustClient/Models/RawTransaction.swift
  101. Some files were not shown because too many files have changed in this diff Show More

@ -669,6 +669,8 @@
87B1ACDB28C0D55D0072A5E2 /* tokens.json in Resources */ = {isa = PBXBuildFile; fileRef = 87B1ACDA28C0D55D0072A5E2 /* tokens.json */; };
87B1AD3728C1FE030072A5E2 /* KeychainStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87B1AD3628C1FE030072A5E2 /* KeychainStorage.swift */; };
87B1B5D928C73C170072A5E2 /* WalletConnectSwift in Frameworks */ = {isa = PBXBuildFile; productRef = 87B1B5D828C73C170072A5E2 /* WalletConnectSwift */; };
87B1B5EE28C870D60072A5E2 /* MixpanelService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87B1B5EC28C870D60072A5E2 /* MixpanelService.swift */; };
87B1B5EF28C870D60072A5E2 /* AnalyticsService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87B1B5ED28C870D60072A5E2 /* AnalyticsService.swift */; };
87B651F7256D4BFE000EF927 /* ClaimPaidOrderCoordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87B651F6256D4BFE000EF927 /* ClaimPaidOrderCoordinator.swift */; };
87B93B0E2726A46500F6EA73 /* BrowserStorageSubscription.js in Resources */ = {isa = PBXBuildFile; fileRef = 87B93B0D2726A46500F6EA73 /* BrowserStorageSubscription.js */; };
87B93B0F2726C59D00F6EA73 /* content.js in Resources */ = {isa = PBXBuildFile; fileRef = 8703FC0A270366DA0062C416 /* content.js */; };
@ -1505,6 +1507,8 @@
87B1ACD828C0D45B0072A5E2 /* chains.zip */ = {isa = PBXFileReference; lastKnownFileType = archive.zip; name = chains.zip; path = AlphaWallet/Resources/chains.zip; sourceTree = SOURCE_ROOT; };
87B1ACDA28C0D55D0072A5E2 /* tokens.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = tokens.json; path = AlphaWallet/Resources/tokens.json; sourceTree = SOURCE_ROOT; };
87B1AD3628C1FE030072A5E2 /* KeychainStorage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KeychainStorage.swift; sourceTree = "<group>"; };
87B1B5EC28C870D60072A5E2 /* MixpanelService.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MixpanelService.swift; sourceTree = "<group>"; };
87B1B5ED28C870D60072A5E2 /* AnalyticsService.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnalyticsService.swift; sourceTree = "<group>"; };
87B651F6256D4BFE000EF927 /* ClaimPaidOrderCoordinator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClaimPaidOrderCoordinator.swift; sourceTree = "<group>"; };
87B93B0D2726A46500F6EA73 /* BrowserStorageSubscription.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = BrowserStorageSubscription.js; sourceTree = "<group>"; };
87B93B122726C75900F6EA73 /* helpers.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = helpers.js; sourceTree = "<group>"; };
@ -3775,6 +3779,7 @@
87B1ACDD28C0D5C50072A5E2 /* Services */ = {
isa = PBXGroup;
children = (
87B1B5F228C8715F0072A5E2 /* Analytics */,
5E7C7FC75FF544B1DF0B0D8B /* PushNotificationsService.swift */,
875CA90828BF2B720020FA48 /* LocalNotificationService.swift */,
874ED68F27DB48FE001AB374 /* DappRequestHandler.swift */,
@ -3800,6 +3805,15 @@
path = Resources;
sourceTree = "<group>";
};
87B1B5F228C8715F0072A5E2 /* Analytics */ = {
isa = PBXGroup;
children = (
87B1B5ED28C870D60072A5E2 /* AnalyticsService.swift */,
87B1B5EC28C870D60072A5E2 /* MixpanelService.swift */,
);
path = Analytics;
sourceTree = "<group>";
};
87BBF9682563DD7500FF4846 /* WalletConnect */ = {
isa = PBXGroup;
children = (
@ -4353,7 +4367,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Don't run this during index builds\nif [ $ACTION = \"indexbuild\" ]; then exit 0; fi\n\nSCRIPT_PATH=\"${PODS_ROOT}/Apollo/scripts\"\nSCHEMA_PATH=\"${SRCROOT}/modules/AlphaWalletFoundation/AlphaWalletFoundation/Core/NFT/Enjin\"\n\ncd \"${SCHEMA_PATH}\"\n\"${SCRIPT_PATH}\"/run-bundled-codegen.sh codegen:generate --target=swift --includes=./**/*.graphql --localSchemaFile=\"${SCHEMA_PATH}/schema.json\" API.swift\n#Download graphql scheme \n#\"${SCRIPT_PATH}\"/run-bundled-codegen.sh schema:download --endpoint=\"https://cloud.enjin.io/graphql/default\" API.swift\n";
shellScript = "# Don't run this during index builds\nif [ $ACTION = \"indexbuild\" ]; then exit 0; fi\n\nSCRIPT_PATH=\"${PODS_ROOT}/Apollo/scripts\"\nSCHEMA_PATH=\"${SRCROOT}/modules/AlphaWalletFoundation/AlphaWalletFoundation/NFT/Enjin\"\n\ncd \"${SCHEMA_PATH}\"\n\"${SCRIPT_PATH}\"/run-bundled-codegen.sh codegen:generate --target=swift --includes=./**/*.graphql --localSchemaFile=\"${SCHEMA_PATH}/schema.json\" API.swift\n#Download graphql scheme \n#\"${SCRIPT_PATH}\"/run-bundled-codegen.sh schema:download --endpoint=\"https://cloud.enjin.io/graphql/default\" API.swift\n";
};
87FBF2B828056D8600616B7D /* Upload debug symbols to Crashlytics */ = {
isa = PBXShellScriptBuildPhase;
@ -4937,6 +4951,7 @@
87F15AEB27F1EA4E00EB9787 /* SwapDetailsView.swift in Sources */,
5E7C772EC476993A170C840B /* GenerateSellMagicLinkViewController.swift in Sources */,
5E7C7AC88DB7EB58FDAF1B21 /* ConfirmSignMessageViewControllerViewModel.swift in Sources */,
87B1B5EF28C870D60072A5E2 /* AnalyticsService.swift in Sources */,
02334299278480CF00492080 /* AddMultipleCustomRpcModel.swift in Sources */,
87442BD827D615B500EA2209 /* CheckTransactionStateViewController.swift in Sources */,
5E7C7A67B6143DFB9B1CF02B /* ConfirmSignMessageTableViewCell.swift in Sources */,
@ -5184,6 +5199,7 @@
5E7C75BA61A6F4D300D1DA3E /* WhatsNew.swift in Sources */,
5E7C73A66AD0CF28767CC142 /* WhatsNewListingCoordinator.swift in Sources */,
5E7C793EEF16E1689FE62543 /* WhatsNewListingViewController.swift in Sources */,
87B1B5EE28C870D60072A5E2 /* MixpanelService.swift in Sources */,
5E7C7FF312AB61DBEBD86C94 /* WhatsNewViewModels.swift in Sources */,
02F4E8B627715EA000D89C19 /* SaveCustomRpcOverallViewController.swift in Sources */,
5E7C7CC1E06FFC3A5BEBF1EC /* WhatsNewViews.swift in Sources */,

@ -6,18 +6,10 @@
//
import Foundation
import UIKit
public protocol AnalyticsServiceType: AnalyticsLogger {
func applicationDidBecomeActive()
func application(continue userActivity: NSUserActivity)
func application(open url: URL, sourceApplication: String?, annotation: Any)
func application(open url: URL, options: [UIApplication.OpenURLOptionsKey: Any])
func application(didReceiveRemoteNotification userInfo: [AnyHashable: Any])
}
import AlphaWalletFoundation
public final class AnalyticsService: NSObject, AnalyticsServiceType {
private var mixpanelService: MixpanelCoordinator?
private var mixpanelService: MixpanelService?
private var config: Config
public init(config: Config = .init()) {
@ -28,7 +20,7 @@ public final class AnalyticsService: NSObject, AnalyticsServiceType {
self.config.sendAnalyticsEnabled = Features.default.isAvailable(.isAnalyticsUIEnabled)
}
if Constants.Credentials.analyticsKey.nonEmpty && !Environment.isTestFlight {
mixpanelService = MixpanelCoordinator(withKey: Constants.Credentials.analyticsKey)
mixpanelService = MixpanelService(withKey: Constants.Credentials.analyticsKey)
}
}

@ -1,9 +1,10 @@
// Copyright © 2020 Stormbird PTE. LTD.
import Foundation
import AlphaWalletFoundation
import Mixpanel
public class MixpanelCoordinator {
public class MixpanelService {
private var mixpanelInstance: MixpanelInstance {
Mixpanel.mainInstance()
}
@ -18,7 +19,7 @@ public class MixpanelCoordinator {
}
}
extension MixpanelCoordinator: AnalyticsLogger {
extension MixpanelService: AnalyticsLogger {
public func log(navigation: AnalyticsNavigation, properties: [String: AnalyticsEventPropertyValue]?) {
let props: Properties? = properties?.compactMapValues(convertParameterToSdkSpecificVersion)
mixpanelInstance.track(event: navigation.rawValue, properties: props)

@ -11,7 +11,7 @@ import AlphaWalletFoundation
class MixpanelCoordinatorTests: XCTestCase {
func testMixpanelSdkTypeConvertation() {
let coordinator = MixpanelCoordinator(withKey: "")
let coordinator = MixpanelService(withKey: "")
let values: [AnalyticsEventPropertyValue] = [
"Hello AlphaWallet",
1,

@ -32,7 +32,6 @@ PODS:
- Kanna
- Kingfisher (~> 7.0)
- MailchimpSDK
- Mixpanel-swift
- Moya (~> 10.0.1)
- PaperTrailLumberjack/Swift
- PromiseKit/Alamofire
@ -307,7 +306,7 @@ SPEC CHECKSUMS:
AlphaWalletAddress: 62a69f5ccc7d6d17abf878c4274f4c3d5fdc97ba
AlphaWalletCore: 451c8a4dfdba1d3b59a3ac47bf0dcabcf1f4c049
AlphaWalletENS: a93a871ad5d8a8c78cd87b60eb59fccf4b23e841
AlphaWalletFoundation: 53981b803199dd6d0537cbc341772c68a260105c
AlphaWalletFoundation: 25f271d526c6a02fcaafcd0a5caaf41e9fd00edd
AlphaWalletGoBack: 935efdbd98fa80039f2a350cde5b3a50cea46564
AlphaWalletOpenSea: 11ccb06ae0200dadc2b3f7c3e223f407ac3a22b4
AlphaWalletWeb3Provider: 7ca1e1c1dc841dc1915f970daace48bf34931655

@ -19,7 +19,7 @@ Pod::Spec.new do |spec|
spec.platform = :ios, "13.0"
spec.source = { :git => 'git@github.com:AlphaWallet/alpha-wallet-ios.git', :tag => "#{spec.version}" }
spec.source_files = 'AlphaWalletFoundation/**/*.{h,m,swift}'
spec.resources = ['AlphaWalletFoundation/Core/Tokens/PopularTokens/known_contract.json']
spec.resource_bundles = {'AlphaWalletFoundation' => ['AlphaWalletFoundation/**/*.{graphql,json}'] }
spec.pod_target_xcconfig = { 'SWIFT_OPTIMIZATION_LEVEL' => '-Owholemodule' }
spec.dependency 'BigInt', '~> 3.1'
@ -39,7 +39,6 @@ Pod::Spec.new do |spec|
spec.dependency 'PromiseKit/Alamofire'
spec.dependency 'Kanna'
spec.dependency 'TrustWalletCore', '2.6.34'
spec.dependency 'Mixpanel-swift'
spec.dependency 'EthereumABI'
spec.dependency 'BlockiesSwift'
spec.dependency 'PaperTrailLumberjack/Swift'

@ -0,0 +1,16 @@
//
// AnalyticsServiceType.swift
// AlphaWalletFoundation
//
// Created by Vladyslav Shepitko on 07.09.2022.
//
import Foundation
public protocol AnalyticsServiceType: AnalyticsLogger {
func applicationDidBecomeActive()
func application(continue userActivity: NSUserActivity)
func application(open url: URL, sourceApplication: String?, annotation: Any)
func application(open url: URL, options: [UIApplication.OpenURLOptionsKey: Any])
func application(didReceiveRemoteNotification userInfo: [AnyHashable: Any])
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save