我正在使用“授权码”授予类型在本机上与Facebook登录。使用模块React Native App Auth。当我单击“使用facebook登录”时,它将在我的应用程序中打开浏览器,并在我成功登录后向我显示facebook登录模块,我已放置了重定向到应用程序的代码。但是我的应用程序关闭了自动重定向功能,如果我在普通的chrome浏览器中尝试使用,则该应用程序将打开具有相同链接的fin。正常的浏览器和在应用程序中打开浏览器会有什么区别吗?
Android Logcat:
4-10 16:10:12.758 11363-11363/com.<app-name> D/ViewRootImpl@96cdd71[AuthorizationManagementActivity]: MSG_RESIZED_REPORT: ci=Rect(0, 96 - 0, 0) vi=Rect(0, 96 - 0, 0) or=1
04-10 16:10:12.942 11363-11363/com.<app-name> D/InputTransport: Input channel destroyed: fd=73
04-10 16:10:12.952 11363-11363/com.<app-name> D/ViewRootImpl@3b953f4[MainActivity]: mHardwareRenderer.destroy()#1
04-10 16:10:12.964 11363-11363/com.<app-name> D/ViewRootImpl@3b953f4[MainActivity]: Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x5 surface={isValid=false 0} surfaceGenerationChanged=true
04-10 16:10:12.980 11363-11363/com.<app-name> D/ViewRootImpl@96cdd71[AuthorizationManagementActivity]: mHardwareRenderer.destroy()#1
04-10 16:10:12.989 11363-11363/com.<app-name> D/ViewRootImpl@96cdd71[AuthorizationManagementActivity]: Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x5 surface={isValid=false 0} surfaceGenerationChanged=true
04-10 16:10:14.765 11363-11363/com.<app-name> D/ViewRootImpl@96cdd71[AuthorizationManagementActivity]: mHardwareRenderer.destroy()#4
dispatchDetachedFromWindow
04-10 16:10:14.767 11363-11363/com.<app-name> D/InputTransport: Input channel destroyed: fd=56
04-10 16:10:14.778 11363-11363/com.<app-name> D/ReactNative: ReactInstanceManager.detachViewFromInstance()
04-10 16:10:14.785 11363-11363/com.<app-name> D/ViewRootImpl@3b953f4[MainActivity]: mHardwareRenderer.destroy()#4
dispatchDetachedFromWindow
04-10 16:10:14.790 11363-11363/com.<app-name> D/InputTransport: Input channel destroyed: fd=52
Android清单:
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Accepts URIs that begin with "example://gizmos” -->
<data android:scheme="app"
android:host="<app-name>"
android:pathPrefix="/oauth"
/>
</intent-filter>
我是否缺少清单文件中的任何设置?