Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot select a printer from the Share dialogue box #2056

Open
michi949 opened this issue Mar 12, 2024 · 1 comment
Open

Cannot select a printer from the Share dialogue box #2056

michi949 opened this issue Mar 12, 2024 · 1 comment
Labels

Comments

@michi949
Copy link

michi949 commented Mar 12, 2024

Bug Report

Plugin(s)

@capacitor/share: 5.0.6

Capacitor Version

Latest Dependencies:   
                       
  @capacitor/cli: 5.7.2
  @capacitor/core: 5.7.2
  @capacitor/android: 5.7.2
  @capacitor/ios: 5.7.2

Installed Dependencies:

  @capacitor/android: not installed
  @capacitor/cli: 5.6.0
  @capacitor/core: 5.6.0
  @capacitor/ios: 5.6.0

Platform(s)

iOS

Current Behavior

I am trying to share and then print a downloaded PDF (about 15 pages). The Share dialogue box opens and when I select Print, the PDF appears in the Print dialogue box. When I then try to select a printer on my network, the app tries to collect any informations of the printer and then it seems to fail further no printer is selected, i.e. it is never possible to select one. I have tried with different networks and printers and all users of the application have this problem.

Expected Behavior

A printer should be selected and the PDF should be printable.

Code Reproduction

Permission: NSPhotoLibraryUsageDescription

        const result = await Filesystem.writeFile({
                path,
                data: "data:" + type + ";base64," + base64,
                directory: Directory.Cache,
                recursive: true,
         });

        await Share.share({
            title: title,
            url: result.uri,
        }).catch(console.error);
  1. Click on a Share Button
  2. Then print
  3. Try to select a printer

Other Technical Details

Tested on iPhone XS 17.3.1
Application is provided by internal Ivanti Mobile Iron app store, all air printer settings are allowed.

@ionitron-bot ionitron-bot bot added the triage label Mar 12, 2024
@ionitron-bot ionitron-bot bot removed the triage label Mar 12, 2024
@IT-MikeS IT-MikeS added plugin: share type: bug A confirmed bug report labels Apr 9, 2024
Copy link

ionitron-bot bot commented Apr 9, 2024

This issue has been labeled as type: bug. This label is added to issues that that have been reproduced and are being tracked in our internal issue tracker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants