Search code examples
objective-ciossingletonanalyticsstatic-libraries

Is it possible to use FlurryAPI within a static library?


I'm working on a static library to distribute to iOS developers, and I'd like to incorporate an analytics library like Flurry to know more about how users are interacting with it. My concern is that if app developers are already using Flurry in their apps and the library initializes a new session, it will clobber their existing session.

My first idea is to subclass FlurryAPI, but it's hard to say whether or not it will do any good without knowing the implementation details.

Does anyone have any experience with this or ideas? Thanks in advance.


Solution

  • Received a response from Flurry support saying that it's against their TOS to include Flurry in a static library for use in other apps. Looking into modifying and using the Localytics SDK instead.