-
Notifications
You must be signed in to change notification settings - Fork 220
deeplink between two ionic applications not working on android 12 #261
Comments
I'm having the same issue but I still don't have a working solution but I'll share what I found until now relating to this issue. According to Android:
More info here: https://developer.android.com/training/app-links/verify-site-associations#manual-verification And in stack overflow, I found a question that relates to our problem but after checking the plugin source code I noticed that the strategy is already implemented. For reference, here's my AndroidManifest.xml (part of it)
AutoVerify is already enabled and Domain is correctly declared. In the end, no verified links detected for my app as you can see in the image below. "Links to open this app: 0 verified links" WorkaroundClicking the "Add link button" will bring the links we declared and if we select the domain , everything will start working but we don't want our app users to do this, ofc... |
Solved by this pull request #260 |
Thanks for your reply @mreis1 Also i tried to check the APK manually : https://developer.android.com/training/app-links/verify-site-associations#manual-verification but i got legacy_failure error. |
hello how did you fix this issue ? Thanks |
fixed for me by patching the plugin :
After that i have to delete platform and re-add it to generate platform android with the patched plugin. You can use hooks or scripts to automate this patch. Hope that helps |
@mreis1, when building the application with target level 32, it doesn't work again your MR. |
Får ikke gammelt oppsett til å fungere når målet er Android 12. Applinker må da heller legges til via config.xml i cordova-prosjektet på formen: ```xml <intent-filter android:autoVerify="true" android:label="En eller annen label"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:host="www.foo.com" /> <data android:scheme="https" /> <data android:pathPattern="/foo/bar?q=x" /> <data android:pathPattern="osv." /> <data android:pathPattern="Finnes også alternatives til pathPattern" /> </intent-filter> ``` Se også issues i repoet: ionic-team#260 ionic-team#261
After generation of my two ionic applications using ionic-plugin-deeplinks the apk working on Android8, 9 and 11 but the deeplink is not working on android 12.
ionic-pugin-deeplinks : 1.0.24
using Branch.io as link provider.
building with :
cordova 8.0.0
android 8.0.0
I've tried to use the branch skd also but got the same issue on android 12.
Thanks for your help.
The text was updated successfully, but these errors were encountered: