 
 import UIKit
 import MessageUI
+import StoreKit
 
 class ReviewHandler: NSObject{
     

    }
    
    private func getAppStoreURL() -> URL{
        return URL(string: "itms-apps://itunes.apple.com/app/id" + getAppStoreID())!
    }
    
    private func getAppStoreID() -> String{

    }
    
    func askForReview(){
        if #available(iOS 10.3, *){
            SKStoreReviewController.requestReview()
        }
        else {
            guard let viewController = self.viewController, viewController.isViewLoaded
                    else {
                DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .milliseconds(10), execute: askForReview)
                return
            }

            let reviewViewController = ReviewReminderViewController()
            reviewViewController.delegate = self
            viewController.present(reviewViewController, animated: true, completion: nil)
        }
    }
    
    func mayAskForReview() -> Bool{
        return true
        //return !user.canceledReviewReminder && (user.timesOpenedApp >= 7)
    }
    
    func triggerReview(){
