@@ -203,28 +203,6 @@ NS_SWIFT_NAME(setSocketHostName(_:port:));
203203+ (void )setNetworkTimeoutSeconds : (int )seconds forDownloads : (int )downloadSeconds ;
204204/* *@}*/
205205
206- /* *
207- * Sets whether to show the network activity indicator in the status bar when making requests.
208- * Default: YES.
209- */
210- + (void )setNetworkActivityIndicatorEnabled : (BOOL )enabled ;
211-
212- /* *
213- * Advanced: Whether new variables can be downloaded mid-session. By default, this is disabled.
214- * Currently, if this is enabled, new variables can only be downloaded if a push notification is sent
215- * while the app is running, and the notification's metadata hasn't be downloaded yet.
216- */
217- + (void )setCanDownloadContentMidSessionInProductionMode : (BOOL )value ;
218-
219- /* *
220- * Modifies the file hashing setting in development mode.
221- * By default, Leanplum will hash file variables to determine if they're modified and need
222- * to be uploaded to the server if we're running in the simulator.
223- * Setting this to NO will reduce startup latency in development mode, but it's possible
224- * that Leanplum will not always have the most up-to-date versions of your resources.
225- */
226- + (void )setFileHashingEnabledInDevelopmentMode : (BOOL )enabled ;
227-
228206/* *
229207* Sets log level through the Leanplum SDK
230208*/
@@ -611,34 +589,6 @@ NS_SWIFT_NAME(advance(state:info:params:));
611589 */
612590+ (void )resumeState ;
613591
614- /* *
615- * Automatically tracks all of the screens in the app as states.
616- * You should not use this in conjunction with advanceTo as the user can only be in
617- * 1 state at a time. This method requires LeanplumUIEditor module.
618- */
619- + (void )trackAllAppScreens
620- NS_SWIFT_NAME(trackAppScreens());
621-
622- /* *
623- * LPTrackScreenMode enum.
624- * LPTrackScreenModeDefault mans that states are the full view controller type name.
625- * LPTrackScreenModeStripViewController will cause the string "ViewController" to be stripped from
626- * the end of the state.
627- */
628- typedef NS_ENUM (NSUInteger , LPTrackScreenMode) {
629- LPTrackScreenModeDefault NS_SWIFT_NAME (defaultMode) = 0 ,
630- LPTrackScreenModeStripViewController NS_SWIFT_NAME (stripMode)
631- } NS_SWIFT_NAME(Leanplum.TrackScreenMode);
632-
633- /* *
634- * Automatically tracks all of the screens in the app as states.
635- * You should not use this in conjunction with advanceTo as the user can only be in
636- * 1 state at a time. This method requires LeanplumUIEditor module.
637- * @param trackScreenMode Choose mode for display. Default is the view controller type name.
638- */
639- + (void )trackAllAppScreensWithMode : (LPTrackScreenMode)trackScreenMode
640- NS_SWIFT_NAME(trackAppScreens(mode:));
641-
642592/* *
643593 * Manually track purchase event with currency code in your application. It is advised to use
644594 * trackInAppPurchases to automatically track IAPs.
@@ -756,8 +706,10 @@ NS_SWIFT_UNAVAILABLE("use forceContentUpdate(completion:)");
756706/* *
757707 * This should be your first statement in a unit test. This prevents
758708 * Leanplum from communicating with the server.
709+ * Deprecated. Use [Leanplum setTestModeEnabled:YES] instead.
759710 */
760- + (void )enableTestMode ;
711+ + (void )enableTestMode
712+ __attribute__((deprecated(" Use [Leanplum setTestModeEnabled:YES] instead." )));
761713
762714/* *
763715 * Used to enable or disable test mode. Test mode prevents Leanplum from
0 commit comments