Skip to content

"FetchWithCompletion" is never called during network loss #19

@cafedeichi

Description

@cafedeichi

Expected Behavior

"FetchWithCompletion" is never called in any case of errors.

Current Behavior

"FetchWithCompletion" is never called during network loss. This behavior can be reproduced by enabling Airplane mode on iOS.

Possible Solution

Steps to Reproduce

  1. Enable Airplane mode on iOS.
  2. Call Variables.fetch(completion:)
  3. Confirm whether the completion block is called.

SDK Version

  • KarteCore 2.21.0
  • KarteCrashReporting 2.5.0
  • KarteInAppMessaging 2.13.0
  • KarteRemoteNotification 2.8.0
  • KarteVariables 2.4.1
  • KarteVisualTracking x.x.x
  • KarteUtilities 3.7.0
  • KarteNotificationServiceExtension x.x.x

iOS Version

16.0 or later

Build Environment

  • macOS Version 13.2.1
  • Xcode Version 14.3.0
  • CocoaPods Version 1.11.3
  • Carthage Version x.x.x

Context Details

Cannot handle the error at all is some cases.

Logs

Possible Implementation

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