Ansharja
Ansharja

Reputation: 1133

open native share dialog in ionic (cordova)

Is it possible to open a native share dialog in Ionic cordova like the one used by Capacitor Share plugin (which we can also see in the video course at https://youtu.be/p7f6yamZxCk?t=334)?

I'm not talking about Social sharing plugin, I'm searching a way to show the native dialog like the one below.

In particular I want to be able to allow users saving files to their google drive account.

Share dialog

Upvotes: 1

Views: 453

Answers (2)

Ayyaz Khan
Ayyaz Khan

Reputation: 25

There isn't any direct way to use capacitor plugins in cordova.

Upvotes: 1

Bhavesh Jain
Bhavesh Jain

Reputation: 66

In ionic there is only Share plugin available to share files in different apps if you want this type of share dialog you can make plugin or customize share plugin for future use here is documentation for plugin creation or you can add feature request in Share plugin Github repository

Upvotes: 3

Related Questions