gpt4 book ai didi

android - 使用 Facebook 登录解析 - 可能从 APK v42 或 Graph API v2.4 开始

转载 作者:IT老高 更新时间:2023-10-28 23:00:48 24 4
gpt4 key购买 nike

注意:我已经编辑了这个问题的摘要,因为我认为重点必须从 Android API 转移到 Facebook 本身。

自从我的设备更新到 Facebook v42,或者自从 Facebook 将它的 Graph API 更新到 v2.4 (7th August),我的应用程序就无法登录。我的三星 S6 (API 22) 最初失败,3 天后,当我的 HTC (API 21) 更新 Facebook 应用程序时,它在成功之前也无法登录。

采取的初步步骤:

  • 我已尝试从测试用户的 facebook 权限中删除该应用并重新添加它 - 在这种情况下,它要求允许权限然后失败。
  • 我测试了多个测试用户,但都失败了。
  • 我已禁用预装的 Facebook 应用 - 这允许使用 webview 作为登录方法,但仍然失败。取自 Facebook login fails on some devices 的最佳答案.

更新 1:

ParseException 取自评论:“用户以不同的 Facebook 用户身份登录。”

如果我使用 我的 Facebook 凭据登录,该应用不会出错。由于我不是注册测试用户,它应该在 Parse 数据库中创建一个用户并继续到 MainActivity。相反,LoginActivity 仍然存在,并且我的数据没有添加到数据库中。

更新 2:

我运行 5.0 的 HTC 今天刚刚更新了 Facebook 应用程序,现在出现了同样的错误 Toast(“Facebook 登录失败”)。我禁用并卸载了该应用,但 Toast 仍然出现。

更新 3:

我已更新 Parse SDK,并更改了我的依赖项以反射(reflect)最新的 Facebook SDK (4.5.0)。同样的错误仍然发生。

更新 4:

该应用可以在任何没有原生 Facebook 应用的模拟器上成功登录。


ParseLoginFragment - 实现 toast 的地方

private LogInCallback facebookLoginCallbackV4 = new LogInCallback() {
@Override
public void done(ParseUser user, ParseException e) {
if (isActivityDestroyed()) {
return;
}

if (user == null) {
loadingFinish();
if (e != null) {
showToast(R.string.com_parse_ui_facebook_login_failed_toast);
debugLog(getString(R.string.com_parse_ui_login_warning_facebook_login_failed) +
e.toString());
}
} else if (user.isNew()) {
// rest of code

禁用原生 Facebook 应用的 LogCat:

    08-14 22:50:28.151  30719-30719/com.guile.occ I/InjectionManager﹕ Inside getClassLibPath + mLibMap{0=, 1=}
08-14 22:50:28.151 30719-30719/com.guile.occ I/InjectionManager﹕ Inside getClassLibPath caller
08-14 22:50:28.191 30719-30739/com.guile.occ I/System.out﹕ (HTTPLog)-Static: isSBSettingEnabled false
08-14 22:50:28.191 30719-30739/com.guile.occ I/System.out﹕ (HTTPLog)-Static: isShipBuild true
08-14 22:50:28.191 30719-30739/com.guile.occ I/System.out﹕ (HTTPLog)-Thread-32296-266222247: SmartBonding Enabling is false, SHIP_BUILD is true, log to file is false, DBG is false
08-14 22:50:28.191 30719-30739/com.guile.occ I/System.out﹕ (HTTPLog)-Thread-32296-266222247: SMARTBONDING_FEATURE_ENABLED is true
08-14 22:50:28.191 30719-30739/com.guile.occ I/System.out﹕ (HTTPLog)-Static: isSBSettingEnabled false
08-14 22:50:28.211 30719-30719/com.guile.occ D/InjectionManager﹕ InjectionManager
08-14 22:50:28.211 30719-30719/com.guile.occ D/InjectionManager﹕ fillFeatureStoreMap com.guile.occ
08-14 22:50:28.211 30719-30719/com.guile.occ I/InjectionManager﹕ Constructor com.guile.occ, Feature store :{}
08-14 22:50:28.211 30719-30719/com.guile.occ I/InjectionManager﹕ featureStore :{}
08-14 22:50:28.211 30719-30719/com.guile.occ D/SecWifiDisplayUtil﹕ Metadata value : SecSettings2
08-14 22:50:28.211 30719-30719/com.guile.occ I/Timeline﹕ Timeline: Activity_launch_request id:com.guile.occ time:88929116
08-14 22:50:28.221 30719-30719/com.guile.occ D/Activity﹕ performCreate Call Injection manager
08-14 22:50:28.221 30719-30719/com.guile.occ I/InjectionManager﹕ dispatchOnViewCreated > Target : com.guile.occ.LoginActivity isFragment :false
08-14 22:50:28.231 30719-30719/com.guile.occ D/Activity﹕ performCreate Call Injection manager
08-14 22:50:28.241 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor mIsFloating : false
08-14 22:50:28.241 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor flags : -2139029248
08-14 22:50:28.271 30719-30719/com.guile.occ I/InjectionManager﹕ dispatchOnViewCreated > Target : com.parse.ui.ParseLoginActivity isFragment :false
08-14 22:50:28.271 30719-30719/com.guile.occ D/SecWifiDisplayUtil﹕ Metadata value : SecSettings2
08-14 22:50:28.281 30719-30754/com.guile.occ D/OpenGLRenderer﹕ Use EGL_SWAP_BEHAVIOR_PRESERVED: true
08-14 22:50:28.281 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled mFloatingMenuBtn : null
08-14 22:50:28.281 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled return false
08-14 22:50:28.291 30719-30719/com.guile.occ D/SRIB_DCS﹕ log_dcs ThreadedRenderer::initialize entered!
08-14 22:50:28.311 30719-30754/com.guile.occ D/libEGL﹕ loaded /vendor/lib64/egl/libGLES_mali.so
08-14 22:50:28.331 30719-30754/com.guile.occ I/OpenGLRenderer﹕ Initialized EGL, version 1.4
08-14 22:50:28.331 30719-30754/com.guile.occ I/OpenGLRenderer﹕ HWUI protection enabled for context , &this =0x7f7d8d6b20 ,&mEglDisplay = 1 , &mEglConfig = 2107568816
08-14 22:50:28.331 30719-30754/com.guile.occ D/OpenGLRenderer﹕ Get maximum texture size. GL_MAX_TEXTURE_SIZE is 8192
08-14 22:50:28.331 30719-30754/com.guile.occ D/OpenGLRenderer﹕ Enabling debug mode 0
08-14 22:50:28.331 30719-30754/com.guile.occ D/mali_winsys﹕ new_window_surface returns 0x3000, [1440x2560]-format:1
08-14 22:50:28.451 30719-30719/com.guile.occ I/Timeline﹕ Timeline: Activity_idle id: android.os.BinderProxy@38cba1f0 time:88929356
08-14 22:50:28.451 30719-30719/com.guile.occ I/Timeline﹕ Timeline: Activity_idle id: android.os.BinderProxy@2e8ef184 time:88929358
08-14 22:50:29.061 30719-30739/com.guile.occ I/System.out﹕ KnoxVpnUidStorageknoxVpnSupported API value returned is false
08-14 22:50:37.661 30719-30719/com.guile.occ D/ViewRootImpl﹕ ViewPostImeInputStage ACTION_DOWN
08-14 22:50:37.731 30719-30855/com.guile.occ E/ActivityThread﹕ Failed to find provider info for com.facebook.katana.provider.AttributionIdProvider
08-14 22:50:37.731 30719-30719/com.guile.occ I/Timeline﹕ Timeline: Activity_launch_request id:com.guile.occ time:88938639
08-14 22:50:37.771 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor mIsFloating : false
08-14 22:50:37.771 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor flags : 8454400
08-14 22:50:37.771 30719-30719/com.guile.occ D/Activity﹕ performCreate Call Injection manager
08-14 22:50:37.771 30719-30719/com.guile.occ I/InjectionManager﹕ dispatchOnViewCreated > Target : com.facebook.FacebookActivity isFragment :false
08-14 22:50:37.771 30719-30719/com.guile.occ E/ActivityThread﹕ Failed to find provider info for com.facebook.katana.provider.PlatformProvider
08-14 22:50:37.771 30719-30719/com.guile.occ E/ActivityThread﹕ Failed to find provider info for com.facebook.wakizashi.provider.PlatformProvider
08-14 22:50:37.801 30719-30719/com.guile.occ I/WebViewFactory﹕ Loading com.google.android.webview version 44.0.2403.90 (code 240309050)
08-14 22:50:37.801 30719-30719/com.guile.occ I/InjectionManager﹕ Inside getClassLibPath caller
08-14 22:50:37.801 30719-30719/com.guile.occ I/LibraryLoader﹕ Time to load native libraries: 0 ms (timestamps 8709-8709)
08-14 22:50:37.801 30719-30719/com.guile.occ I/LibraryLoader﹕ Expected native library version number "",actual native library version number ""
08-14 22:50:37.811 30719-30719/com.guile.occ V/WebViewChromiumFactoryProvider﹕ Binding Chromium to main looper Looper (main, tid 1) {23858b22}
08-14 22:50:37.811 30719-30719/com.guile.occ I/LibraryLoader﹕ Expected native library version number "",actual native library version number ""
08-14 22:50:37.811 30719-30719/com.guile.occ I/chromium﹕ [INFO:library_loader_hooks.cc(120)] Chromium logging enabled: level = 0, default verbosity = 0
08-14 22:50:37.821 30719-30719/com.guile.occ I/BrowserStartupController﹕ Initializing chromium process, singleProcess=true
08-14 22:50:37.821 30719-30719/com.guile.occ W/art﹕ Attempt to remove local handle scope entry from IRT, ignoring
08-14 22:50:37.821 30719-30719/com.guile.occ E/SysUtils﹕ ApplicationContext is null in ApplicationStatus
08-14 22:50:37.831 30719-30719/com.guile.occ W/chromium﹕ [WARNING:resource_bundle.cc(285)] locale_file_path.empty()
08-14 22:50:37.831 30719-30719/com.guile.occ E/libEGL﹕ validate_display:255 error 3008 (EGL_BAD_DISPLAY)
08-14 22:50:37.831 30719-30719/com.guile.occ E/libEGL﹕ validate_display:255 error 3008 (EGL_BAD_DISPLAY)
08-14 22:50:37.841 30719-30871/com.guile.occ W/AudioManagerAndroid﹕ Requires BLUETOOTH permission
08-14 22:50:37.861 30719-30719/com.guile.occ W/art﹕ Attempt to remove local handle scope entry from IRT, ignoring
08-14 22:50:37.871 30719-30719/com.guile.occ W/AwContents﹕ onDetachedFromWindow called when already detached. Ignoring
08-14 22:50:37.881 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor mIsFloating : false
08-14 22:50:37.881 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor flags : 8454400
08-14 22:50:37.881 30719-30719/com.guile.occ D/SecWifiDisplayUtil﹕ Metadata value : SecSettings2
08-14 22:50:37.891 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled mFloatingMenuBtn : null
08-14 22:50:37.891 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled return false
08-14 22:50:37.891 30719-30719/com.guile.occ D/SecWifiDisplayUtil﹕ Metadata value : SecSettings2
08-14 22:50:37.911 30719-30719/com.guile.occ D/SRIB_DCS﹕ log_dcs ThreadedRenderer::initialize entered!
08-14 22:50:37.911 30719-30754/com.guile.occ D/mali_winsys﹕ new_window_surface returns 0x3000, [1440x2560]-format:1
08-14 22:50:37.921 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled mFloatingMenuBtn : null
08-14 22:50:37.921 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled return false
08-14 22:50:37.921 30719-30719/com.guile.occ D/SRIB_DCS﹕ log_dcs ThreadedRenderer::initialize entered!
08-14 22:50:37.921 30719-30754/com.guile.occ D/mali_winsys﹕ new_window_surface returns 0x3000, [1440x2560]-format:1
08-14 22:50:37.931 30719-30869/com.guile.occ W/chromium﹕ [WARNING:data_reduction_proxy_config.cc(423)] SPDY proxy OFF at startup
08-14 22:50:38.001 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor mIsFloating : true
08-14 22:50:38.001 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor flags : 8388610
08-14 22:50:38.041 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled mFloatingMenuBtn : null
08-14 22:50:38.041 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled return false
08-14 22:50:38.041 30719-30719/com.guile.occ D/SRIB_DCS﹕ log_dcs ThreadedRenderer::initialize entered!
08-14 22:50:38.041 30719-30754/com.guile.occ D/mali_winsys﹕ new_window_surface returns 0x3000, [667x461]-format:1
08-14 22:50:38.061 30719-30719/com.guile.occ I/Timeline﹕ Timeline: Activity_idle id: android.os.BinderProxy@188ff958 time:88938965
08-14 22:50:38.061 30719-30719/com.guile.occ V/ActivityThread﹕ updateVisibility : ActivityRecord{30111b2c token=android.os.BinderProxy@38cba1f0 {com.guile.occ/com.parse.ui.ParseLoginActivity}} show : true
08-14 22:50:40.631 30719-30719/com.guile.occ W/BindingManager﹕ Cannot call determinedVisibility() - never saw a connection for the pid: 30719
08-14 22:50:41.221 30719-30719/com.guile.occ E/ViewRootImpl﹕ sendUserActionEvent() mView == null
08-14 22:50:44.081 30719-30719/com.guile.occ D/ViewRootImpl﹕ ViewPostImeInputStage ACTION_DOWN
08-14 22:50:44.211 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled mFloatingMenuBtn : null
08-14 22:50:44.211 30719-30719/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled return false
08-14 22:50:44.231 30719-30719/com.guile.occ D/SRIB_DCS﹕ log_dcs ThreadedRenderer::initialize entered!
08-14 22:50:44.241 30719-30754/com.guile.occ D/mali_winsys﹕ new_window_surface returns 0x3000, [667x461]-format:1
08-14 22:50:45.901 30719-30719/com.guile.occ W/BindingManager﹕ Cannot call determinedVisibility() - never saw a connection for the pid: 30719
08-14 22:50:45.981 30719-30719/com.guile.occ E/ViewRootImpl﹕ sendUserActionEvent() mView == null
08-14 22:50:45.981 30719-30719/com.guile.occ E/ViewRootImpl﹕ sendUserActionEvent() mView == null
08-14 22:50:46.001 30719-30719/com.guile.occ E/ViewRootImpl﹕ sendUserActionEvent() mView == null
08-14 22:50:46.011 30719-30756/com.guile.occ I/System.out﹕ (HTTPLog)-Static: isSBSettingEnabled false
08-14 22:50:46.011 30719-30719/com.guile.occ I/Timeline﹕ Timeline: Activity_idle id: android.os.BinderProxy@38cba1f0 time:88946918
08-14 22:50:52.751 30719-30853/com.guile.occ I/System.out﹕ (HTTPLog)-Static: isSBSettingEnabled false

启用原生 Facebook 应用的 LogCat:

08-14 22:59:45.761  13249-13249/com.guile.occ E/Zygote﹕ MountEmulatedStorage()
08-14 22:59:45.761 13249-13249/com.guile.occ E/Zygote﹕ v2
08-14 22:59:45.761 13249-13249/com.guile.occ I/libpersona﹕ KNOX_SDCARD checking this for 10033
08-14 22:59:45.761 13249-13249/com.guile.occ I/libpersona﹕ KNOX_SDCARD not a persona
08-14 22:59:45.761 13249-13249/com.guile.occ I/SELinux﹕ Function: selinux_compare_spd_ram , priority [2] , priority version is VE=SEPF_SM-G925F_5.1.1_0030
08-14 22:59:45.761 13249-13249/com.guile.occ E/SELinux﹕ [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
08-14 22:59:45.761 13249-13249/com.guile.occ I/art﹕ Late-enabling -Xcheck:jni
08-14 22:59:45.771 13249-13249/com.guile.occ D/TimaKeyStoreProvider﹕ TimaSignature is unavailable
08-14 22:59:45.781 13249-13249/com.guile.occ D/ActivityThread﹕ Added TimaKeyStore provider
08-14 22:59:45.801 13249-13249/com.guile.occ I/InjectionManager﹕ Inside getClassLibPath + mLibMap{0=, 1=}
08-14 22:59:45.811 13249-13249/com.guile.occ I/InjectionManager﹕ Inside getClassLibPath caller
08-14 22:59:45.871 13249-13285/com.guile.occ I/System.out﹕ (HTTPLog)-Static: isSBSettingEnabled false
08-14 22:59:45.871 13249-13285/com.guile.occ I/System.out﹕ (HTTPLog)-Static: isShipBuild true
08-14 22:59:45.871 13249-13285/com.guile.occ I/System.out﹕ (HTTPLog)-Thread-33185-403364762: SmartBonding Enabling is false, SHIP_BUILD is true, log to file is false, DBG is false
08-14 22:59:45.871 13249-13285/com.guile.occ I/System.out﹕ (HTTPLog)-Thread-33185-403364762: SMARTBONDING_FEATURE_ENABLED is true
08-14 22:59:45.871 13249-13285/com.guile.occ I/System.out﹕ (HTTPLog)-Static: isSBSettingEnabled false
08-14 22:59:45.881 13249-13285/com.guile.occ I/System.out﹕ KnoxVpnUidStorageknoxVpnSupported API value returned is false
08-14 22:59:45.891 13249-13249/com.guile.occ D/InjectionManager﹕ InjectionManager
08-14 22:59:45.891 13249-13249/com.guile.occ D/InjectionManager﹕ fillFeatureStoreMap com.guile.occ
08-14 22:59:45.901 13249-13249/com.guile.occ I/InjectionManager﹕ Constructor com.guile.occ, Feature store :{}
08-14 22:59:45.901 13249-13249/com.guile.occ I/InjectionManager﹕ featureStore :{}
08-14 22:59:45.911 13249-13249/com.guile.occ D/SecWifiDisplayUtil﹕ Metadata value : SecSettings2
08-14 22:59:45.911 13249-13249/com.guile.occ I/Timeline﹕ Timeline: Activity_launch_request id:com.guile.occ time:89486819
08-14 22:59:45.921 13249-13249/com.guile.occ D/Activity﹕ performCreate Call Injection manager
08-14 22:59:45.921 13249-13249/com.guile.occ I/InjectionManager﹕ dispatchOnViewCreated > Target : com.guile.occ.LoginActivity isFragment :false
08-14 22:59:45.941 13249-13249/com.guile.occ D/Activity﹕ performCreate Call Injection manager
08-14 22:59:45.961 13249-13249/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor mIsFloating : false
08-14 22:59:45.961 13249-13249/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor flags : -2139029248
08-14 22:59:45.991 13249-13249/com.guile.occ I/InjectionManager﹕ dispatchOnViewCreated > Target : com.parse.ui.ParseLoginActivity isFragment :false
08-14 22:59:46.001 13249-13249/com.guile.occ D/SecWifiDisplayUtil﹕ Metadata value : SecSettings2
08-14 22:59:46.001 13249-13319/com.guile.occ D/OpenGLRenderer﹕ Use EGL_SWAP_BEHAVIOR_PRESERVED: true
08-14 22:59:46.011 13249-13249/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled mFloatingMenuBtn : null
08-14 22:59:46.011 13249-13249/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled return false
08-14 22:59:46.031 13249-13249/com.guile.occ D/SRIB_DCS﹕ log_dcs ThreadedRenderer::initialize entered!
08-14 22:59:46.061 13249-13319/com.guile.occ D/libEGL﹕ loaded /vendor/lib64/egl/libGLES_mali.so
08-14 22:59:46.071 13249-13319/com.guile.occ I/OpenGLRenderer﹕ Initialized EGL, version 1.4
08-14 22:59:46.081 13249-13319/com.guile.occ I/OpenGLRenderer﹕ HWUI protection enabled for context , &this =0x7f7d8d6d60 ,&mEglDisplay = 1 , &mEglConfig = 2107732656
08-14 22:59:46.081 13249-13319/com.guile.occ D/OpenGLRenderer﹕ Get maximum texture size. GL_MAX_TEXTURE_SIZE is 8192
08-14 22:59:46.081 13249-13319/com.guile.occ D/OpenGLRenderer﹕ Enabling debug mode 0
08-14 22:59:46.081 13249-13319/com.guile.occ D/mali_winsys﹕ new_window_surface returns 0x3000, [1440x2560]-format:1
08-14 22:59:46.191 13249-13249/com.guile.occ I/Timeline﹕ Timeline: Activity_idle id: android.os.BinderProxy@ce0ed1c time:89487096
08-14 22:59:46.191 13249-13249/com.guile.occ I/Timeline﹕ Timeline: Activity_idle id: android.os.BinderProxy@38cba1f0 time:89487096
08-14 22:59:58.291 13249-13249/com.guile.occ D/ViewRootImpl﹕ ViewPostImeInputStage ACTION_DOWN
08-14 22:59:58.401 13249-13249/com.guile.occ I/Timeline﹕ Timeline: Activity_launch_request id:com.guile.occ time:89499300
08-14 22:59:58.461 13249-13249/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor mIsFloating : false
08-14 22:59:58.461 13249-13249/com.guile.occ D/PhoneWindow﹕ *FMB* installDecor flags : 8454400
08-14 22:59:58.461 13249-13249/com.guile.occ D/Activity﹕ performCreate Call Injection manager
08-14 22:59:58.471 13249-13249/com.guile.occ I/InjectionManager﹕ dispatchOnViewCreated > Target : com.facebook.FacebookActivity isFragment :false
08-14 22:59:58.481 13249-13249/com.guile.occ D/SecWifiDisplayUtil﹕ Metadata value : SecSettings2
08-14 22:59:58.491 13249-13249/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled mFloatingMenuBtn : null
08-14 22:59:58.491 13249-13249/com.guile.occ D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled return false
08-14 22:59:58.501 13249-13249/com.guile.occ D/SRIB_DCS﹕ log_dcs ThreadedRenderer::initialize entered!
08-14 22:59:58.501 13249-13319/com.guile.occ D/mali_winsys﹕ new_window_surface returns 0x3000, [1440x2560]-format:1
08-14 22:59:58.541 13249-13249/com.guile.occ I/Timeline﹕ Timeline: Activity_idle id: android.os.BinderProxy@5562ab1 time:89499446
08-14 22:59:58.541 13249-13249/com.guile.occ V/ActivityThread﹕ updateVisibility : ActivityRecord{2d7dbc2b token=android.os.BinderProxy@ce0ed1c {com.guile.occ/com.parse.ui.ParseLoginActivity}} show : true
08-14 22:59:58.691 13249-13457/com.guile.occ I/System.out﹕ (HTTPLog)-Static: isSBSettingEnabled false
08-14 22:59:58.911 13249-13249/com.guile.occ I/Timeline﹕ Timeline: Activity_idle id: android.os.BinderProxy@ce0ed1c time:89499810

最佳答案

每个 Android 迭代都有自己的 WebView 实现,无论好坏。 5.0+ Android 使用基于应用程序的实现,它会定期更新等等,但也不同于以前的实现。

长话短说,我相信这是我的问题。 WebView 可以为您的登录维护 session 或将凭据保存在 cookie 存储中以供重复使用/确认。我不能在这里提供直接的解决方案,因为我对新 WebView 的内部不太熟悉,但请尝试在每次新登录之前强制清除 session 和/或 cookie 存储,看看会发生什么。

关于android - 使用 Facebook 登录解析 - 可能从 APK v42 或 Graph API v2.4 开始,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31973652/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com