Skip to content

Commit 118ae7b

Browse files
committed
Adding usage of setLocationEventReportedClosure in Grocery Express app delegate
1 parent e59db7e commit 118ae7b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Examples/GroceryExpress/AppDelegate.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,16 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
2727
} else {
2828
ConnectButtonController.deactivate()
2929
}
30+
3031
ConnectButtonController.setBackgroundProcessClosures {
3132
print("Background process started!")
3233
} expirationHandler: {
3334
print("Background process expired!")
3435
}
36+
37+
ConnectButtonController.setLocationEventReportedClosure { events in
38+
print(events)
39+
}
3540

3641
return true
3742
}

0 commit comments

Comments
 (0)