Skip to content

Commit

Permalink
Update libxmtp ref for fork fix (#448)
Browse files Browse the repository at this point in the history
* update libxmtp ref for fork fix

* bump podspec version

* bump podspec to 3.0.17

---------

Co-authored-by: cameronvoell <cameronvoell@users.noreply.github.com>
  • Loading branch information
cameronvoell and cameronvoell authored Dec 17, 2024
1 parent 5d68efc commit b6d58ed
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ GEM

PLATFORMS
arm64-darwin-22
arm64-darwin-23

DEPENDENCIES
jazzy
Expand Down
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/xmtp/libxmtp-swift.git",
"state" : {
"revision" : "bab83b5de3ed4713d50535e61bca281179bf04fd",
"version" : "3.0.10"
"revision" : "d6670069b6f7ae52415c691dbca4c37fbdaf87b4",
"version" : "3.0.12"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let package = Package(
.package(url: "https://github.com/bufbuild/connect-swift", exact: "1.0.0"),
.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.4.3"),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", exact: "1.8.3"),
.package(url: "https://github.com/xmtp/libxmtp-swift.git", exact: "3.0.10")
.package(url: "https://github.com/xmtp/libxmtp-swift.git", exact: "3.0.12")
],
targets: [
.target(
Expand Down
3 changes: 2 additions & 1 deletion Sources/XMTPiOS/Conversations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public actor Conversations {
try await ffiConversations.sync()
}
public func syncAllConversations() async throws -> UInt32 {
return try await ffiConversations.syncAllConversations()
// TODO: add consent state here
return try await ffiConversations.syncAllConversations(consentState: nil)
}

public func listGroups(
Expand Down
5 changes: 3 additions & 2 deletions XMTP.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Pod::Spec.new do |spec|
spec.name = "XMTP"
spec.version = "3.0.16"
spec.version = "3.0.17"

spec.summary = "XMTP SDK Cocoapod"

spec.description = <<-DESC
Expand All @@ -22,7 +23,7 @@ Pod::Spec.new do |spec|

spec.dependency 'CSecp256k1', '~> 0.2'
spec.dependency "Connect-Swift", "= 1.0.0"
spec.dependency 'LibXMTP', '= 3.0.10'
spec.dependency 'LibXMTP', '= 3.0.12'
spec.dependency 'CryptoSwift', '= 1.8.3'
spec.dependency 'SQLCipher', '= 4.5.7'

Expand Down

0 comments on commit b6d58ed

Please sign in to comment.