         requestMetadata["osVersion"] = osVersion
         requestMetadata["model"] = model
         requestMetadata["deviceID"] = deviceId
-        requestMetadata["mfpAppName"] = Analytics.appName
+        requestMetadata["mfpAppName"] = BMSAnalytics.appName
         requestMetadata["appStoreLabel"] = NSBundle.mainBundle().infoDictionary?["CFBundleName"] as? String ?? ""
         requestMetadata["appStoreId"] = NSBundle.mainBundle().bundleIdentifier ?? ""
         requestMetadata["appVersionCode"] = NSBundle.mainBundle().objectForInfoDictionaryKey(kCFBundleVersionKey as String) as? String ?? ""

    
    /// Identifies the current application user.
    /// To reset the userId, set the value to nil.
    public static var userIdentity: String? = BMSAnalytics.deviceId {
        didSet {
            if userIdentity != nil {
                
                if let sessionId = lifecycleEvents[Constants.Metadata.Analytics.sessionId] {
                    
                    let currentTime = Int64(NSDate().timeIntervalSince1970 * 1000.0)
                    

            BMSAnalytics.apiKey = apiKey
        }
        
        // Link all of the BMSAnalytics implementation to the BMSAnalyticsSpec APIs
        Logger.delegate = BMSLogger()
        Analytics.delegate = BMSAnalytics()
        
        BMSLogger.startCapturingUncaughtExceptions()
        
