VisionApi.Create not get correct App
See original GitHub issueHi!
When start demo example, i have error, there is a workaround?:
Parameter name: app’. Callstack: ’ at Firebase.MLKit.Vision.VisionApi.Create (Firebase.Core.App app) <0x1502279c8 + 0x00014> in <8607cf18847b4467a58b3fd7d84f75f1>:0
at GoogleVisionBarCodeScanner.UICameraPreview+CaptureVideoDelegate…ctor (System.Boolean vibrationOnDetected) [0x0004c] in D:\BarcodeScanner.XF-master\GoogleVisionBarCodeScanner\iOS\UICameraPreview.cs:178
at GoogleVisionBarCodeScanner.UICameraPreview.Initialize (System.Boolean defaultTorchOn, System.Boolean vibrationOnDetected, System.Boolean startScanningOnCreate) [0x0011a] in D:\BarcodeScanner.XF-master\GoogleVisionBarCodeScanner\iOS\UICameraPreview.cs:141
at GoogleVisionBarCodeScanner.UICameraPreview…ctor (System.Boolean defaultTorchOn, System.Boolean vibrationOnDetected, System.Boolean startScanningOnCreate) [0x00008] in D:\BarcodeScanner.XF-master\GoogleVisionBarCodeScanner\iOS\UICameraPreview.cs:39
at GoogleVisionBarCodeScanner.Renderer.CameraViewRenderer.OnElementChanged (Xamarin.Forms.Platform.iOS.ElementChangedEventArgs1[TElement] e) [0x00059] in D:\BarcodeScanner.XF-master\GoogleVisionBarCodeScanner\iOS\Renderer\CameraViewRenderer.cs:25 at Xamarin.Forms.Platform.iOS.VisualElementRenderer
1[TElement].SetElement (TElement element) [0x00172] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:296
Issue Analytics
- State:
- Created 2 years ago
- Comments:17 (8 by maintainers)
Top GitHub Comments
Ok Jimmy, i have try this all option in Windows without success, the disable Hot Reload option also eliminate use my real device, so i have run to VS in MAC and the problem disappear. So, for all People that will use this in iOS platform don’t try this in Windows this only waste your time, go to Visual studio in MAC. Thanks for help.
Hi @decv86,
Just like above comment, please try to disable HOT-RESTART / use Visual Studio for Mac to debug.