napolitano / cordova-plugin-intent

Plugin for apache cordova (Android Only) that allows interaction with the intent.
MIT License
85 stars 88 forks source link

event error firing when app starts up cold #10

Open colonna-mike opened 8 years ago

colonna-mike commented 8 years ago

Hello, Thank you for the work on this plugin.

When I share something from the browser my app starts up I get a error in the getCordovaIntent()


 window.plugins.intent.getCordovaIntent(function (intent) {

                    alert(intent)

                }, function () {
                    alert('error in getCordovaIntent')

                });

Not sure why the event is firing? Is there something else I might need to set or add?

Any help would be great.

Additional info below

 <intent-filter>
               <action android:name="android.intent.action.SEND_MULTIPLE" />
               <category android:name="android.intent.category.DEFAULT" />
               <data android:mimeType="*/*" />
            </intent-filter>

using version .1.3

colonna-mike commented 8 years ago

update issue fixed with the latest update v0.1.31 ... nice .