         
         AromaClient.beginMessage(withTitle: "Memory Warning")
             .withPriority(.medium)
-            .addBody("Build #\(buildNumber)")
+            .addBody("Build #\(AppDelegate.buildNumber)")
             .send()
         ImageCache.default.clearMemoryCache()
         

//  Copyright © 2016 Black Whole. All rights reserved.
//

import UIKit
import AromaSwiftClient
import Kingfisher

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    
    private let buildNumber: String = Bundle.main.infoDictionary?[kCFBundleVersionKey as String] as? String ?? ""


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

        AromaClient.TOKEN_ID = "34576d0b-6060-4666-9ac1-f5a09be219c3"
        
        AromaClient.beginMessage(withTitle: "App Launched")
            .addBody("Build #\(AppDelegate.buildNumber)")
            .withPriority(.low)
            .send()
        
