1

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

suther
  • 12,600
  • 4
  • 62
  • 99
Farzan
  • 11
  • 2

2 Answers2

1

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

suther
  • 12,600
  • 4
  • 62
  • 99
  • Thank for your help <3 but the connection hasn't been secure yet so I can't send https request – Farzan Feb 22 '20 at 04:45
  • I have done that before but " Votes cast by those with less than 15 reputation are recorded, but do not change the publicly displayed post score. " – Farzan Feb 25 '20 at 04:39
0

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>
saddam
  • 176
  • 2
  • 8