I need to open my android app when a QR code is scanned.
In the QR Code there is a link with a js script that open up the app.
In my Android Manifest I have add the intent
however, when I visit the page the browser does not load the app. What am I missing?
Android:
<!-- Test for URL scheme -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="bbb" android:host="index"/>
</intent-filter>
<!-- End Test for URL scheme -->
Js (testLink.php)
<script>
window.location = 'bbb://index';
</script>