Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
vietdq2701 committed Sep 16, 2020
1 parent c260999 commit 0b6c86f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ios/Classes/SwiftFlutterNearbyConnectionsPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class SwiftFlutterNearbyConnectionsPlugin: NSObject, FlutterPlugin {
do {
if let data = notification.userInfo?["data"] as? Data, let stringData = JSON(data).rawString() {
self.channel.invokeMethod(INVOKE_MESSAGE_RECEIVE_METHOD,
arguments: stringData)
arguments: stringData)
}
} catch let e {
print(e.localizedDescription)
Expand Down Expand Up @@ -121,6 +121,9 @@ public class SwiftFlutterNearbyConnectionsPlugin: NSObject, FlutterPlugin {
} catch let error as NSError {
print(error)
}
default:
return
}
}

}

0 comments on commit 0b6c86f

Please sign in to comment.