 
     // This method allows you to perform any final initialization before the app
     // is displayed to the user
-    public func didFinishLaunchingWithOptions(apiKey: String, secret: String) {
+    public func didFinishLaunchingWithOptions(apiKey: String, secret: String, backgroundInterval: Double?) {
 
         // configure the API key
         self.configure(apiKey: apiKey, secret: secret)

    
    /// contains the deviceToken
    var deviceToken: String = ""
    
    let backGroundTimeInterval = 60.0
    
    // each app user is associated with a Breinify User
    var appUser = BreinUser()

                }
            }
        } else {
            UIApplication.shared.registerUserNotificationSettings(UIUserNotificationSettings(types: [.sound, .alert, .badge], categories: nil))
            UIApplication.shared.registerForRemoteNotifications()
        }
        
    }
