Comments (7)
Could you provide a little more information to help diagnose the problem, could I ask:
- Are you experiencing this on the simulator or a physical device?
- How are you simulating packet loss?
Thanks in advance.
from connectivity.
-
I am experiencing this on physical device
-
I am simulating my packet loss by using Network Link Conditioner. Here is the screenshot:
thx for reply
from connectivity.
Thanks for the info - I'll investigate. One more question, are you using the default settings?
from connectivity.
yes, I am using default settings. I have tried with 4 iPads and all of them are affected
from connectivity.
hi @rwbutler,
is there any update?
for your additional information I am using connectivity.isPollingEnabled = true
from connectivity.
I tried to replicate your experiment this morning using an iPad running the example app that comes with the library and enabling polling. If I use the Network Link Conditioner to simulate 100% packet loss for half an hour then switch to 3G simulation the example app does detect the availability of Internet access. Could I ask are you using example app for your experiment? If you are using your own implementation, then the first thing I'd suggest is ensuring that the Connectivity object in your app is not being released over the period of time that you are testing. It would also be interesting to see whether if you repeat your experiment using the sample app whether you still experience the issue (if you attempt this you will need to add a line of code to enable polling).
from connectivity.
I was curious to know whether you managed to take a look to see whether the reference to the Connectivity object was being released at any point over the duration of your test? I'm going to close this issue for now but if you make any further progress with this, add a comment and we'll re-open this and investigate further.
from connectivity.
Related Issues (20)
- Carthage build fails because of "no shared framework schemes" HOT 6
- URLSession must be instantiated once for entire lifespan of Connectivity instance HOT 1
- Disable logging HOT 2
- Importing using SPM: Reachability missing HOT 12
- README/Documentation Appears Out of Date HOT 2
- Adding checks for Ethernet connection HOT 1
- App open and Airplane Mode on from Control Center HOT 5
- How do I monitor the switch from WiFi A to WiFi B? HOT 2
- Xcode / M1: could not find module 'Connectivity' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator HOT 2
- Wrong connectivity status returned when app is backgrounded HOT 1
- Building Connectivity with Carthage fails HOT 2
- Allow URLRequest & URL HOT 1
- Crashed: com.apple.root.background-qos
- Update podspec on cocoapods HOT 3
- custom `expectedResponse` not working when using Combine publisher mode HOT 6
- Failed connectivity URL HOT 2
- How we can check either the connected connection is poor? HOT 2
- Callback when isConnectedViaWiFiWithoutInternet changes
- Changes in 6.1.0 are breaking but no major version release HOT 1
- Crash in Xcode 15 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectivity.