Skip to content

Remove OS check in RCTMultiPartDataTask.m #1600

@Saadnajmi

Description

@Saadnajmi

We're well past a minimum iOS version of 9 / macOS version of 10.11. This can be cleaned up.

static BOOL isStreamTaskSupported() {
#if !TARGET_OS_OSX // [macOS]
  return [[NSProcessInfo processInfo] isOperatingSystemAtLeastVersion:(NSOperatingSystemVersion){9,0,0}];
#else // [macOS
  return [[NSProcessInfo processInfo] isOperatingSystemAtLeastVersion:(NSOperatingSystemVersion){10,11,0}];
#endif // macOS]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions