Skip to content

Commit 6315748

Browse files
authored
fix: update HockeyApp (#123)
1 parent e85a5c3 commit 6315748

14 files changed

+4
-1398
lines changed
-219 KB
Binary file not shown.

Source/ThirdParty/IOS/HockeySDK.framework/Headers/BITHockeyManager.h

Lines changed: 4 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@
3939
#if HOCKEYSDK_FEATURE_CRASH_REPORTER
4040
@class BITCrashManager;
4141
#endif
42-
#if HOCKEYSDK_FEATURE_UPDATES
43-
@class BITUpdateManager;
44-
#endif
45-
#if HOCKEYSDK_FEATURE_STORE_UPDATES
46-
@class BITStoreUpdateManager;
47-
#endif
4842
#if HOCKEYSDK_FEATURE_FEEDBACK
4943
@class BITFeedbackManager;
5044
#endif
@@ -61,15 +55,14 @@
6155
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:
6256
6357
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.
6559
3. Configure each module.
6660
4. Start up all modules.
6761
6862
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.
6963
7064
All modules do **NOT** show any user interface if the module is not activated or not integrated.
7165
`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.
7366
`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.
7467
7568
Example:
@@ -124,8 +117,7 @@ NS_ASSUME_NONNULL_BEGIN
124117
Initializes the manager with a particular app identifier and delegate
125118
126119
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`.
129121
130122
[[BITHockeyManager sharedHockeyManager]
131123
configureWithIdentifier:@"<AppIdentifierFromHockeyApp>"
@@ -136,7 +128,6 @@ NS_ASSUME_NONNULL_BEGIN
136128
@see startManager
137129
@see BITHockeyManagerDelegate
138130
@see BITCrashManagerDelegate
139-
@see BITUpdateManagerDelegate
140131
@see BITFeedbackManagerDelegate
141132
@param appIdentifier The app identifier that should be used.
142133
@param delegate `nil` or the class implementing the option protocols
@@ -151,7 +142,7 @@ NS_ASSUME_NONNULL_BEGIN
151142
All modules will automatically detect if the app is running in the App Store and use
152143
the live app identifier for that. In all other cases it will use the beta app identifier.
153144
And also assign the class that implements the optional protocols `BITHockeyManagerDelegate`,
154-
`BITCrashManagerDelegate` or `BITUpdateManagerDelegate`
145+
`BITCrashManagerDelegate`
155146
156147
[[BITHockeyManager sharedHockeyManager]
157148
configureWithBetaIdentifier:@"<AppIdentifierForBetaAppFromHockeyApp>"
@@ -172,7 +163,6 @@ NS_ASSUME_NONNULL_BEGIN
172163
@see startManager
173164
@see BITHockeyManagerDelegate
174165
@see BITCrashManagerDelegate
175-
@see BITUpdateManagerDelegate
176166
@see BITFeedbackManagerDelegate
177167
@param betaIdentifier The app identifier for the _non_ app store (beta) configurations
178168
@param liveIdentifier The app identifier for the app store configurations.
@@ -210,10 +200,8 @@ NS_ASSUME_NONNULL_BEGIN
210200
211201
@see BITHockeyManagerDelegate
212202
@see BITCrashManagerDelegate
213-
@see BITUpdateManagerDelegate
214203
@see BITFeedbackManagerDelegate
215204
@see BITAuthenticatorDelegate
216-
@see BITStoreUpdateManagerDelegate
217205
*/
218206
@property (nonatomic, weak, nullable) id<BITHockeyManagerDelegate> delegate;
219207

@@ -265,72 +253,6 @@ NS_ASSUME_NONNULL_BEGIN
265253
#endif
266254

267255

268-
#if HOCKEYSDK_FEATURE_UPDATES
269-
270-
/**
271-
Reference to the initialized BITUpdateManager module
272-
273-
Returns the BITUpdateManager instance initialized by BITHockeyManager
274-
275-
@see configureWithIdentifier:delegate:
276-
@see configureWithBetaIdentifier:liveIdentifier:delegate:
277-
@see startManager
278-
@see disableUpdateManager
279-
*/
280-
@property (nonatomic, strong, readonly) BITUpdateManager *updateManager;
281-
282-
283-
/**
284-
Flag the determines whether the Update Manager should be disabled
285-
286-
If this flag is enabled, then checking for updates and submitting beta usage
287-
analytics will be turned off!
288-
289-
Please note that the Update Manager instance will be initialized anyway!
290-
291-
@warning This property needs to be set before calling `startManager`
292-
293-
*Default*: _NO_
294-
@see updateManager
295-
*/
296-
@property (nonatomic, getter = isUpdateManagerDisabled) BOOL disableUpdateManager;
297-
298-
#endif
299-
300-
301-
#if HOCKEYSDK_FEATURE_STORE_UPDATES
302-
303-
/**
304-
Reference to the initialized BITStoreUpdateManager module
305-
306-
Returns the BITStoreUpdateManager instance initialized by BITHockeyManager
307-
308-
@see configureWithIdentifier:delegate:
309-
@see configureWithBetaIdentifier:liveIdentifier:delegate:
310-
@see startManager
311-
@see enableStoreUpdateManager
312-
*/
313-
@property (nonatomic, strong, readonly) BITStoreUpdateManager *storeUpdateManager;
314-
315-
316-
/**
317-
Flag the determines whether the App Store Update Manager should be enabled
318-
319-
If this flag is enabled, then checking for updates when the app runs from the
320-
app store will be turned on!
321-
322-
Please note that the Store Update Manager instance will be initialized anyway!
323-
324-
@warning This property needs to be set before calling `startManager`
325-
326-
*Default*: _NO_
327-
@see storeUpdateManager
328-
*/
329-
@property (nonatomic, getter = isStoreUpdateManagerEnabled) BOOL enableStoreUpdateManager;
330-
331-
#endif
332-
333-
334256
#if HOCKEYSDK_FEATURE_FEEDBACK
335257

336258
/**
@@ -445,7 +367,7 @@ NS_ASSUME_NONNULL_BEGIN
445367
app is cold started.
446368
447369
This property is only considered in App Store Environment, since it would otherwise
448-
affect the `BITUpdateManager` and `BITAuthenticator` functionalities!
370+
affect the `BITAuthenticator` functionalities!
449371
450372
@warning This property needs to be set before calling `startManager`
451373

Source/ThirdParty/IOS/HockeySDK.framework/Headers/BITHockeyManagerDelegate.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,10 @@
3333
#import "BITCrashManagerDelegate.h"
3434
#endif
3535

36-
#if HOCKEYSDK_FEATURE_UPDATES
37-
#import "BITUpdateManagerDelegate.h"
38-
#endif
39-
4036
#if HOCKEYSDK_FEATURE_FEEDBACK
4137
#import "BITFeedbackManagerDelegate.h"
4238
#endif
4339

44-
#if HOCKEYSDK_FEATURE_STORE_UPDATES
45-
#import "BITStoreUpdateManagerDelegate.h"
46-
#endif
47-
4840
#if HOCKEYSDK_FEATURE_AUTHENTICATOR
4941
#import "BITAuthenticator.h"
5042
#endif
@@ -63,15 +55,9 @@
6355
#if HOCKEYSDK_FEATURE_CRASH_REPORTER
6456
, BITCrashManagerDelegate
6557
#endif
66-
#if HOCKEYSDK_FEATURE_UPDATES
67-
, BITUpdateManagerDelegate
68-
#endif
6958
#if HOCKEYSDK_FEATURE_FEEDBACK
7059
, BITFeedbackManagerDelegate
7160
#endif
72-
#if HOCKEYSDK_FEATURE_STORE_UPDATES
73-
, BITStoreUpdateManagerDelegate
74-
#endif
7561
#if HOCKEYSDK_FEATURE_AUTHENTICATOR
7662
, BITAuthenticatorDelegate
7763
#endif

Source/ThirdParty/IOS/HockeySDK.framework/Headers/BITStoreUpdateManager.h

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)