Skip to content

Commit 77ded93

Browse files
committed
Update sample app
1 parent 0802457 commit 77ded93

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Sample/Instabug Demo/AppDelegate.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1111
var window: UIWindow?
1212
let appToken = "81fb5c82a5d7144eb77da6e1ec9d60e6"
1313

14-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {
14+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
1515
Instabug.start(withToken: appToken, invocationEvents: .floatingButton)
16-
Instabug.autoScreenRecordingEnabled = true
17-
NetworkLogger.enabled = true
1816
return true
1917
}
2018
}

Sample/Instabug Demo/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ViewController: UITableViewController {
4242

4343
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
4444
if indexPath.row == 0 {
45-
BugReporting.invoke()
45+
Instabug.show()
4646
} else if indexPath.row == 1 {
4747
Instabug.showWelcomeMessage(with: .beta)
4848
} else if indexPath.row == 2 {

0 commit comments

Comments
 (0)