Splunk MINT SDK for iOS

Splunk MINT SDK for iOS Developer Guide

Download manual as PDF

Download topic as PDF

Changelog

Download

To download the latest version of the Splunk MINT SDK for iOS, see Requirements and installation for iOS.

Note  Use of the Splunk MINT SDK is subject to the Splunk MINT Terms of Service.

For help with common issues, see Troubleshooting Splunk MINT.

Version 5.2.4

Released 08/09/2018


What's New

Version 5.2.3

Released 01/31/2018


What's New

  • The Splunk MINT SDK for iOS is now compatible with iOS 11.

Version 5.2.2

Released 09/18/2017


What's New

  • Our iOS SDK now piggy backs on energized antenna to auto-flush the data.

API Changes

  • The setAutoFlushMinimumInterval method has been added.
  • The disableAutoFlush method has been added.

Version 5.2.0

Released 12/12/2016


What's New

  • The Splunk MINT SDK for iOS is now compatible with iOS 10.
  • Session time reporting has been Improved.
  • If you are installing the Splunk MINT SDK for iOS from a ZIP file, you must now add the CoreLocation.framework as a requirement in your app project. For details, see Install the Splunk MINT iOS Framework from a ZIP file.


API Changes

  • For hybrid API calls, the the global object changed from Mint to mintBridge. For details, see Integrate WebView monitoring.
  • The disableMemoryWarningMonitoring: and disableViewMonitoring: methods have been added as configuration options.
  • The setLocation: method has been added, allowing you to set the GPS location.
  • Mint.setLocation(myLatitude, myLongitude, myLocationTimestamp) has been added to the possible hybrid API calls for WebView monitoring.

Version 5.1.0

Released 8/8/2016


What's New

  • Transactions are now tracked using a transaction ID. As a result, transaction names no longer need to be unique. For details, see Monitor transactions.
  • You can now specify a view name rather than using the name that is automatically generated. For details, see Track views.
  • You can now create timers to track the elapsed time of activities, in nanoseconds. For details, see Create timers.
  • You can now log trace information for methods in your Objective-C code. (You cannot use this feature with Swift, which does not support macros.) For details, see Trace Objective-C methods.
  • You can now view memory warnings from your mobile apps. For details, see View memory warnings.
  • New fields have been added to the fields that MINT collects using the MINT SDKs. For details, see List of data fields in the Splunk MINT Overview manual.


API Changes

  • The startTimerWithName: and stopTimerWithId: methods have been added.
  • Macros have been added for logging trace information: MINT_METHOD_TRACE_START, MINT_METHOD_TRACE_STOP, and MINT_NONARC_METHOD_TRACE_STOP.
  • The transactionStart: method returns a transaction ID.
  • The transactionName parameter has been replaced by a transactionID parameter for the transactionCancel: and transactionStop: methods.

Version 5.0.0

Released 03/21/2016


What's New

  • Added support for using the HTTP Event Collector to send data to MINT. For details, see About Splunk MINT data collection.
  • Many methods and properties have changed (see the list below). The documentation and code examples have been updated to reflect these changes.
  • Added end-to-end code examples showing how to use the full API. For details, see Swift code example and Objective-C code example.


API Changes

Renamed:

  • Mint.closeSessionAsync to Mint.closeSession
  • Mint.flushAsync to Mint.flush
  • Mint.logEventAsyncWithName to Mint.logEventWithName
  • Mint.logExceptionAsync to Mint.logException
  • Mint.startSessionAsync to Mint.startSession
  • Mint.setUserOptOut to Mint.enableUserOptOut


New:

  • Mint.enableDebugLog
  • Mint.extraData
  • Mint.extraDataForKey
  • Mint.initAndStartSessionWithAPIKey
  • Mint.initAndStartSessionWithHECUrl
  • Mint.removeAllExtraData
  • Mint.removeExtraDataForKey
  • MintLimitedExtraData.extraDataDictionary
  • MintLimitedExtraData.removeAllValues
  • MintLimitedExtraData.removeValueForKey
  • MintLimitedExtraData.setValue:forKey
  • MintLimitedExtraData.valueForKey


Removed:

  • ExtraData.initWithKeyandValue
  • ExtraData.isEqualToExtraData
  • LimitedExtraDataList.add
  • LimitedExtraDataList.addExtraDataToDataFixture
  • LimitedExtraDataList.addPrivateExtraDataToDataFixture
  • LimitedExtraDataList.addWithKeyandValue
  • LimitedExtraDataList.clear
  • LimitedExtraDataList.contains
  • LimitedExtraDataList.indexOf
  • LimitedExtraDataList.insertAtIndexextraData
  • LimitedExtraDataList.remove
  • LimitedExtraDataList.removeAtIndex
  • LimitedExtraDataList.removeWithKey
  • Mint.addExtraDataList
  • Mint.clearExtraData
  • Mint.exceptionFixtureFrom
  • Mint.initAndStartSession
  • Mint.logEventAsyncWithTag
  • Mint.removeExtraDataWithKey
  • MintLogger.setRequestWorker
  • MintMessageException.initWithNamereasonuserInfo


Properties

New:

  • Mint.applicationEnvironment


Removed:

  • MintResult.clientRequest
  • LimitedExtraDataList.count
  • MintResult .descriptionResult
  • TransactionResult.descriptionResult
  • MintResult.exceptionError
  • LimitedExtraDataList.extraDataArray
  • Mint.extraDataList
  • MintResult.handledWhileDebugging
  • Mint.handleWhileDebugging
  • ExtraData.key
  • MintLogResult.logType
  • LimitedExtraDataList.maxCount
  • ExtraData.maxValueLength
  • TransactionStopResult.reason
  • MintResult.requestType
  • MintResult.resultState
  • TransactionStartResult.transactionName
  • TransactionStartResult.transactionStart
  • TransactionResult.transactionStatus
  • TransactionStopResult.transactionStop
  • ExtraData.value
PREVIOUS
API Reference
  NEXT
Known issues for Splunk MINT SDK for iOS 5.2.4

This documentation applies to the following versions of Splunk MINT SDK for iOS: 5.2.x


Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters