FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Connectivity's startMonitoring behaviour is different between platforms · Issue #4579 · NativeScript/NativeScript · GitHub

Connectivity's startMonitoring behaviour is different between platforms #4579

Description

When I use connectivity.startMonitoring on Android it implicitly triggers the callback with the current state of the connectivity when I call startMonitoring.

On iOS, it will trigger the callback only when the connectivity changes.

I like the Android behaviour, but that being said iOS sounds more like how it should work.

Anyhow, shouldn't the behaviour be the same in between the two platforms ?

PS: both scenarios are tested on real devices, not simulators.

$ tns info
All NativeScript components versions information
┌──────────────────┬─────────────────┬────────────────┬─────────────┐
│ Component        │ Current version │ Latest version │ Information │
│ nativescript     │ 3.1.2           │ 3.1.2          │ Up to date  │
│ tns-core-modules │ 3.1.0           │ 3.1.0          │ Up to date  │
│ tns-android      │ 3.1.1           │ 3.1.1          │ Up to date  │
│ tns-ios          │ 3.1.0           │ 3.1.0          │ Up to date  │
└──────────────────┴─────────────────┴────────────────┴─────────────┘

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL