Networking

Data & backend

Networking

Cross-platform http networking

Platform notes

Android
macOS

Samples

Cross-platform http networking

The http package provides the simplest way to issue http requests. This
package is supported on Android, iOS, macOS, Windows, Linux and the web.

Platform notes

Some platforms require additional steps, as detailed below.

Android

Android apps must declare their use of the internet in the Android
manifest (AndroidManifest.xml ):

macOS

macOS apps must allow network access in the relevant .entitlements files.

Learn more about setting up entitlements.

Samples

For a practical sample of various networking tasks (incl. fetching data,
WebSockets, and parsing data in the background) see the 
networking cookbook.