question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows 11 22/H2 and NetInfo.fetch issue

See original GitHub issue

I have noted that request const state: NetInfoState = await NetInfo.fetch() seems to sometimes get stuck on latest Windows 11 22/H2. No errors thrown, it is in stuck. I say about that 1 from 5 application start get stuck.

Application get stuck on await NetInfo.fetch(), it does not get network status (i think). App continues starting when switching Windows into Flight mode.

No any issues for example in Windows 10 Pro 22/H2 19045.2251

Does anyone have noted the same issue?

Environment

Surface Laptop 4 Windows 11 Pro 22/H2 22621.900

Platforms

Windows 11

Versions

  • react-native-netinfo: 9.3.6
  • react-native: 0.69.6
  • react: 18.0.0

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
tero-paananencommented, Dec 20, 2022

If i have the time i could test this issue also with example app with this module on Windows 11

Heh, i could not managed to build release/x64 version of the example app to test it on Windows 11. npx react-native bundle command may use wrong --entry-file index.js. Valid may be lib/commonjs/index.js…i do not really know

1reaction
tero-paananencommented, Dec 10, 2022

Application seems to work now well after removing the call co_await winrt::resume_background(). I will come back if some issues still exists.

If i have the time i could test this issue also with example app with this module on Windows 11.

Read more comments on GitHub >

github_iconTop Results From Across the Web

unable to connect to network after Windows 11 22h2 update
I performed the Windows 11 22h2 update today and it updated successfully. However, I am no longer able to connect to my schools...
Read more >
How to fix Wi-Fi problems on Windows 11 22H2 - Pureinfotech
Windows 11 22H2 is showing Wi-Fi issues? Use these four solutions to fix the problem to get back online as quickly as possible....
Read more >
Windows 11 2022 Update (22H2) Known Issues and ... - AskVG
UPDATE: One new issue “KB5012170 might fail to install and users might receive 0x800f0922 error” was discovered in Windows 11 version 22H2 ...
Read more >
Microsoft investigates Windows 11 22H2 Remote Desktop ...
Microsoft is investigating user reports of issues with Remote Desktop on Windows 11 systems after installing the Windows 11 2022 Update.
Read more >
Topic: CMsPCInfo Program Latest Version @ AskWoody
Topic. New Reply. RetiredGeek. AskWoody MVP. January 11, 2017 at 1:10 pm #507940. Hey Y'all,. [Edited:] From now on you can get the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found