NativeScript / NativeScript/nativescript-cli
Devtools unstable on iOS
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 7.0.11 (tried
@nextas well) - Cross-platform modules:
7.0.13 - iOS Runtime:
7.0.4(tried7.0.3and7.0.1as well) - XCode Version:
12.1 - Simulator iOS Version:
14.1
Describe the bug
Chrome DevTools do not show any network connection or elements.
Safari's inspector does not even show console.
To Reproduce
ns create devtools-test --ng --blank- Add a http call to
app.component.tsvia Angular'sHttpClientor NativeScript'sHttp. ns debug ios(--inspectorif testing inspector)- Open DevTools link provided by cli (or switch to inspector)
Expected behavior
Expect to see http calls on the network tab, layout on elements tab, and console output on console tab.
Additional context
On a real project, application crashes when DevTools are open opened. Once this issue is reproduced for a minimal project, I can provide more information regarding that if the issue persists.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal project from the reproduction steps, using app.component.ts and the ns debug ios entry point. Compare Chrome DevTools and Safari inspector behavior for network, elements, and console output, then verify the expected tabs work without crashing the application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, ios, javascript
- Domain
- cli, devtools, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100