         
         return FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)
     }
-    
-    
     
     // Push Notifications related methods
     func registerForPushNotifications(application: UIApplication) {

        let config = Configuration()
        config.baseUrl = url
        config.appToken = appToken
        // setting this to true makes the sdk print http requests and responses
        config.log = false
        rxTapglue = RxTapglue(configuration: config)
        

        print(notificationSettings)
    }
    
    // TapglueError handel
    func printOutErrorMessageAndCode(err: TapglueError?) {
        print(err?.code)
        print(err?.message)
    }
    
    func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject) -> Bool {
        return FBSDKApplicationDelegate.sharedInstance().application(application, openURL: url, sourceApplication: sourceApplication, annotation: annotation)
    }
}
