I'm having trouble opening an applink in my app. I...
# android
r
I'm having trouble opening an applink in my app. I have followed all the required steps like putting the assetlinks.json in the .well-known folder of the website. But the link won't open in the app. I've tried with some other site but it's working perfectly. The only difference is that the working link has HTTPS while the applink that I want has an HTTP. Is it required for an applink to have the https scheme? I added this intent filter in the androidmanifest file
Copy code
<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:scheme="http" />
    <data android:scheme="https" />
    <data android:host="login.example.co" />
    <data android:pathPrefix="/reset-password" />
</intent-filter>
not kotlin but kotlin colored 3
f
did you check already the defaults of your app, if it is not enabled for the deeplink will be ignore, you can check that in the app settings.
r
Yes, I've already checked the defaults. It is disabled. I tried with another website with the same assetlinks.json and it worked without doing any changes.
f
It should be enable
r
Yes, shouldn't it be enabled by default if the link is verified? This is my question actually. I've completed all the verification steps but it's not enabled.
e
Hi, are you building your app in debug or release mode ? Also, have you tried Android Studio App Link Assistant ?
r
It's in release mode. Yes, tried the assistant but it gives password error for keystore everytime
e
You should try with assistant by using direct url just to validate your asset links on the server. Remember , your server must not provide any redirection on it. I’ve also noticed that depending on which mobile browser you are opening the links, sometime doesn’t work