             readingCommand = nil
         }
     }
-    
-    override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
-        return .portrait
-    }
-    
 }

        
        captureSession.startRunning()
    }
    
    func failed() {
        print("Scanning unsupported")

    
    fileprivate var readingCommand: CDVInvokedUrlCommand?
    
    override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
        return .portrait
    }

    override func pluginInitialize() {
        super.pluginInitialize()
    }
