-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #187 from pietrocaselani/setup_crashlytics
Setup crashlytics
- Loading branch information
Showing
31 changed files
with
120 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,3 +50,5 @@ Pods/ | |
/vendor | ||
.bundle | ||
CouchTrackerApp/Utils/Secrets.swift | ||
crashlytics.apikey | ||
crashlytics.apisecret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import Crashlytics | ||
|
||
public enum CrashReporter { | ||
public static func initialize() { | ||
Crashlytics.start(withAPIKey: Secrets.Crashlytics.apiKey) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import RxSwift | ||
|
||
public protocol AppFlowModuleDataSource: class { | ||
public protocol AppFlowModuleDataSource: AnyObject { | ||
var modulePages: [ModulePage] { get } | ||
} | ||
|
||
public protocol AppFlowPresenter: class { | ||
public protocol AppFlowPresenter: AnyObject { | ||
init(repository: AppFlowRepository, moduleDataSource: AppFlowModuleDataSource) | ||
|
||
func observeViewState() -> Observable<AppFlowViewState> | ||
func viewDidLoad() | ||
func selectTab(index: Int) | ||
} | ||
|
||
public protocol AppFlowRepository: class { | ||
public protocol AppFlowRepository: AnyObject { | ||
var lastSelectedTab: Int { get set } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
public protocol BaseView: class {} | ||
public protocol BaseView: AnyObject {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.