Skip to content

UploadFileResult.responseCode is number on iOS instead of documented string #32

@timephy

Description

@timephy

Bug Report

Capacitor Version

    '@capacitor/app':
      version: 7.0.1
    '@capacitor/core':
      version: 7.4.2
    '@capacitor/file-transfer':
      version: 1.0.5
    '@capacitor/filesystem':
      version: 7.1.4
    '@capacitor/keyboard':
      version: 7.0.1
    '@capacitor/screen-orientation':
      version: 7.0.1
    '@capacitor/share':
      version: 7.0.1
    '@capacitor/splash-screen':
      version: 7.0.1
    '@capacitor/status-bar':
      version: 7.0.2

Platform(s)

  • iOS

Current Behavior

The returned UploadFileResult.responseCode is 200 (number!)

Expected Behavior

TypeScript/Documentation say UploadFileResult.responseCode is a string

Image Image

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