Ionic 6 capacitor deeplink not working

I used this video to implement Deeplink for Android using Capacitor. I have added assetlinks.json in this url. I tested it and it was fine. I generated the apk and signed it using my keystore. But when I click the url from Whatsapp to it only opens in Chrome browser. Below are my code snippets used:

type or paste code here

 // app.component.ts

			    App.addListener('appUrlOpen', (event: URLOpenListenerEvent) => { => {
			        console.log('SAM: deepLinks event.url: ',event.url)
			        const path = ''
							if (event.url.includes(path)) {
// AndroidManifest.xml

                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />

            <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="https" android:host="" />