Skip to content

bug: File Viewer not working on ios 17 #33

Description

@rhemlock7

Bug Report

File viewer is not working on ios 17. Here is the error I'm seeing in my capacitor app: "Fileviewer" plugin is not implemented on ios

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 8.4.0
  @capacitor/core: 8.4.0
  @capacitor/android: 8.4.0
  @capacitor/ios: 8.4.0

Installed Dependencies:

  @capacitor/cli: 8.2.0
  @capacitor/core: 8.2.0
  @capacitor/android: 8.1.0
  @capacitor/ios: 8.2.0

[success] iOS looking great! 👌

Platform(s)

iOS 17.

Current Behavior

On ios 17, the file viewer never opens. I've set an error modal to open instead if there's an error. The error modal pops up instead of the file viewer with this error: "Fileviewer" plugin is not implemented on ios

Expected Behavior

I'm expecting the file viewer to open like it normally does on ios 18+.

Code Reproduction

This is just an example of the code that I'm running.

https://stackblitz.com/edit/stackblitz-starters-wqr4bwnn?file=src%2Fapp%2Fexample%2Fexample.ts

Other Technical Details

Additional Context

The file viewer works completely fine on the same app with later ios versions such as 18+. ios 17 is the only version unable to use the file viewer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions