Skip to content

A Marmalade extension to acess the advertiser identifier (a.k.a. the IDFA) from iOS.

Notifications You must be signed in to change notification settings

dblstallion/s3eIOSIdentifiers

Repository files navigation

s3eIOSIdentifiers

A Marmalade extension to acess the advertisingIdentifier and identifierForVendor (a.k.a. the IDFA and IDFV, respectively) from iOS.

Usage

  1. Clone this whole folder into your project (or add it as a submodule)
  2. Add "s3eIOSIdentifiers" to the subprojects section of your MKB file
  3. Add #include "s3eIOSIdentifiers.h" to the source files where it will be used
  4. Refer to the file s3eIOSIdentifiers.h for more information on the supplied functionality
Checking if tracking is enabled
if (s3eIOSIdentifiersAvailable())
{
	return s3eIOSIdentifiersIsIDFATrackingEnabled();
}
Getting the IDFA
if (s3eIOSIdentifiersAvailable())
{
	return s3eIOSIdentifiersGetIDFA();
}
Getting the IDFV
if (s3eIOSIdentifiersAvailable())
{
	return s3eIOSIdentifiersGetIDFV();
}

Notes

  • You're still allowed to use the IDFA for certain cases even if the user has disabled tracking
  • Refer to the ASIdentifierManager and UIDevice class reference pages for more information

About

A Marmalade extension to acess the advertiser identifier (a.k.a. the IDFA) from iOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published