Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemilla committed May 9, 2024
1 parent 23388ae commit 5ab998b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Courier_iOS.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'Courier_iOS'
s.version = '3.4.0'
s.version = '3.4.1'
s.summary = 'Courier makes it easy to add notifications to your app'

s.homepage = 'https://github.com/trycourier/courier-ios'
Expand Down
2 changes: 1 addition & 1 deletion Sources/Courier_iOS/Courier_iOS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import UIKit
/**
* Versioning
*/
internal static let version = "3.4.0"
internal static let version = "3.4.1"
public static var agent = CourierAgent.native_ios

/**
Expand Down
7 changes: 7 additions & 0 deletions Sources/Courier_iOS/Modules/CoreAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ internal class CoreAuth {
async let putTokens: () = push.putPushTokens()
async let startInbox: () = inbox.startSoft()

if let tenantId = tenantId {

// Add tenant to user


}

// Batch all functions together
let _ = await [putTokens, startInbox]

Expand Down
8 changes: 1 addition & 7 deletions Sources/Courier_iOS/Repositories/InboxRepository.swift
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,8 @@ internal class InboxRepository: Repository {
let query = """
query GetMessages(
$params: FilterParamsInput = { status: "unread" }
$limit: Int = \(1)
$after: String
) {
count(params: $params)
messages(params: $params, limit: $limit, after: $after) {
nodes {
messageId
}
}
}
"""

Expand All @@ -142,6 +135,7 @@ internal class InboxRepository: Repository {
variables = """
{
\"params\": {
\"status\": \"unread\",
\"accountId\": \"\(tenantId)\"
}
}
Expand Down

0 comments on commit 5ab998b

Please sign in to comment.