Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to install and sync causes crash. Latest Code Push #583

Closed
northkode opened this issue Aug 8, 2018 · 1 comment
Closed

Trying to install and sync causes crash. Latest Code Push #583

northkode opened this issue Aug 8, 2018 · 1 comment

Comments

@northkode
Copy link

northkode commented Aug 8, 2018

Thanks so much for filing an issue or feature request! We will address it as soon as we can. Please follow these guidelines:

Using the latest code push.. I am getting this error on a REAL ipad Device when trying to sync

=================================================================
Main Thread Checker: UI API called on a background thread: -[WKWebView loadFileURL:allowingReadAccessToURL:]
PID: 297, TID: 28807, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 21
Backtrace:
4   App                           0x00000001042d6924 -[CDVWKWebViewEngine loadRequest:] + 372
5   App                           0x00000001042e9a24 -[CodePush loadURL:] + 156
6   App                           0x00000001042e9924 -[CodePush loadPackage:] + 120
7   App                           0x00000001042e75ac __20-[CodePush install:]_block_invoke + 660
8   libdispatch.dylib                   0x000000010520d260 _dispatch_call_block_and_release + 24
9   libdispatch.dylib                   0x000000010520d220 _dispatch_client_callout + 16
10  libdispatch.dylib                   0x0000000105219284 _dispatch_queue_override_invoke + 968
11  libdispatch.dylib                   0x000000010521e84c _dispatch_root_queue_drain + 604
12  libdispatch.dylib                   0x000000010521e584 _dispatch_worker_thread3 + 136
13  libsystem_pthread.dylib             0x0000000185607fac _pthread_wqthread + 1176
14  libsystem_pthread.dylib             0x0000000185607b08 start_wqthread + 4
2018-08-08 11:39:40.673427-0600 App[297:28807] [reports] Main Thread Checker: UI API called on a background thread: -[WKWebView loadFileURL:allowingReadAccessToURL:]
PID: 297, TID: 28807, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 21
Backtrace:
4   App                           0x00000001042d6924 -[CDVWKWebViewEngine loadRequest:] + 372
5   App                           0x00000001042e9a24 -[CodePush loadURL:] + 156
6   App                           0x00000001042e9924 -[CodePush loadPackage:] + 120
7   App                           0x00000001042e75ac __20-[CodePush install:]_block_invoke + 660
8   libdispatch.dylib                   0x000000010520d260 _dispatch_call_block_and_release + 24
9   libdispatch.dylib                   0x000000010520d220 _dispatch_client_callout + 16
10  libdispatch.dylib                   0x0000000105219284 _dispatch_queue_override_invoke + 968
11  libdispatch.dylib                   0x000000010521e84c _dispatch_root_queue_drain + 604
12  libdispatch.dylib                   0x000000010521e584 _dispatch_worker_thread3 + 136
13  libsystem_pthread.dylib             0x0000000185607fac _pthread_wqthread + 1176
14  libsystem_pthread.dylib             0x0000000185607b08 start_wqthread + 4
2018-08-08 11:39:40.815324-0600 App[297:28759] Failed to load webpage with error: The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 1.)```

and the application never updates. This does not happen on the simulator 
@alexandergoncharov-zz
Copy link
Contributor

Hi @northkode ,
Thanks for reporting!

It is looks like this Cordova issue: microsoft/cordova-plugin-code-push#424

If you use clear Cordova with WkWebView plugin you can use work around which provided in that issue. Fix for this issue in repo will be soon as it should be improved.

If you have other env or you have something to add could you please provide it in that issue to keep all info about this issue in one place. microsoft/cordova-plugin-code-push#424

Also, I'm going to close this issue as this is duplicate of microsoft/cordova-plugin-code-push#424

Please let me know if you any questions.

Thanks,
Alexander

@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants