nordnet / cordova-universal-links-plugin

[DEPRECATED] - Cordova plugin to support Universal/Deep Links for iOS/Android.
https://github.com/nordnet/cordova-universal-links-plugin/issues/160
MIT License
349 stars 529 forks source link

app verification not triggered state is undefined #88

Closed slootmaekersdirk closed 5 years ago

slootmaekersdirk commented 7 years ago

hello,

I provisioned everything as the document stated. The adb check with the activity localy works fine (it opens the app without a chooser dialog). the issue is that I still get the 'open with' (when i use a link in an sms message) dialog box (android 6) event when I have added the assetlinks.json file (and verified it with the check url https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://applogicdev.idealsystems.be&relation=delegate_permission/common.handle_all_urls)

when I do a adb shell dumpsys package d the status = undefined. Also in the log cat I cannot see an entry that is verifying this (should be something like ACTION_INTENT_FILTER_NEEDS_VERIFICATION)

my intent filter is looking like this:

 <intent-filter android:autoVerify="true">
        <action android:name="android.intent.action.VIEW"/>
        <category android:name="android.intent.category.DEFAULT"/>
        <category android:name="android.intent.category.BROWSABLE"/>
        <data android:host="applogicdev.idealsystems.be" android:scheme="https"/>
      </intent-filter>

can you assist or point what the issue is?

slootmaekersdirk commented 7 years ago

just for the record, the status is not undefined, but ask -> hence the open with appears. the question is how can I debug this?

Dirk

nikDemyankov commented 7 years ago

Hi,

Sorry, but not sure I can be much of the help in here :( Can suggest only to double check everything, as described in here, maybe here...

nikDemyankov commented 7 years ago

Also, not sure that you can debug the app itself. The problem is that app is not alive until user selects with which app he wants to open the link.

But you can open PROJECT_NAME/platforms/android in Android Studio and run the app from it on the real device (not emulator). Then try to open a link from it. But again, it's not gonna be launched until user choose it.

tngcanh07 commented 7 years ago

Hi, It seems it only works with the build from Play Store. When I install the application from Android Studio, also get the same problem.

sjahan commented 6 years ago

Hi,

I'm encountering the same problem... Can you confirm it will only work with a build delivered by the Play Store? As the assetlinks.json file mentions the certificate, I assumed I had to sign the APK as if I was going to publish it on the store, but even with the signed version with the production certificate, I always get the disambiguation popup.

It feels quite annoying that it is not possible to test this before publishing it... :(

TianleZhang commented 6 years ago

Hi,

I am also faceing the face problem. And it even happened to the app from Play store. I have go through the tutorial several times already, and after the install, the status of the app is always ask

nordnet-deprecation-bot commented 5 years ago

👋 Hi! Thank you for your interest in this repo.

😢 We are not using nordnet/cordova-universal-links-plugin anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.

🔒 This will now be closed & locked.

ℹ️ Please see #160 for more information.