disusered / cordova-open

Open audio, video, images and more with applications installed on the user's device
MIT License
54 stars 55 forks source link

Get the OK event and nothing happens #46

Closed cmorgado closed 7 years ago

cmorgado commented 8 years ago

I'm using the plug in after downloading a file

var open = cordova.plugins.disusered.open;

                            open(entry.toURL()
                                , function() {
                                    console.log("ok"); 

                                }
                                , function (code) {
                                    console.log("kok: " + code);

                            });

I get the OK but nothing happens either in the emulator or device...

Any clues on how to debug this?

mladenp commented 8 years ago

Yup, i got same problem, in iOS only, Android works fine. I tried passing url parameter with "file:/" and without, no luck

disusered commented 7 years ago

This was addressed by @sfrank87 via https://github.com/disusered/cordova-open/pull/52 🙌