In some cases, you might not be sure that the Mobile app messaging SDK is installed on an app. Acoustic Campaign provides a way to detect the SDK on your iOS app and to retrieve the SDK’s registration details, such as userID and appKey.
If the SDK is built on your iOS app, the following code generates information about the SDK.

    // Detecting if IMC SDK is installed 
        NSLog(@"IMC SDK Installed.");
        NSLog(@"IMC SDK Not Installed.");

After you know that the SDK is on your iOS app, you can query for its version.

    NSString* versionNum = [MCESdk sharedInstance].sdkVersion;
    NSLog(@"IMC SDK version %@", versionNum);

Next, you can check the registration details. For information about obtaining registration details, see Accessing registration details.

Need more help? Check out all of our available tutorials for mobile app messaging here:

All Mobile Application Messaging Tutorials

Join The Discussion

Your email address will not be published. Required fields are marked *