Dear members of the group,

I am not sure where to get help for this.
I am trying to build a react native app using expo and after building for 
android I am not seeing the universal link being auto verified.

Running get-app-links via adb shell I see that the state is 1024. I have no 
idea why though. My domain does have the package and does have the correct 
signature returning. The problem is not in the content being validated, but 
that the request is not being even made when the app is installed on a 
device (emulator of physical).

This is the manifest
<manifest xmlns:android="http://schemas.android.com/apk/res/android"; 
xmlns:tools="http://schemas.android.com/tools";>
  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"
/>
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
  <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION"/>
  <uses-permission android:name="android.permission.CAMERA"/>
  <uses-permission android:name="android.permission.INTERNET"/>
  <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
  <uses-permission android:name="android.permission.RECORD_AUDIO"/>
  <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
  <uses-permission android:name="android.permission.VIBRATE"/>
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
/>
  <queries>
    <intent>
      <action android:name="android.intent.action.VIEW"/>
      <category android:name="android.intent.category.BROWSABLE"/>
      <data android:scheme="https"/>
    </intent>
  </queries>
  <application android:name=".MainApplication" android:label=
"@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon=
"@mipmap/ic_launcher_round" android:allowBackup="true" android:theme=
"@style/AppTheme" android:requestLegacyExternalStorage="true">
    <meta-data android:name=
"com.google.firebase.messaging.default_notification_icon" android:resource=
"@drawable/notification_icon"/>
    <meta-data android:name=
"expo.modules.notifications.default_notification_icon" android:resource=
"@drawable/notification_icon"/>
    <meta-data android:name="expo.modules.updates.ENABLED" android:value=
"false"/>
    <meta-data android:name=
"expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
    <meta-data android:name=
"expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
    <activity android:name=".MainActivity" android:configChanges=
"keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" 
android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" 
android:theme="@style/Theme.App.SplashScreen" android:exported="true" 
android:screenOrientation="portrait">
      <intent-filter>
        <action android:name="android.intent.action.MAIN"/>
        <category android:name="android.intent.category.LAUNCHER"/>
      </intent-filter>
      <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="noorschools"/>
        <data android:scheme="com.noorschools.test"/>
        <data android:scheme="exp+noorschools"/>
      </intent-filter>
      <intent-filter android:autoVerify="true" data-generated="true">
        <action android:name="android.intent.action.VIEW"/>
        <data android:scheme="https" android:host="{customdomain}"/>
        <category android:name="android.intent.category.BROWSABLE"/>
        <category android:name="android.intent.category.DEFAULT"/>
      </intent-filter>
    </activity>
    <activity android:name=
"com.facebook.react.devsupport.DevSettingsActivity" android:exported="false"
/>
  </application>
</manifest>

I have logs on my server that returns the assetlinks file which is how I 
know that the call from a device is not being made, as opposed to having 
invalid assetlinks.

Any help is appreciated, or if anyone has seen anything like it. I have 
followed the documentation on setting up the settings via expo Android App 
Links - Expo Documentation 
<https://docs.expo.dev/linking/android-app-links/>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/android-building/ec297e1c-459e-4ecf-a04b-93db0e517442n%40googlegroups.com.

Reply via email to