Skip to content

Commit

Permalink
Merge pull request #471 from xmtp/cv/fix-ios-logs
Browse files Browse the repository at this point in the history
Display libxmtp logs in ios apps
  • Loading branch information
cameronvoell authored Aug 16, 2024
2 parents f6d2b2e + d62bbbc commit 4ccd25e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/src/LaunchScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function LaunchScreen(
const networkOptions = [
{ key: 0, label: 'dev' },
{ key: 1, label: 'local' },
// { key: 2, label: 'production' },
{ key: 2, label: 'production' },
]

const groupOptions = [
Expand Down
2 changes: 1 addition & 1 deletion ios/XMTPModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ public class XMTPModule: Module {
let entries = try logStore.getEntries(at: position)

for entry in entries {
if let logEntry = entry as? OSLogEntryLog {
if let logEntry = entry as? OSLogEntryLog, logEntry.composedMessage.contains("libxmtp") {
logOutput.append("\(logEntry.date): \(logEntry.composedMessage)\n")
}
}
Expand Down
2 changes: 1 addition & 1 deletion ios/XMTPReactNative.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ Pod::Spec.new do |s|
s.source_files = "**/*.{h,m,swift}"
s.dependency 'secp256k1.swift'
s.dependency "MessagePacker"
s.dependency "XMTP", "= 0.14.1"
s.dependency "XMTP", "= 0.14.3"
end

0 comments on commit 4ccd25e

Please sign in to comment.