capacitor-community / file-opener

Capacitor File Opener. The plugin is able to open a file given the mimeType and the file uri. This plugin is similar to cordova-plugin-file-opener2 without installation support.
MIT License
67 stars 13 forks source link

To lazy to show a exemple usage like capawesome? #52

Closed onigetoc closed 8 months ago

onigetoc commented 8 months ago

To lazy to show a exemple usage like capawesome?

import { FileOpener } from '@capawesome-team/capacitor-file-opener';

const open = async () => {
  await FileOpener.openFile({
    path: 'file:///var/mobile/Containers/Data/Application/22A433FD-D82D-4989-8BE6-9FC49DEA20BB/Images/test.png'
  });
};
ryaa commented 8 months ago

@onigetoc this is an open source project and I put my personal unpaid time for it, so I have limited resources for it. Your PR will be welcomed.

ryaa commented 7 months ago

@onigetoc I have added Usage section to README