Skip to content

Commit f98c656

Browse files
committed
Add logging
1 parent d1b7655 commit f98c656

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Demo/app/src/main/swift/MainActivity.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ private extension MainActivity {
7979
hostController: hostController,
8080
context: context
8181
)
82+
self.central = central
8283

8384
Task {
8485
do {
86+
log("Start Scan")
8587
let scanStream = try await central.scan()
8688
for try await result in scanStream {
8789
log("Found: \(result)")

0 commit comments

Comments
 (0)