I was referring to the below post for creating android applinks.This is working fine with android native .But while integrating with kony app as suggested in the link ,build is failing

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

AAPT: error: resource string/asset_statements (aka com.michaels.applinks:string/asset_statements) not found.Please suggest.

@Twvcey Rvndvll​ can you help here?

Adding Basecamp link for Applink :

https://basecamp.temenos.com/s/article-detail/a042K000016N3cnQAC/android-app-links

visualizer Plugin used :8.4.81

@Felicity Bviley​ can you help with this?

Hi @Dvisie Pwitchvwd​ ,

We suspect the metatag in Android is not added. Add the below tag as part of AndroidManifest child tag entries.

<meta-dataandroid:name="asset_statements"android:resource="@string/asset_statements" />

In additon you may need to have deeplink urls set.

Eg: <dataandroid:scheme="https"android:host="johnvinodh.github.io"android:pathPrefix="/applinktest/" />

Do make sure you inject onNewIntent and handleIntent Code snippets in Kony Activity.

For reference have a look at this code which you need to integrate with Kony.

https://github.com/JohnVinodh/AppsLinksSample/blob/master/AppsLink/app/src/main/java/com/moonlit/appslinknative/MainActivity.java

You may need to use androidprecompiletask.xml ANT scripts to achieve your use case.

Hope this answers your query. After integrating with the steps mentioned in the Article even in Kony. You will be able to see the app opening with AppLinks.

Thanks

HI @Felicity Bviley

From the native side it is working as expected.while Integrating with Kony.

there are only two steps

1) to place the asset_statements file in android values folder in workspace

2) Add meta-tag in android manifest file.

Kony is not able to find the path of assest_statements while building the app.

Are I am missing any steps from kony side ?

As per the link provided has two steps for the kony integration.

Regards

Hi @Dvisie Pwitchvwd​ ,

Hope you have placed the assetslinks.json in the server and validate the digital signatures.

Please check this step is performed or not.

  • After defining intent filters, we should verify the relationship between the website. We should put a Digital Asset Links JSON file at the following location:

https://domain.name/.well-known/assetlinks.json

In the sample developed by us below is the URL:

https://github.com/JohnVinodh/.well-known/assetlinks.json (This is a sample Statement).

Follow the below documentation link to generate the assetlinks.json file.

You can even generate it using Android Studio. Below is the documentation link on the same.

https://developer.android.com/studio/write/app-link-indexing.html

In case if this is also taken care. Do share us the dist project and raise a support ticket.

Will debug what went wrong and can revert.

Thanks