fuse-qreader
fuse-qreader copied to clipboard
Crash App IOS
When I launch my iOS app I have this exception. I don't understand how it depends. I think I've done everything properly
/BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3694.4.18/UIApplication.m:1706
2017-11-14 13:32:19.370951+0100 StentleAppCustomer[3482:1613670] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'accessing _cachedSystemAnimationFence requires the main thread'
MY CODE:
<Panel ux:Class="stentleapp.icons.ScanQrCode">
<Router ux:Dependency="router"/>
<Qreader ux:Global="Qreader" />
<JavaScript>
var qreader = require('Qreader');
function OnTapScan() {
qreader.scan().then(function (res) {
console.log("Scan result: " + res);
}).catch(function(error) {
console.log("Error scanning QR code");
});
}
module.exports = {
OnTapScan
};
</Javascript>
<Text Clicked="{OnTapScan}" Color="stentleapp.color.DarkGrey" Font="fonticons" Alignment="Center" FontSize="40" Value="">
</Text>
</Panel>
I have add this lines code in my unoproj file
"Projects": [
"libraries/fuse-qreader/fuse-qreader.unoproj"
]
i have same issue on fuse 1.8