fuse-qreader icon indicating copy to clipboard operation
fuse-qreader copied to clipboard

Crash App IOS

Open gtoto007 opened this issue 7 years ago • 1 comments

When I launch my iOS app I have this exception. I don't understand how it depends. I think I've done everything properly

issue

/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="&#xe90b;">
	</Text>
</Panel>

I have add this lines code in my unoproj file

"Projects": [
    "libraries/fuse-qreader/fuse-qreader.unoproj"
  ]

gtoto007 avatar Nov 14 '17 12:11 gtoto007

i have same issue on fuse 1.8

donaldinos avatar Mar 25 '18 00:03 donaldinos