Barcodescanner not working in ionic 2

Barcodescanner crash the app (ios) after 4 scans in ionic 2. Any suggestion to fix it?

Your system information:
Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.0
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.39
ios-deploy version: 1.8.2
ios-sim version: 5.0.3
OS: Mac OS X Sierra
Node Version: v4.5.0
Xcode version: Xcode 8.0 Build version 8A218a