firebase / flutterfire

πŸ”₯ A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.7k stars 3.97k forks source link

πŸ› [firebase_ml_vision] Barcode scanner black screen only on iOS #4200

Closed markathomas closed 3 years ago

markathomas commented 3 years ago

Bug report

Describe the bug If I build and run my flutter project locally on my iPhone XR everything works fine. Once I archive the project and upload to my test platform and download the ipa from the test platform all I get is a black screen on the barcode scanner.

Expected behavior

I expect to see the image from the camera. This is on same device. Works locally before archiving with Xcode. After archiving for Generic iOS Device it doesn't work.


Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand ``` Marks-MBP:ios mthomas$ flutter doctor Doctor summary (to see all details, run flutter doctor -v): [βœ“] Flutter (Channel unknown, v1.17.4, on Mac OS X 10.15.7 19H2, locale en-US) [βœ“] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [βœ“] Xcode - develop for iOS and macOS (Xcode 11.7) [βœ“] Android Studio (version 3.6) [!] IntelliJ IDEA Ultimate Edition (version 2020.2.3) βœ— Flutter plugin not installed; this adds Flutter specific functionality. βœ— Dart plugin not installed; this adds Dart specific functionality. [βœ“] Connected device (1 available) ! Doctor found issues in 1 category. ```

Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand ``` Running "flutter pub get" in boxview_mobile_flutter... 9.6s Marks-MBP:boxview_mobile_flutter mthomas$ flutter pub deps -- --style=compact Dart SDK 2.8.4 Flutter SDK 1.17.4 boxview_mobile_flutter 3.2.2+1 dependencies: - audioplayers 0.16.2 [uuid path_provider flutter flutter_web_plugins] - battery 1.0.7 [flutter meta battery_platform_interface] - boxview_swagger_api 2.0.0+28 [http] - boxview_swagger_sai_api 1.0.0+8 [http] - cached_network_image 2.2.0+1 [flutter flutter_cache_manager] - camera 0.5.8+11 [flutter] - connectivity 0.4.9+5 [flutter meta connectivity_platform_interface connectivity_macos connectivity_for_web] - cupertino_icons 0.1.3 - dashed_container 1.0.1 [flutter] - dynamic_theme 1.0.1 [flutter shared_preferences] - event_bus 1.1.1 - firebase_messaging 7.0.3 [meta flutter firebase_core] - firebase_ml_vision 0.9.9 [flutter] - flushbar 1.10.4 [flutter] - flutter 0.0.0 [collection meta typed_data vector_math sky_engine] - flutter_app_badger 1.1.2 [flutter] - flutter_device_type 0.2.0 [flutter] - flutter_local_notifications 1.5.0+1 [flutter platform flutter_local_notifications_platform_interface] - flutter_localizations 0.0.0 [flutter intl collection meta path typed_data vector_math] - flutter_plugin_pdf_viewer 1.0.7+2 [flutter flutter_cache_manager path_provider rxdart numberpicker flutter_advanced_networkimage] - flutter_rounded_date_picker 1.0.5+1 [flutter] - flutter_secure_storage 3.3.3 [meta flutter] - flutter_signature_pad 2.0.2 [flutter] - flutter_slidable 0.5.7 [flutter] - flutter_twilio_voice 0.0.3+98 [flutter] - fluttertoast 4.0.1 [flutter flutter_web_plugins] - font_awesome_flutter_pro 1.0.4+13 [flutter] - http 0.12.2 [http_parser path pedantic] - image_picker 0.6.7+14 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface] - intl 0.16.1 [path] - keyboard_actions 3.3.1+1 [flutter] - local_auth 0.6.3+4 [flutter meta intl platform flutter_plugin_android_lifecycle] - logger 0.9.4 - package_info 0.4.3+2 [flutter] - pointycastle 1.0.2 - shared_preferences 0.5.12+4 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows] - stomp 0.8.0 [quiver] - syncfusion_flutter_charts 18.3.50 [flutter intl vector_math syncfusion_flutter_core] - testfairy 1.0.27 [flutter] - uni_links 0.4.0 [flutter] - url_launcher 5.7.6 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows] - web_socket_channel 1.1.0 [async crypto stream_channel] - webview_flutter 0.3.24 [flutter] - xml 3.6.1 [collection convert meta petitparser] - zoomable_image 2.0.0 [flutter] dev dependencies: - flutter_test 0.0.0 [flutter test_api path image quiver stack_trace vector_math archive args async boolean_selector charcode collection convert crypto matcher meta petitparser source_span stream_channel string_scanner term_glyph typed_data xml] - intl_translation 0.17.9 [analyzer args dart_style intl path petitparser] transitive dependencies: - _fe_analyzer_shared 7.0.0 [meta] - analyzer 0.39.17 [_fe_analyzer_shared args charcode cli_util collection convert crypto glob html meta package_config path pub_semver source_span watcher yaml] - archive 2.0.13 [crypto args path] - args 1.6.0 - async 2.4.1 [collection] - battery_platform_interface 1.0.0 [flutter meta plugin_platform_interface] - boolean_selector 2.0.0 [source_span string_scanner] - charcode 1.1.3 - cli_util 0.2.0 [path] - clock 1.0.1 [meta] - collection 1.14.12 - connectivity_for_web 0.3.1+4 [connectivity_platform_interface flutter_web_plugins flutter] - connectivity_macos 0.1.0+7 [flutter] - connectivity_platform_interface 1.0.6 [flutter meta plugin_platform_interface] - convert 2.1.1 [charcode typed_data] - crypto 2.1.4 [collection convert typed_data] - csslib 0.16.2 [source_span] - dart_style 1.3.6 [analyzer args path source_span] - ffi 0.1.3 - file 5.2.1 [intl meta path] - firebase_core 0.5.2 [firebase_core_platform_interface flutter quiver meta firebase_core_web] - firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver] - firebase_core_web 0.2.1 [firebase_core_platform_interface flutter flutter_web_plugins meta js] - flutter_advanced_networkimage 0.5.0 [flutter http path_provider path flutter_svg] - flutter_cache_manager 1.4.2 [flutter path_provider uuid http path sqflite pedantic clock file rxdart] - flutter_local_notifications_platform_interface 1.0.1 [flutter plugin_platform_interface] - flutter_plugin_android_lifecycle 1.0.11 [flutter] - flutter_svg 0.13.1 [path_drawing xml vector_math meta flutter] - flutter_web_plugins 0.0.0 [flutter collection meta typed_data vector_math] - glob 1.2.0 [async collection node_io path pedantic string_scanner] - html 0.14.0+4 [csslib source_span] - http_parser 3.1.4 [charcode collection source_span string_scanner typed_data] - image 2.1.12 [archive xml] - image_picker_platform_interface 1.1.1 [flutter meta http plugin_platform_interface] - infinite_listview 1.0.1+1 [flutter] - js 0.6.2 - matcher 0.12.6 [stack_trace] - meta 1.1.8 - node_interop 1.1.1 [js] - node_io 1.1.1 [node_interop path] - numberpicker 1.3.0 [flutter infinite_listview] - package_config 1.9.3 [path charcode] - path 1.6.4 - path_drawing 0.4.1+1 [vector_math meta path_parsing flutter] - path_parsing 0.1.4 [vector_math meta] - path_provider 1.6.24 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows] - path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter] - path_provider_macos 0.0.4+6 [flutter] - path_provider_platform_interface 1.0.4 [flutter meta platform plugin_platform_interface] - path_provider_windows 0.0.4+3 [path_provider_platform_interface meta path flutter ffi win32] - pedantic 1.9.0 - petitparser 2.4.0 [meta] - platform 2.2.1 - plugin_platform_interface 1.0.3 [meta] - process 3.0.13 [file intl meta path platform] - pub_semver 1.4.4 [collection] - quiver 2.1.3 [matcher meta] - rxdart 0.23.1 - shared_preferences_linux 0.0.2+4 [file flutter meta path path_provider_linux shared_preferences_platform_interface] - shared_preferences_macos 0.0.1+11 [shared_preferences_platform_interface flutter] - shared_preferences_platform_interface 1.0.4 [meta flutter] - shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta] - shared_preferences_windows 0.0.1+3 [shared_preferences_platform_interface flutter ffi file meta path path_provider_platform_interface path_provider_windows] - sky_engine 0.0.99 - source_span 1.7.0 [charcode collection meta path term_glyph] - sqflite 1.3.1+2 [flutter sqflite_common path] - sqflite_common 1.0.2+1 [synchronized path meta] - stack_trace 1.9.3 [path] - stream_channel 2.0.0 [async] - string_scanner 1.0.5 [charcode meta source_span] - syncfusion_flutter_core 18.3.50 [flutter pedantic] - synchronized 2.2.0+2 - term_glyph 1.1.0 - test_api 0.2.15 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher] - typed_data 1.1.6 - url_launcher_linux 0.0.1+4 [flutter] - url_launcher_macos 0.0.1+9 [flutter] - url_launcher_platform_interface 1.0.8 [flutter meta plugin_platform_interface] - url_launcher_web 0.1.4+1 [url_launcher_platform_interface flutter flutter_web_plugins meta] - url_launcher_windows 0.0.1+3 [flutter] - uuid 2.2.2 [crypto convert] - vector_math 2.0.8 - watcher 0.9.7+15 [async path pedantic] - win32 1.7.4 [ffi] - xdg_directories 0.1.0 [path process flutter] - yaml 2.2.1 [charcode collection string_scanner source_span] ```

markathomas commented 3 years ago

This is using the material_barcode_scanner.dart code in the examples repo

markathomas commented 3 years ago

Now it doesn't even work in debug mode. Appears the camera is never initializing

markathomas commented 3 years ago

Setting resolution to ultraHigh worked on the iPhone XR. tried high, veryHigh and medium with blank screen

markathomas commented 3 years ago

Seems to only work on iOS on resolution of the camera. What is the recommended way of determining the resolution to use? I'm going to try cycling through each one.

markusaksli-nc commented 3 years ago

Hi @markathomas Are any errors logged to flutter run -v or Xcode console? Have you only tested this on one device? Thank you

markathomas commented 3 years ago

Hi Markus, there are no errors in the console, unfortunately. On Android, the example works no matter what resolution I use (as long as the camera supports it). However, on iOS, I cannot get it to be consistent. Last week it worked on ResolutionPreset.high and now, after updating to latest, it only works on ResolutionPreset.ultraHigh so it's very inconsistent and confusing. I'm willing to do anything you need to get information as this issues is affecting deployment of my new app to healthcare workers.

markathomas commented 3 years ago

And yes, on iOS only tested on one device (I only have an iPhone XR and the sim won't work for testing barcode scanning)

markusaksli-nc commented 3 years ago

What part of the ML kit are you using? Do other camera packages like camera work fine?

This could be device specific but with it being an ipa and resolution preset specific issue this could be hard to diagnose without any relevant logs.

markathomas commented 3 years ago

We are only using the barcode kit component. Camera works fine with another barcode scanner we tested o I don't think it's the camera. How can I generate the relevant information you require?

markusaksli-nc commented 3 years ago

Could you try getting the Xcode device logs when you open the black camera screen?

markathomas commented 3 years ago

Absolutely. Will do that today or tomorrow.

markathomas commented 3 years ago

Thanks for your patience. Experiencing some issues with Xcode 12. Working on getting the logs

markathomas commented 3 years ago

Here's device log when app crashed on ResolutionPreset.ultraHigh

2020-11-30 21:08:34.194054-0600 Runner[758:26943] Initialized TensorFlow Lite runtime.
2020-11-30 21:08:36.685688-0600 Runner[758:27960] [ServicesDaemonManager] interruptionHandler is called. -[FontServicesDaemonManager connection]_block_invoke
markathomas commented 3 years ago

here's another run with the black screen

2020-11-30 21:25:39.405781-0600 Runner[842:32015] Initialized TensorFlow Lite runtime.
2020-11-30 21:26:02.588390-0600 Runner[842:32186] [tcp] tcp_input [C1.1:3] flags=[R] seq=2720374033, ack=0, win=0 state=LAST_ACK rcv_nxt=2720374033, snd_una=2480304739
2020-11-30 21:26:02.635910-0600 Runner[842:32186] [tcp] tcp_input [C1.1:3] flags=[R] seq=2720374033, ack=0, win=0 state=CLOSED rcv_nxt=2720374033, snd_una=2480304739
2020-11-30 21:26:02.636029-0600 Runner[842:32186] [tcp] tcp_input [C1.1:3] flags=[R] seq=2720374033, ack=0, win=0 state=CLOSED rcv_nxt=2720374033, snd_una=2480304739
2020-11-30 21:26:20.025031-0600 Runner[842:32182] [ServicesDaemonManager] interruptionHandler is called. -[FontServicesDaemonManager connection]_block_invoke
2020-11-30 21:26:25.124691-0600 Runner[842:32186] [unspecified] container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled
2020-11-30 21:26:25.125692-0600 Runner[842:32186] [unspecified] container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled
2020-11-30 21:26:25.127348-0600 Runner[842:32186] [unspecified] container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled
2020-11-30 21:26:25.131 Runner[842/0x16dec3000] [lvl=3] -[FBMLx_GIPPseudonymousIDStore initializeStorage] Shared App Groups unavailable
2020-11-30 21:26:25.394799-0600 Runner[842:32182] [unspecified] container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled
2020-11-30 21:26:25.395 Runner[842/0x16dc93000] [lvl=3] -[FBMLx_GIPPseudonymousIDStore initializeStorage] Shared App Groups unavailable
2020-11-30 21:26:40.852552-0600 Runner[842:32187] [client] No error handler for XPC error: Connection interrupted
2020-11-30 21:26:40.942551-0600 Runner[842:32015] LOG|providerDidReset:
2020-11-30 21:27:01.824952-0600 Runner[842:32182] [client] No error handler for XPC error: Connection interrupted
markathomas commented 3 years ago

And here is the console log errors


error   21:29:04.743586-0600    routined    {"msg":"#NullIsland Either the latitude or longitude was exactly 0! That's highly unlikely", "latIsZero":0, "lonIsZero":0}
error   21:29:04.842839-0600    wifid   Normal priority scan request from "locationd", is5GScan=0
error   21:29:05.228858-0600    wifid   Locationd scan done.
error   21:29:05.253160-0600    wifid   Normal priority scan request from "locationd", is5GScan=0
error   21:29:06.441627-0600    wifid   Locationd scan done.
error   21:29:07.041049-0600    geod    misuse at line 90532 of [02c344acea]
error   21:29:07.041913-0600    geod    step failure: no more rows available (101)
error   21:29:07.485456-0600    geod    misuse at line 90532 of [02c344acea]
error   21:29:07.485662-0600    geod    step failure: no more rows available (101)
error   21:29:14.613413-0600    maild   Could not load ACAccounts due to Account Error (null)
error   21:29:14.658288-0600    maild   Couldn't read values in CFPrefsPlistSource<0x100718730> (Domain: group.com.apple.mail, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
error   21:29:14.774075-0600    maild   Could not read <private>: No such file or directory
error   21:29:15.107244-0600    mobileassetd    -[ControlManager checkEntitlementAndRespondIfErrorForConnection:usingMessage:forAssetType:withCommand:]: failed entitlement check for: 1 com.apple.MobileAsset.MailDynamicData
error   21:29:15.124640-0600    maild   Query MAQueryResult: 5
error   21:29:16.952178-0600    syncdefaultsd   Store (<private>) for Bundle (<private>) marked as not available on this platform.
error   21:29:16.952264-0600    syncdefaultsd   Can't register additional store <private>/<private>
error   21:29:31.556951-0600    remotemanagementd   Crippled daemon, this feature is not available.
error   21:29:31.560910-0600    Runner  tcp_input [C6.1:3] flags=[R] seq=3816970105, ack=0, win=0 state=CLOSED rcv_nxt=3816970105, snd_una=1315061731
error   21:29:31.561077-0600    Runner  tcp_input [C6.1:3] flags=[R] seq=3816970105, ack=0, win=0 state=CLOSED rcv_nxt=3816970105, snd_una=1315061731
error   21:29:31.562556-0600    Runner  tcp_input [C6.1:3] flags=[R] seq=3816970105, ack=0, win=0 state=CLOSED rcv_nxt=3816970105, snd_una=1315061731
error   21:29:37.872628-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:37.875478-0600    runningboardd   Could not get proc_pidinfo for pid 967 to get name
error   21:29:37.876676-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:38.077940-0600    runningboardd   Bundle info cannot be fetched for process 1016
error   21:29:38.340523-0600    SpringBoard Response: clientProperties<42FFBA9F-1E2E-461A-9E11-FD0C02B41061> returned with error <Error Domain=kMRMediaRemoteFrameworkErrorDomain Code=35 "Could not find the specified now playing client" UserInfo={NSLocalizedDescription=Could not find the specified now playing client}> for origin-Mark’s iPhone-1280262988/client-(null)/player-(null) in 0.3925 seconds
error   21:29:38.351280-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: Adding persistent store'.
error   21:29:38.362121-0600    SpringBoard Response: clientProperties<FF6B3890-CE1A-41C0-93EA-C2E9E101456D> returned with error <Error Domain=kMRMediaRemoteFrameworkErrorDomain Code=35 "Could not find the specified now playing client" UserInfo={NSLocalizedDescription=Could not find the specified now playing client}> for origin-Mark’s iPhone-1280262988/client-(null)/player-(null) in 0.0049 seconds
error   21:29:38.367728-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.368233-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.368355-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.368474-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.368736-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.368858-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.369045-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.369168-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.369291-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.369414-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.369534-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.369709-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.378534-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: Adding persistent store'.
error   21:29:38.388094-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.388320-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.388807-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.389178-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.389307-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.389477-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.389776-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.389877-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.389976-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.390072-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.390166-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:38.390580-0600    SpringBoard error: Failed to acquire background task assertion for task 'CoreData: SQLite disconnection'.
error   21:29:44.243616-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:44.247476-0600    profiled    <FLDaemon: 0x12892c530>: Daemon connection interrupted
error   21:29:44.247627-0600    profiled    <FLDaemon: 0x12892c530>: Daemon connection invalidated
error   21:29:44.255661-0600    runningboardd   Could not get proc_pidinfo for pid 993 to get name
error   21:29:44.256491-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:44.332794-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:44.399076-0600    SpringBoard Connection interrupted!
error   21:29:44.400222-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:44.400294-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:44.400365-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:44.401169-0600    contextstored   Connection interrupted!
error   21:29:44.494469-0600    remindd XPC connection invalidated
error   21:29:44.498920-0600    duetexpertd Connection interrupted!
error   21:29:44.502882-0600    suggestd    Connection interrupted!
error   21:29:44.503189-0600    suggestd    Connection interrupted!
error   21:29:44.505485-0600    suggestd    Error: service connection to com.apple.contactsd was interrupted
error   21:29:44.505673-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBConnectionClient| 990 name:daemon<com.apple.itunesstored> entitlements:<RBEntitlements| [
            com.apple.assertiond.app-state-monitor,
            com.apple.multitasking.termination,
            com.apple.multitasking.newsstandassertions
            ]> inheritanceManager:<RBClientInheritanceManager| >>
error   21:29:44.506505-0600    runningboardd   Could not get proc_pidinfo for pid 999 to get name
error   21:29:44.510323-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:44.511528-0600    runningboardd   Could not get proc_pidinfo for pid 980 to get name
error   21:29:44.513021-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:44.514401-0600    runningboardd   Could not get proc_pidinfo for pid 971 to get name
error   21:29:44.515353-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:44.516597-0600    runningboardd   Could not get proc_pidinfo for pid 1001 to get name
error   21:29:44.517417-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:44.519140-0600    runningboardd   Could not get proc_pidinfo for pid 992 to get name
error   21:29:44.520123-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:44.520668-0600    runningboardd   Could not get proc_pidinfo for pid 990 to get name
error   21:29:44.521473-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:44.522500-0600    runningboardd   Could not get proc_pidinfo for pid 1002 to get name
error   21:29:44.523482-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:44.524090-0600    runningboardd   Could not get proc_pidinfo for pid 1000 to get name
error   21:29:44.524993-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:51.510318-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:51.550205-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:51.560697-0600    runningboardd   Could not get proc_pidinfo for pid 973 to get name
error   21:29:51.561553-0600    searchd XPC error talking to pkd: Connection interrupted
error   21:29:51.562838-0600    ctkd    XPC error talking to pkd: Connection interrupted
error   21:29:51.563374-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:51.612842-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:51.656783-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:51.664997-0600    runningboardd   Could not get proc_pidinfo for pid 1010 to get name
error   21:29:51.665817-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:51.702929-0600    runningboardd   RBSStateCapture remove item called for untracked item <RBProcessMonitorObserver| qos:0 qos:(null) configs:{
    }>
error   21:29:51.733784-0600    runningboardd   Could not get proc_pidinfo for pid 965 to get name
error   21:29:51.734708-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
error   21:29:51.735449-0600    runningboardd   Could not get proc_pidinfo for pid 977 to get name
error   21:29:51.736443-0600    UserEventAgent  Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>
markathomas commented 3 years ago

And all logs log.pdf

markathomas commented 3 years ago

Upgraded to Flutter 1.22.4 and the issues persists.

markathomas commented 3 years ago

@markusaksli-nc could it be a timing issue? I just ran in debug mode and got the black screen. I then changed the preset resolution value and did a hot-reload and the camera came right up

markathomas commented 3 years ago

tried again with preset that worked on hot reload and got a black screen. did another hot reload and camera came up

markathomas commented 3 years ago

@markusaksli-nc I managed to "fix" this by simply triggering a state change after starting the image stream.

Salakar commented 3 years ago

Hey, :wave:, the firebase_ml_vision package is now discontinued since its APIs have been deprecated and removed from the Android & iOS Firebase SDKs.

I'd recommend switching to the alternatives now;

Apologies for any inconvenience here and best of luck switching over the the new APIs. firebase_ml_custom is not affected by this deprecation.

Thanks