mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Set up Analytics to track data per session (#780)
This commit is contained in:
@@ -38,4 +38,16 @@ class ServiceLocator {
|
||||
func register(networkMonitor: NetworkMonitor) {
|
||||
self.networkMonitor = networkMonitor
|
||||
}
|
||||
|
||||
private(set) var analytics: Analytics!
|
||||
|
||||
func register(analytics: Analytics) {
|
||||
self.analytics = analytics
|
||||
}
|
||||
|
||||
private(set) var bugReportService: BugReportServiceProtocol!
|
||||
|
||||
func register(bugReportService: BugReportServiceProtocol) {
|
||||
self.bugReportService = bugReportService
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user