You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/ThirdParty/IOS/HockeySDK.framework/Headers/BITHockeyManager.h
+4-82Lines changed: 4 additions & 82 deletions
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,6 @@
39
39
#if HOCKEYSDK_FEATURE_CRASH_REPORTER
40
40
@class BITCrashManager;
41
41
#endif
42
-
#if HOCKEYSDK_FEATURE_UPDATES
43
-
@class BITUpdateManager;
44
-
#endif
45
-
#if HOCKEYSDK_FEATURE_STORE_UPDATES
46
-
@class BITStoreUpdateManager;
47
-
#endif
48
42
#if HOCKEYSDK_FEATURE_FEEDBACK
49
43
@class BITFeedbackManager;
50
44
#endif
@@ -61,15 +55,14 @@
61
55
This is the principal SDK class. It represents the entry point for the HockeySDK. The main promises of the class are initializing the SDK modules, providing access to global properties and to all modules. Initialization is divided into several distinct phases:
62
56
63
57
1. Setup the [HockeyApp](http://hockeyapp.net/) app identifier and the optional delegate: This is the least required information on setting up the SDK and using it. It does some simple validation of the app identifier and checks if the app is running from the App Store or not.
64
-
2. Provides access to the SDK modules `BITCrashManager`, `BITUpdateManager`, and `BITFeedbackManager`. This way all modules can be further configured to personal needs, if the defaults don't fit the requirements.
58
+
2. Provides access to the SDK modules `BITCrashManager`, and `BITFeedbackManager`. This way all modules can be further configured to personal needs, if the defaults don't fit the requirements.
65
59
3. Configure each module.
66
60
4. Start up all modules.
67
61
68
62
The SDK is optimized to defer everything possible to a later time while making sure e.g. crashes on startup can also be caught and each module executes other code with a delay some seconds. This ensures that applicationDidFinishLaunching will process as fast as possible and the SDK will not block the startup sequence resulting in a possible kill by the watchdog process.
69
63
70
64
All modules do **NOT** show any user interface if the module is not activated or not integrated.
71
65
`BITCrashManager`: Shows an alert on startup asking the user if he/she agrees on sending the crash report, if `[BITCrashManager crashManagerStatus]` is set to `BITCrashManagerStatusAlwaysAsk` (default)
72
-
`BITUpdateManager`: Is automatically deactivated when the SDK detects it is running from a build distributed via the App Store. Otherwise if it is not deactivated manually, it will show an alert after startup informing the user about a pending update, if one is available. If the user then decides to view the update another screen is presented with further details and an option to install the update.
73
66
`BITFeedbackManager`: If this module is deactivated or the user interface is nowhere added into the app, this module will not do anything. It will not fetch the server for data or show any user interface. If it is integrated, activated, and the user already used it to provide feedback, it will show an alert after startup if a new answer has been received from the server with the option to view it.
74
67
75
68
Example:
@@ -124,8 +117,7 @@ NS_ASSUME_NONNULL_BEGIN
124
117
Initializes the manager with a particular app identifier and delegate
125
118
126
119
Initialize the manager with a HockeyApp app identifier and assign the class that
127
-
implements the optional protocols `BITHockeyManagerDelegate`, `BITCrashManagerDelegate` or
128
-
`BITUpdateManagerDelegate`.
120
+
implements the optional protocols `BITHockeyManagerDelegate`, `BITCrashManagerDelegate`.
0 commit comments