Android Question Problem With Firebase Facebook authentication - to protect your account, facebook login from embedded browsers is disabled

virpalacios

Active Member
Licensed User
Longtime User
Hi All, I hope everything is going fine, today I checked my Android App using Facebook Authentication, I got a message stating "in order to protect your account, facebook login from embedded browsers is disabled". This app was working ok in less than a month ago, but today a got this message. Please if someome is using firebase facebook authentication please check.

My specs are:

Device: Android 12
BA4 Development: BA 11.80
Facebook Library: 1.02
Firebase Library 2.01

Seems to me it is a change in facebook authentication, these were same specs a month ago, even my ios app is having this same issue.

Please, add your comments about these isssues in your developement.

Best Regards

Virgilio
 

virpalacios

Active Member
Licensed User
Longtime User
Hi Erel, thanks for your advice, After upgrading libraries, I got my demo app working again, however my play store app still with facebook auth issues. After checking the demo app I found it is targeted to android:targetSdkVersion="30", but my google play app is target 31. My Path configuration is C:\Android\platforms\android-30\android.jar. Everything is fine up to target 30, however with target 31, facebook authentication is not working. It could be a issue with the android.jar (android-31)? 🙄. I choose to use target 31 because is a play store requeriment .

Thanks in advance for your comments

Best Regards Virgilio
 
Upvote 0

virpalacios

Active Member
Licensed User
Longtime User
Hi Erel, it stuck trying to authenticate, these are the logs with API 29 (OK) and API (31) with issues, android 12 on device, also I also attach a small screen video showing this issue,
--API 31--
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@93d0251
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
Es initialized false
onAuthStateChanged: com.google.firebase.auth.internal.zzn@93d0251
onAuthStateChanged: com.google.firebase.auth.internal.zzn@93d0251
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
--
--API 29--OK
Es initialized false
onAuthStateChanged: com.google.firebase.auth.internal.zzn@cf101e8
onAuthStateChanged: com.google.firebase.auth.internal.zzn@cf101e8
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
Facebook success: com.facebook.login.LoginResult@8d30e12
signInWithCredential start
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@cf101e8
SignedIn: Virgilio Palacios
Token: 1bI0rFewsFW1c3sk5zrSqshQtSJ3
email:[email protected]
signInWithCredential complete: true
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
SignedIn: Virgilio Palacios
Token: 1bI0rFewsFW1c3sk5zrSqshQtSJ3
email:[email protected]
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
SignedIn: Virgilio Palacios
Token: 1bI0rFewsFW1c3sk5zrSqshQtSJ3
email:[email protected]
** Activity (main) Resume **
Es initialized false
onAuthStateChanged: com.google.firebase.auth.internal.zzn@cf101e8
onAuthStateChanged: com.google.firebase.auth.internal.zzn@cf101e8
 

Attachments

  • authfbvideo.zip
    347.9 KB · Views: 58
Upvote 0

virpalacios

Active Member
Licensed User
Longtime User
Hi Erel, this is the infiltered log, the interesting part is at botton in green color.

Best Regards


setUpCallbacks darkFont : false darkStatusBar : false grayStatusBar : false darkNavigationBar : false
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 71201, networkName: TPA_PA, subset: , gid1: , gid2: , spname:
addIdentifier for TPA_PA - mccmnc:71201, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 71202, networkName: TPA_PA, subset: , gid1: , gid2: , spname:
addIdentifier for TPA_PA - mccmnc:71202, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 71401, networkName: PCW_PA, subset: , gid1: , gid2: , spname:
addIdentifier for PCW_PA - mccmnc:71401, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 714020, networkName: tigo_PA, subset: , gid1: , gid2: , spname:
addIdentifier for tigo_PA - mccmnc:714020, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 71403, networkName: Claro_PA, subset: , gid1: , gid2: , spname:
addIdentifier for Claro_PA - mccmnc:71403, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 71404, networkName: Digicel, subset: , gid1: , gid2: , spname:
addIdentifier for Digicel - mccmnc:71404, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 70401, networkName: Claro_GT, subset: , gid1: , gid2: , spname:
addIdentifier for Claro_GT - mccmnc:70401, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 70403, networkName: movistar_GT, subset: , gid1: , gid2: , spname:
addIdentifier for movistar_GT - mccmnc:70403, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 704030, networkName: movistar_GT, subset: , gid1: , gid2: , spname:
addIdentifier for movistar_GT - mccmnc:704030, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 70402, networkName: TIGO_CGU, subset: , gid1: , gid2: , spname:
addIdentifier for TIGO_CGU - mccmnc:70402, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 70604, networkName: movistar_SV, subset: , gid1: , gid2: , spname:
addIdentifier for movistar_SV - mccmnc:70604, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 706040, networkName: movistar_SV, subset: , gid1: , gid2: , spname:
addIdentifier for movistar_SV - mccmnc:706040, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 70601, networkName: Claro_SV, subset: , gid1: , gid2: , spname:
addIdentifier for Claro_SV - mccmnc:70601, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 70603, networkName: TIGO_ETE, subset: , gid1: , gid2: , spname:
addIdentifier for TIGO_ETE - mccmnc:70603, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 71204, networkName: movistar_CR, subset: , gid1: , gid2: , spname:
addIdentifier for movistar_CR - mccmnc:71204, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 71203, networkName: Claro_CR, subset: , gid1: , gid2: , spname:
addIdentifier for Claro_CR - mccmnc:71203, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 70802, networkName: TIGO_CTE, subset: , gid1: , gid2: , spname:
addIdentifier for TIGO_CTE - mccmnc:70802, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 708020, networkName: TIGO_CTE, subset: , gid1: , gid2: , spname:
addIdentifier for TIGO_CTE - mccmnc:708020, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 708001, networkName: Claro_HN, subset: , gid1: , gid2: , spname:
addIdentifier for Claro_HN - mccmnc:708001, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 710300, networkName: TIGO_NI, subset: , gid1: , gid2: , spname:
addIdentifier for TIGO_NI - mccmnc:710300, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 71021, networkName: Claro_NI_NEN, subset: , gid1: , gid2: , spname:
addIdentifier for Claro_NI_NEN - mccmnc:71021, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 70602, networkName: Digicel_SV, subset: , gid1: , gid2: , spname:
addIdentifier for Digicel_SV - mccmnc:70602, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 37002, networkName: Claro_DR, subset: , gid1: , gid2: , spname:
addIdentifier for Claro_DR - mccmnc:37002, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 71070, networkName: Yota, subset: , gid1: , gid2: , spname:
addIdentifier for Yota - mccmnc:71070, subset: , gid1: , gid2: , spname:
invalid NetworkInfo have CodeType, but no gid1
mccmnc: 330110, networkName: Claro_PR, subset: , gid1: , gid2: , spname:
addIdentifier for Claro_PR - mccmnc:330110, subset: , gid1: , gid2: , spname:
not found Mno for TPA_PA
equalsWithoutMnoName: L(71401,,,,=>Cable_PA), R(71401,,,,=>default)
setMnoName for PCW_PA Cable_PA
createTable merge: PCW_PA
contains: L(71401,,,,=>Cable_PA), R(71401,,,,=>Cable_PA)
skip: (71401,,,,=>Cable_PA)contains (71401,,,,=>Cable_PA)
equalsWithoutMnoName: L(714020,,,,=>Tigo_PA), R(714020,,,,=>default)
setMnoName for tigo_PA Tigo_PA
createTable merge: tigo_PA
contains: L(714020,,,,=>Tigo_PA), R(714020,,,,=>Tigo_PA)
skip: (714020,,,,=>Tigo_PA)contains (714020,,,,=>Tigo_PA)
equalsWithoutMnoName: L(71403,,,,=>Claro_PA@BLOCKGC), R(71403,,,,=>default)
setMnoName for Claro_PA Claro_PA@BLOCKGC
createTable merge: Claro_PA
contains: L(71403,,,,=>Claro_PA@BLOCKGC), R(71403,,,,=>Claro_PA@BLOCKGC)
skip: (71403,,,,=>Claro_PA@BLOCKGC)contains (71403,,,,=>Claro_PA@BLOCKGC)
not found Mno for Digicel
equalsWithoutMnoName: L(70401,,,,=>Claro_GT@BLOCKGC), R(70401,,,,=>default)
setMnoName for Claro_GT Claro_GT@BLOCKGC
createTable merge: Claro_GT
contains: L(70401,,,,=>Claro_GT@BLOCKGC), R(70401,,,,=>Claro_GT@BLOCKGC)
skip: (70401,,,,=>Claro_GT@BLOCKGC)contains (70401,,,,=>Claro_GT@BLOCKGC)
not found Mno for movistar_GT
equalsWithoutMnoName: L(70402,,,,=>Tigo_GT), R(70402,,,,=>default)
setMnoName for TIGO_CGU Tigo_GT
createTable merge: TIGO_CGU
contains: L(70402,,,,=>Tigo_GT), R(70402,,,,=>Tigo_GT)
skip: (70402,,,,=>Tigo_GT)contains (70402,,,,=>Tigo_GT)
not found Mno for movistar_SV
reloadFromDatabase - userHandle : UserHandle{0} / isCloneProfile : false / isProfile : true / isManagedProfile : false
equalsWithoutMnoName: L(70601,,,,=>Claro_SV@BLOCKGC), R(70601,,,,=>default)
setMnoName for Claro_SV Claro_SV@BLOCKGC
createTable merge: Claro_SV
contains: L(70601,,,,=>Claro_SV@BLOCKGC), R(70601,,,,=>Claro_SV@BLOCKGC)
skip: (70601,,,,=>Claro_SV@BLOCKGC)contains (70601,,,,=>Claro_SV@BLOCKGC)
equalsWithoutMnoName: L(70603,,,,=>Tigo_SV), R(70603,,,,=>default)
setMnoName for TIGO_ETE Tigo_SV
createTable merge: TIGO_ETE
contains: L(70603,,,,=>Tigo_SV), R(70603,,,,=>Tigo_SV)
skip: (70603,,,,=>Tigo_SV)contains (70603,,,,=>Tigo_SV)
not found Mno for movistar_CR
MissedCallNotifierImpl: reloadFromDatabase: Boot not yet complete -- call log db may not be available. Deferring loading until boot complete for user 0: TS.init@AAA
equalsWithoutMnoName: L(71203,,,,=>Claro_CR@BLOCKGC), R(71203,,,,=>default)
setMnoName for Claro_CR Claro_CR@BLOCKGC
createTable merge: Claro_CR
contains: L(71203,,,,=>Claro_CR@BLOCKGC), R(71203,,,,=>Claro_CR@BLOCKGC)
skip: (71203,,,,=>Claro_CR@BLOCKGC)contains (71203,,,,=>Claro_CR@BLOCKGC)
equalsWithoutMnoName: L(70802,,,,=>Tigo_HN), R(70802,,,,=>default)
setMnoName for TIGO_CTE Tigo_HN
createTable merge: TIGO_CTE
contains: L(70802,,,,=>Tigo_HN), R(70802,,,,=>Tigo_HN)
skip: (70802,,,,=>Tigo_HN)contains (70802,,,,=>Tigo_HN)
contains: L(708020,,,,=>Tigo_HN), R(708020,,,,=>Tigo_HN)
skip: (708020,,,,=>Tigo_HN)contains (708020,,,,=>Tigo_HN)
equalsWithoutMnoName: L(708001,,,,=>Claro_HN@BLOCKGC), R(708001,,,,=>default)
setMnoName for Claro_HN Claro_HN@BLOCKGC
createTable merge: Claro_HN
contains: L(708001,,,,=>Claro_HN@BLOCKGC), R(708001,,,,=>Claro_HN@BLOCKGC)
skip: (708001,,,,=>Claro_HN@BLOCKGC)contains (708001,,,,=>Claro_HN@BLOCKGC)
equalsWithoutMnoName: L(710300,,,,=>Tigo_NI), R(710300,,,,=>default)
setMnoName for TIGO_NI Tigo_NI
createTable merge: TIGO_NI
contains: L(710300,,,,=>Tigo_NI), R(710300,,,,=>Tigo_NI)
skip: (710300,,,,=>Tigo_NI)contains (710300,,,,=>Tigo_NI)
equalsWithoutMnoName: L(71021,,,,=>Claro_NI@BLOCKGC), R(71021,,,,=>default)
setMnoName for Claro_NI_NEN Claro_NI@BLOCKGC
createTable merge: Claro_NI_NEN
contains: L(71021,,,,=>Claro_NI@BLOCKGC), R(71021,,,,=>Claro_NI@BLOCKGC)
skip: (71021,,,,=>Claro_NI@BLOCKGC)contains (71021,,,,=>Claro_NI@BLOCKGC)
not found Mno for Digicel_SV
equalsWithoutMnoName: L(37002,,,,=>Claro_DR@BLOCKGC), R(37002,,,,=>default)
setMnoName for Claro_DR Claro_DR@BLOCKGC
createTable merge: Claro_DR
contains: L(37002,,,,=>Claro_DR@BLOCKGC), R(37002,,,,=>Claro_DR@BLOCKGC)
skip: (37002,,,,=>Claro_DR@BLOCKGC)contains (37002,,,,=>Claro_DR@BLOCKGC)
not found Mno for Yota
equalsWithoutMnoName: L(330110,,,,=>Claro_PR@BLOCKGC), R(330110,,,,=>default)
setMnoName for Claro_PR Claro_PR@BLOCKGC
createTable merge: Claro_PR
contains: L(330110,,,,=>Claro_PR@BLOCKGC), R(330110,,,,=>Claro_PR@BLOCKGC)
skip: (330110,,,,=>Claro_PR@BLOCKGC)contains (330110,,,,=>Claro_PR@BLOCKGC)
createTable: result
handleMessage: what 8
handleMessage : what = EPDG_AVAILABLE
setEpdgAvailable : phoneId : 0, prevEpdgState = false curEpdgState : false mIsForceEpdgAvailUpdate :false
handleMessage : what = EPDG_AVAILABLE
setEpdgAvailable : phoneId : 1, prevEpdgState = false curEpdgState : false mIsForceEpdgAvailUpdate :false
reloadFromDatabase - userHandle : UserHandle{0} / isCloneProfile : false / isProfile : true / isManagedProfile : false
MissedCallNotifierImpl: reloadFromDatabase: Boot not yet complete -- call log db may not be available. Deferring loading until boot complete for user 0: TS.init@AAA
getCurrentUserContext: contextUser=0 currentUser=0
Class: TelecomSystem.INSTANCE being set
TELECOM_SYSTEM_TIMING took to complete: 702231385
create SamsungAdvancedCallSystem start
onServiceStateChanged voiceState=1 dataState=1
isGsmLATIN(): 0
Start initialization for each FunctionManager
SamsungAccessibilityFunctionManager init completed - time : 0ms
notifyListener: enabled=true, connected=false, dataConnected=false, networkType=UNKNOWN (Unknown), emergencyOnly=false, roaming=false, isDefault=false, fiveGAvailable=false, mmWave=false, showDisabledDataIcon=false, voWifiConnected=false, dataActivity=, simState=null, cardOperator=OTHERS, simCardActivated=1
SamsungAssistedDialingFunctionManager init completed - time : 2ms
onCallStateChanged: state=0
SamsungATCommandFunctionManager init completed - time : 1ms
isGsmLATIN(): 0
SamsungAirplaneModeFunctionManager init completed - time : 0ms
SamsungAnsweringMachineFunctionManager init completed - time : 0ms
SamsungAudioFunctionManager init completed - time : 1ms
SamsungToneFunctionManager init completed - time : 0ms
SamsungAudioProcessingFunctionManager init completed - time : 0ms
onDataConnectionStateChanged: state=0 type=0
isGsmLATIN(): 0
SamsungAutoAnswerFunctionManager init completed - time : 1ms
SamsungAutoRejectFunctionManager init completed - time : 1ms
SamsungAutoRedialFunctionManager init completed - time : 0ms
SamsungBikeModeFunctionManager init completed - time : 1ms
SamsungCallDisconnectFailedFunctionManager init completed - time : 0ms
SamsungCallLogFunctionManager init completed - time : 0ms
SamsungCallTypeFunctionManager init completed - time : 0ms
SamsungCarrierMatchingFunctionManager init completed - time : 0ms
D/TelephonyProvider: update: match = 13
D/TelephonyProvider: subIdString = 3 subId = 3
SamsungCdmaFunctionManager init completed - time : 0ms
SamsungCmcFunctionManager init completed - time : 1ms
D/TelephonyProvider: APN updated !! match = 13
getCurrentInteractionMode: mode=0 contextUser=0
handleEvent [EventType] GET_INT_INFLATE_LAYOUT_ID [Module] NavigationBarInflaterView KEYS_VERTICAL_LAYOUT=false KEYS_DEFAULT=2131624406
--[Band]STABLE_LAYOUT_PACK_GET_INFLATE_LAYOUT_ID
----getValue(INT_INFLATE_HORIZONTAL_LAYOUT)=2131624602
handleEvent [EventType] GET_INT_INFLATE_LAYOUT_ID [Module] NavigationBarInflaterView KEYS_VERTICAL_LAYOUT=true KEYS_DEFAULT=2131624407
--[Band]STABLE_LAYOUT_PACK_GET_INFLATE_LAYOUT_ID
----getValue(INT_INFLATE_VERTICAL_LAYOUT)=2131624604
Registro conectado a: RF8R40KGFVW
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@59f2962
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@c68830c
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@c68830c
onAuthStateChanged: com.google.firebase.auth.internal.zzn@c68830c
** Activity (main) Pause, UserClosed = false **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@f3a776c
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
Copying updated assets files (5)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@2eda321
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Service (starter) Destroy (ignored)**
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@deb7974
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@c386679
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }

** Activity (main) Resume **
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

virpalacios

Active Member
Licensed User
Longtime User
Hi Erel, I got the token from facebook, and add it to the manifest, also version 1.05 is installed, I got this error message from the logs, and the app quit inmediatelly, please tell me if something else I can test,

Best Regards

Virgilio

---Logs Below

*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@72caaf3
SignInWithGoogle called
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
SignInWithGoogle.ResultArrived
ResultArrived Success
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzn@72caaf3
firebaseAuthWithGoogle success: true
result: com.google.firebase.auth.internal.zzj@d0fe7d8
onAuthStateChanged: com.google.firebase.auth.internal.zzn@72caaf3
onAuthStateChanged: com.google.firebase.auth.internal.zzn@72caaf3
Facebook - SignIn
main_btnsigninfacebook_click (java line: 388)
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/activity/result/ActivityResultRegistryOwner;
at com.facebook.login.LoginManager.logIn(LoginManager.kt:740)
at com.facebook.login.LoginManager.logInWithReadPermissions(LoginManager.kt:472)
at anywheresoftware.b4x.objects.FacebookSdkWrapper.SignIn(FacebookSdkWrapper.java:154)
at mc.auth.app.main._btnsigninfacebook_click(main.java:388)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7792)
at android.widget.TextView.performClick(TextView.java:16112)
at android.view.View.performClickInternal(View.java:7769)
at android.view.View.access$3800(View.java:910)
at android.view.View$PerformClick.run(View.java:30218)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8751)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Caused by: java.lang.ClassNotFoundException: androidx.activity.result.ActivityResultRegistryOwner
... 22 more
main_btnsigninfacebook_click (java line: 388)
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/activity/result/ActivityResultRegistryOwner;
at com.facebook.login.LoginManager.logIn(LoginManager.kt:740)
at com.facebook.login.LoginManager.logInWithReadPermissions(LoginManager.kt:472)
at anywheresoftware.b4x.objects.FacebookSdkWrapper.SignIn(FacebookSdkWrapper.java:154)
at mc.auth.app.main._btnsigninfacebook_click(main.java:388)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7792)
at android.widget.TextView.performClick(TextView.java:16112)
at android.view.View.performClickInternal(View.java:7769)
at android.view.View.access$3800(View.java:910)
at android.view.View$PerformClick.run(View.java:30218)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8751)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Caused by: java.lang.ClassNotFoundException: androidx.activity.result.ActivityResultRegistryOwner
... 22 more
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Hi Erel, I got the token from facebook, and add it to the manifest, also version 1.05 is installed, I got this error message from the logs, and the app quit inmediatelly, please tell me if something else I can test,
Can you send me a project with these keys to [email protected] ?
 
Upvote 0

virpalacios

Active Member
Licensed User
Longtime User
Hi, Erel thanks very much for your dedication with this issue, every new B4x product interaction is getting greater every time. I undestand the very high complexity in keeping with the changes in the SDKs.

Again Thanks a lot for your support

Best Regards 😊

Virgilio
 
Upvote 0
Top