Skip to content

Commit

Permalink
Project id note
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Oct 24, 2023
1 parent f8cee2e commit 221a4c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Example/IntegrationTests/Push/NotifyTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ final class NotifyTests: XCTestCase {
keychainStorage: keychain,
environment: .sandbox)
let keyserverURL = URL(string: "https://keys.walletconnect.com")!
let client = NotifyClientFactory.create(explorerProjectId: InputConfig.gmDappProjectId,
// Note:- prod project_id do not exists on staging, we can use gmDappProjectId
let client = NotifyClientFactory.create(projectId: InputConfig.gmDappProjectId,
keyserverURL: keyserverURL,
logger: notifyLogger,
keyValueStorage: keyValueStorage,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public struct NotifyClientFactory {
let groupKeychainService = GroupKeychainStorage(serviceIdentifier: groupIdentifier)

return NotifyClientFactory.create(
explorerProjectId: projectId,
projectId: projectId,
keyserverURL: keyserverURL,
logger: logger,
keyValueStorage: keyValueStorage,
Expand All @@ -26,7 +26,7 @@ public struct NotifyClientFactory {
}

static func create(
explorerProjectId: String,
projectId: String,
keyserverURL: URL,
logger: ConsoleLogging,
keyValueStorage: KeyValueStorage,
Expand All @@ -50,7 +50,7 @@ public struct NotifyClientFactory {
let deleteNotifySubscriptionRequester = DeleteNotifySubscriptionRequester(keyserver: keyserverURL, networkingInteractor: networkInteractor, identityClient: identityClient, webDidResolver: webDidResolver, kms: kms, logger: logger, notifyStorage: notifyStorage)
let resubscribeService = NotifyResubscribeService(networkInteractor: networkInteractor, notifyStorage: notifyStorage, logger: logger)

let notifyConfigProvider = NotifyConfigProvider(projectId: explorerProjectId, explorerHost: explorerHost)
let notifyConfigProvider = NotifyConfigProvider(projectId: projectId, explorerHost: explorerHost)

let notifySubscribeRequester = NotifySubscribeRequester(keyserverURL: keyserverURL, networkingInteractor: networkInteractor, identityClient: identityClient, logger: logger, kms: kms, webDidResolver: webDidResolver, notifyConfigProvider: notifyConfigProvider)

Expand Down

0 comments on commit 221a4c0

Please sign in to comment.