Developer Settings

You can customize Apptics' SDK behavior by using AppticsConfig class. It should be done before initializing Apptics. Equivalent set methods are made available in Apptics and for other modules classes too.

Developer settings

  • To choose the type of tracking you want to use for your application. There are two types of tracking.
    • Pseudoanonymouse - allows anonymous tracking in the app.
    • None - only non-anonymous tracking is supported.
CopiedAppticsConfig.default.anonymousType
  • Enable/disable check for update automatically. When turned on, our SDK will check for update on app launch with a delay of 3 secs. The default value is false.
CopiedAppticsConfig.default.enableAutoCheckForAppUpdate 
  • Make sure the AppticsFeedbackKit is installed in your project.
    • Enable/disable FeedbackKit on app launch, the default value is false.
CopiedAppticsConfig.default.enableFeedbackKit
  • Set the max tolerance for shake to feedback, this is used to decide after how many attempts we should show disable the `shake to feedback` option in the shake to feedback action sheet.
CopiedAppticsConfig.default.maxToleranceForShakeToFeedback
  • Enable/disable the remote config module in your app, based on the settings the data will be fetched from the server on app launch. The default value is false and make sure that the AppticsRemoteConfigure framework is installed in your project.
CopiedAppticsConfig.default.enableRemoteConfig
  • Enable/disable rateus module in your app, based on the settings the data will be fetched from the server on app launch. The default value is false and make sure AppticsRateUs framework is installed in your project.
CopiedAppticsConfig.default.enableRateUs
  • Enable/disable send data on mobile data, this will prevent SDK from sending data on the mobile network (which is considered a weak network). The default value is true.
CopiedAppticsConfig.default.sendDataOnMobileNetworkByDefault
  • Enable/disable tracking by default, this will determine whether the anonymous tracking should be turned on before user consent and action, the default value is true.
CopiedAppticsConfig.default.trackOnByDefault
  • Enable/disable automatic session tracking, the default value is true.
CopiedAppticsConfig.default.enableAutomaticSessionTracking
  • Enable/disable predefined event tracking which can be done without adding any additional line of code, the default value is false.
CopiedAppticsConfig.default.enableAutomaticEventTracking
  • Enable/disable automatic screen tracking, the default value is true.
CopiedAppticsConfig.default.enableAutomaticScreenTracking
  • Enable/disable automatic crash tracking, the default value is true.
CopiedAppticsConfig.default.enableAutomaticCrashTracking
  • Set the default language which should be used for all Apptics screens, the default value is system language.
CopiedAppticsConfig.default.defaultLang
  • You can set the deviceIdentifierType as random id instead of vendor id. Random UUID comes with the drawback of not being able to identify unique devices upon fresh installation after the app has been uninstalled. If you use the random identifier each fresh install will now be considered as a new device in Apptics.

Note: Vendor id will still be used by default to register the device with Apptics.

CopiedAppticsConfig.default.deviceIdentifierType

On this page