Closed pke closed 9 years ago
The error can be fixed by moving the view that the QRScannerView is added to from top-level to a sub-view.
Before
<alloy>
<view id="qrscanner">
<views.../>
</view>
</alloy>
after
<alloy>
<view id="qrscannerContainer">
<views.../>
<view id="qrscanner">
</view>
</alloy>
When this thing is added to a modal dialog it cannot be removed. When calling
view.remove(scannerView)
the app totally crashes with the last debug output being "inside dealloc`.When used in a normal view (non-modal) the removal works.