Farzan
Farzan

Reputation: 11

React natives LINKING component works fine in debug but in android release doesn't response

I want to get token by deep link to browser , every thing is ok in debug but in release build nothing happen , I have checked the logcat in android studio; here is my error in image . My Component

My environment :

react native version : 0.59.9
node version : v12.14.1
npm version : 6.13.4
gradle plugin version :3.4.0
gradle version : 5.4.1

I have tried these steps :

  1. Turn off minified
  2. Resolved assets problem
  3. Bundle assets then ./gradlew assemblerelease
  4. Also try with android studio signed build

My Gradle My LogCat Error

Upvotes: 1

Views: 218

Answers (2)

saddam
saddam

Reputation: 196

Modify this file android/app/src/main/AndroidManifest.xml file

<manifest ...>
    <queries>
        <intent>
            <action android:name="android.intent.action.VIEW" />
            <data android:scheme="https"/>
        </intent>
    </queries>
</manifest>

Upvotes: 0

suther
suther

Reputation: 13628

You can't refer to via HTTP Protocol to any URI in your production-app. It has to be HTTPS

Upvotes: 1

Related Questions