Splunk Dev

How to use two copies of Splunk MINT iOS in one application?

krisrutkowski
New Member

Hello,

We are developing a closed source SDK for iOS and we would like to use Splunk Mint for analytics, how our implementation is performing etc. Because it's a closed source, the Splunk Mint classes will be buried inside the SDK, definitely not exposed as a public headers.

But what if user of our SDK wants to use Splunk Mint as well? We would like both instances to be completely isolated, don't clash with each other etc.

If Splunk Mint was distributed as an open source code we could easily prefix all the classes, functions, enums, but unfortunately it's not.

Our SDK will be distributed similarly as Splunk Mint is - both independent .framework file and the same framework through Cocoapods.

Any help appreciated.

Kris

Tags (4)
0 Karma

croyal_splunk
Splunk Employee
Splunk Employee

You can add MINT. If the developer also has MINT, then you will lose the data from that developer.
You will only get data from customers that don't have any similar tool. The second declaration of MINT will catch and display errors.

Get Updates on the Splunk Community!

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...