Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

iOS: request error does not reject plugin call #224

@mrahn24

Description

@mrahn24

Describe the bug
When a request error occurs, e.g. the device has no internet connection, the plugin call does not getting rejected. As a result the error can not be handled by ionic.

To Reproduce
Steps to reproduce the behavior:

  1. Implement a basic HTTP request with error handling, let's say a GET
  2. Turn off internet connection on device
  3. Send the request

=> The error does not get catched

Expected behavior
The plugin call rejects and the error does get catched

Smartphone (please complete the following information):

  • Device: iPhone SE 2020
  • OS: iOS 15.2.1
  • Browser: Safari
  • Version:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions