Closed NaurisAndzans closed 8 years ago
Hello @NaurisAndzans
I am as well on cycle 8 and everything is working on ios and android for me. Can you clean and build the project completly new please.
What are you doing. I need more infos to help you in this case.
Is it everytime crashing, or only one time?
I forgot to add that I'm working on a Macbook and I encounter this problem only with iOS builds. Android builds works as expected.
As soon as the following line gets called the app crashes with the message I posted previously. Detail.Navigation.PushAndRemovePrevious(ScannerPageControl.Instance.CreateScannerPage(), 1);
we work as well on mac....
and you think that happens due to the scannerlibrary?
can you please create a sample github project that contains the bug.
can you please create a sample github project that contains the bug.
No need, cause I used your original sample without introducing any new features for testing this behaviour. Any other information or additional logs I can provide you with ?
@NaurisAndzans
@armintelker
I am also experiencing the same issue. Everything was working fine before iOS10. Now, as soon as the page opens and gets past the default constructor, it crashes. I am only testing with iOS and have not yet implemented for Android.
I also just downloaded the sample and ran it without changing a thing. It opens, but then when I click on SCAN ALL THINGS, it crashes:
RB.Forms.Barcode 0.7.1 Xamarin Studio 6.1 Xamarin.iOS 10.0.0.6 XCode 8/iOS 10 iPhone 6s iOS 10.0.1 Mac OS 10.11.6
I appears to be crashing in RootPage.xaml.cs line 21: await cameraPermission.RequestCameraPermissionIfNeeded();
I am wondering if there is some new plist setting we need?
Yep, just figured out the solution.
@NaurisAndzans add this to your info.plist:
Property: "Privacy - Camera Usage Description" Value: "Use the camera for XYZ"
reference: http://useyourloaf.com/blog/privacy-settings-in-ios-10/
@jmockjm thank you, case closed!
Yesterday I followed the release of the new and stable version of Xamarin and its components just to find that rb-forms-barcode is not longer working. So I dowloaded the sample project to see if the same problems occurs running clean sample and the problem does occur.
The problem persists every time.
As soon as I try to open the scanner page app crashes with the following message: " Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries. "
Has anyone else experienced such behaviour after following the upgrade to cycle 8?