-
Notifications
You must be signed in to change notification settings - Fork 712
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
20 additions
and
20 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 |
---|---|---|
|
@@ -128,7 +128,7 @@ import KSCrash | |
class AppDelegate: UIResponder, UIApplicationDelegate { | ||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | ||
let installation = CrashInstallationStandard.shared() | ||
let installation = CrashInstallationStandard.shared | ||
installation.url = URL(string: "http://put.your.url.here")! | ||
// Optional: Add an alert confirmation (recommended for email installation) | ||
|
@@ -154,7 +154,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { | |
##### Email Installation | ||
|
||
```swift | ||
let installation = CrashInstallationEmail.shared() | ||
let installation = CrashInstallationEmail.shared | ||
installation.recipients = ["[email protected]"] // Specify recipients for email reports | ||
// Optional: Send Apple-style reports instead of JSON | ||
installation.setReportStyle(.apple, useDefaultFilenameFormat: true) | ||
|
@@ -163,7 +163,7 @@ installation.setReportStyle(.apple, useDefaultFilenameFormat: true) | |
##### Console Installation | ||
|
||
```swift | ||
let installation = CrashInstallationConsole.shared() | ||
let installation = CrashInstallationConsole.shared | ||
installation.printAppleFormat = true // Print crash reports in Apple format for testing | ||
``` | ||
|
||
|
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
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
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