Parameters for configuring the Core Module

The following parameters help govern the behavior of the Core module. Modifying the default value associated with each of the parameters changes the behavior of the Core module.

Oracle Infinity Mobile SDK Enabled

  • Description: Enables or disables event collection and transmission in the SDK.
  • String Literal: ora_dc_enabled
  • Constant Name:ORAConfigEnabled
  • Default Value: true
  • Acceptable Values: boolean as a stringtrue or false.

    Note: If this config setting is set to 'false', then the SDK will no longer collect events, store events, send events to Oracle Infinity servers.

Max Persisted Events

  • Description: The maximum number of events to store locally on the device. If new events are generated while the event store is full, the oldest events will be permanently deleted.
  • String Literal: ora_dc_event_table_size_maximum
  • Constant Name:ORAConfigMaxPersistedEvents
  • Default Value: "5000"
  • Acceptable Values: integer as a string — (Any valid positive integer value)

Send Interval Milliseconds

  • Description: Time (in milliseconds) between stored events being transmitted to the data collection servers. If no events are queued, nothing is transmitted and new send event is scheduled.
  • String Literal: ora_dc_send_interval_millis
  • Constant Name:ORAConfigSendIntervalMilliseconds
  • Default Value: "60000"
  • Acceptable Values: integer as a string — (any valid positive integer value)

Automatic Send Threshold Percent

  • Description: Percentage of the event store capacity at which events will be automatically sent to the Oracle Infinity data collection servers. This setting expects an integer from 0 to 100, inclusive.
  • String Literal: ora_dc_auto_send_threshold_percent
  • Constant Name:ORAConfigAutoSendThresholdPercent
  • Default Value: "80"
  • Acceptable Values: integer as a string — (an integer from "0" to "100" inclusive)

Events Per Send

  • Description: Events are collected and sent in batches to the data collection servers. This setting controls the number of events to send in a single batch.
  • String Literal: ora_dc_event_send_maximum
  • Constant Name:ORAConfigEventsPerSend
  • Default Value: "250"
  • Acceptable Values: integer as a string — (an integer from "1" to "250" inclusive)

End Point Config

  • Description: The collection end point config data. The config data should be the valid JSON array format.
  • String Literal: ora_dc_end_point_config
  • Constant Name:ORAConfigEndPointConfig
  • Default Value: []
  • Acceptable Values: A valid JSON array string in the below format:
  • [
     { 
      "ora_dc_collection_url": "https://dc.oracleinfinity.io/v3/",
      "ora_dc_account_guid": "horuts00i6", 
      "ora_dc_retry_count": "2"
     }
    ]				
    • ora_dc_collection_url: A valid URL string including the protocol(http:// or https://) .
    • ora_dc_account_guid: Account GUID string.
    • ora_dc_retry_count: Retry count if any error occurs.
    • ora_dc_collection_url & 'ora_dc_account_guid' are mandatory fields. Other fields if you don't pass default values will be taken.

HTTP Connection Timeout Milliseconds

  • Description: Controls the maximum amount of time (in milliseconds) to pass before abandoning an Oracle Infinity Analytics Mobile SDK-related HTTP request.
  • String Literal: ora_dc_http_connect_timeout_millis
  • Constant Name:ORAConfigHTTPConnectionTimeoutMilliseconds
  • Default Value: "10000"
  • Acceptable Values: integer as a string — (any valid positive integer value)

HTTP Read Timeout Milliseconds

  • Description: Controls the maximum amount of time to wait (in milliseconds) for a response from an Oracle Infinity Analytics Mobile SDK-related HTTP connection.
  • String Literal: ora_dc_http_read_timeout_millis
  • Constant Name:ORAConfigHTTPReadTimeoutMilliseconds
  • Default Value: "30000"
  • Acceptable Values: integer as a string — (any valid positive integer value)

Battery Minimum Charge Percentage

  • Description: Controls at what battery level to stop event transmission. When the battery level falls below this level, event transmission to the data collection servers is disabled. After iOS reports that battery power is restored to a level above this threshold, event transmission will resume. Since iOS reports battery levels to the SDK in increments of 5%, actual battery level may not trigger event transmission to resume immediately, depending on the value of this configuration setting.
  • String Literal: ora_dc_battery_min_charge_percent
  • Constant Name:ORAConfigBatteryMinimumChargePercentage
  • Default Value: "20"
  • Acceptable Values: integer as a string — representation of any integer between "0" and "100", inclusive.

Max Session Milliseconds

  • Description: Controls the maximum amount of time (in milliseconds) to wait before forcing a new session to start.
  • String Literal: ora_dc_max_session_millis
  • Constant Name:ORAConfigMaxSessionMilliseconds
  • Default Value: "28800000" (8 hours)
  • Acceptable Values: integer as a string — (any valid positive integer value)

Session Timeout Milliseconds

  • Description: Controls the maximum amount of time (in milliseconds) since the last event before forcing a new session to start.
  • String Literal: ora_dc_session_timeout_millis
  • Constant Name:ORAConfigSessionTimeoutMilliseconds
  • Default Value: "1800000" (30 minutes)
  • Acceptable Values: integer as a string — (any valid positive integer value)

App Name

  • Description: Contains the application name of your app. If present, this value will be used in lieu of [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"]
  • String Literal: ora_dc_app_name
  • Constant Name:ORAConfigApplicationName
  • Default Value: The running application version
  • Acceptable Values: string — Any string

App Version

  • Description: The version of the application. If present, this value will be used in lieu of the running application version.
  • String Literal: ora_dc_app_version
  • Constant Name:ORAConfigAppVersion
  • Default Value: The running application version
  • Acceptable Values: string — Any string

Only Send Over Wi-Fi

  • Description: Controls whether events are sent when WiFi is unavailable.
  • String Literal: ora_dc_only_send_over_wifi
  • Constant Name:ORAConfigOnlySendOverWifi
  • Default Value: false
  • Acceptable Values: boolean as a stringtrue or false

Report Location Enabled

  • Description: When enabled (and CoreLocation services in the application are enabled), sends geo-location coordinates with every event. The application must be configured with CoreLocation authorization. The SDK will not request authorization unilaterally. It will only use this information if it is already authorized in your application.
  • String Literal: ora_dc_report_location_enabled
  • Constant Name:ORAConfigReportLocationEnabled
  • Default Value: false
  • Acceptable Values: boolean as a stringtrue or false

Mask IP Address of Sender

  • Description: Enable/Disable masking the IP address of the mobile client. When set to true (enabled), the dcsipa parameter will be set to "1" on every event. The collection servers use this setting to mask the IP address. For IPv4, only the first three octets will be recorded, with the last octet set to 000. For IPv6, the last octet will also be set to 0.
  • String Literal: ora_dc_mask_ip_enabled
  • Constant Name:ORAConfigMaskIpEnabled
  • Default Value: false
  • Acceptable Values: boolean as a stringtrue or false

Extra Parameters for All Events

  • Description: Extra key/value pairs (parameters) that are passed as part of the payload of every event. If set, these key/value pairs will be sent along with every event. Format the query parameters as valid JSON e.g.: {foo:bar,fee:fum}.
  • String Literal: ora_dc_extra_params
  • Constant Name:ORAConfigExtraParams
  • Default Value: {}
  • Acceptable Values: comma separated key=value string formatted as JSON {"key1":"value1","key2":"value2",...}

    Note: If values are set in this setting and key/value pairs with the same keys (name collision) are passed in using the withCustomParams: parameter, the customParams will take precedence over values in this setting.

Immediate Event Storing

  • Description: Enable/Disable immediate event storing. When set to 'true' (enabled), the event is storing in database when internet connection is missing or battry level is low. When set to 'false' (disabled), the event should not be saved in database.
  • String Literal: ora_dc_immediate_event_storing_enabled
  • Constant Name:ORAConfigImmediateEventStoringEnabled
  • Default Value: true
  • Acceptable Values: boolean as a stringtrue or false

App Start Automatic Events Enabled

  • Description: Controls whether or not app start and terminate events will be logged automatically.
  • String Literal: ora_dc_app_start_auto_enabled
  • Constant Name:ORAConfigAppStartAutoEnabled
  • Default Value: false
  • Acceptable Values: boolean as a stringtrue or false

Application Error Automatic Events Enabled

  • Description: Controls whether or not application error events will be logged automatically.
  • String Literal: ora_dc_error_auto_enabled
  • Constant Name:ORAConfigErrorAutoEnabled
  • Default Value: false
  • Acceptable Values: boolean as a stringtrue or false

View Controller Lifecycle Automatic Events Enabled

  • Description: Controls whether view controller lifecycle events will be logged automatically.
  • String Literal: ora_dc_activity_auto_enabled
  • Constant Name:ORAConfigViewControllerAutoEnabled
  • Default Value: false
  • Acceptable Values: boolean as a stringtrue or false

Push Notification Automatic Events Enabled

  • Description: Controls whether push notification events will be logged automatically.
  • String Literal: ora_dc_push_auto_enabled
  • Constant Name:ORAConfigPushAutoEnabled
  • Default Value: true
  • Acceptable Values: boolean as a stringtrue or false

App Foreground/Background Automatic Events Enabled

  • Description: Controls whether app foreground and background events will be logged automatically.
  • String Literal: ora_dc_foreground_auto_enabled
  • Constant Name:ORAConfigForegroundAutoEnabled
  • Default Value: true
  • Acceptable Values: boolean as a stringtrue or false

Thread Count Setting for Event Sending

  • Description: A setting for number of threads to handle event sending. The default value is 2.
  • String Literal: ora_dc_http_thread_count
  • Constant Name:ORAConfigHTTPThreadCount
  • Default Value: "2"
  • Acceptable Values: integer as a string — (any valid positive integer value ranges from 1 to 15)

Enable Background Task for HTTP Add Request

  • Description: Controls whether to get HTTP response in case of app background. The default value is `false`. Regarding background time limit, the general observation-based consensus is that you get three minutes. But, there are no guarantees and the iOS API documentation doesn't even give a ballpark number — so don’t rely on this number. You might get five minutes or five seconds, so your app needs to be prepared for whatever!
  • String Literal: ora_dc_http_background_task_enabled
  • Constant Name:ORAConfigHTTPBackgroundTaskEnabled
  • Default Value: false
  • Acceptable Values: boolean as a stringtrue or false

Enable Event Flushing In Application Background

  • Description: This configuration setting controls whether to enable/disable event sending in case of application background. The default value is true.
  • String Literal: ora_dc_flush_events_in_app_background_enabled
  • Constant Name:ORAConfigFlushEventsInAppBackgroundEnabled
  • Default Value: "true"
  • Acceptable Values: boolean as a string — "true" or "false"