@jon_anastasi wrote:
Hi,
I have stumbled across an annoyingly weird issue and was wondering if somebody could possibly help me out.
I will play out the scenarios below.
Scenario 1
I build android APK using ‘ionic cordova build android’. Install the APK and then login using firebase auth. This works with no problems.
Scenario 2
If I build and download the APK via the Ionic Pro platform the Login auth with firebase returns as unsuccessful.
So far I have tried:
Adding the cordova whitelist plugin.
Set<access origin="*" />in the config.xlI have grabbed some logs (see below) from APK from the moment I press the Login Button.
06-29 17:51:54.358 31370-31370/com.tabaguiver I/chatty: uid=10082(com.tabaguiver) expire 10 lines 06-29 17:51:54.385 31370-31370/com.tabaguiver W/com.tabaguiver: Attempt to remove non-JNI local reference, dumping thread 06-29 17:51:54.431 31370-31413/com.tabaguiver W/SystemWebViewClient: URL blocked by whitelist: https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=AIzaSyD2FrrMpRlTcdFYWN4nTqv4uqTnHl4oRq4 06-29 17:51:54.434 31370-31370/com.tabaguiver D/SystemWebChromeClient: file:///data/user/0/com.tabaguiver/app_b46964bd-99d9-450d-b807-1f0ec65bd5b7/build/main.js: Line 2476 : login error 06-29 17:51:54.434 31370-31370/com.tabaguiver I/chromium: [INFO:CONSOLE(2476)] "login error", source: file:///data/user/0/com.tabaguiver/app_b46964bd-99d9-450d-b807-1f0ec65bd5b7/build/main.js (2476) 06-29 17:51:54.434 31370-31370/com.tabaguiver D/SystemWebChromeClient: file:///data/user/0/com.tabaguiver/app_b46964bd-99d9-450d-b807-1f0ec65bd5b7/build/main.js: Line 1099 : login err 06-29 17:51:54.434 31370-31370/com.tabaguiver I/chromium: [INFO:CONSOLE(1099)] "login err", source: file:///data/user/0/com.tabaguiver/app_b46964bd-99d9-450d-b807-1f0ec65bd5b7/build/main.js (1099) 06-29 17:51:54.487 31370-31370/com.tabaguiver W/com.tabaguiver: Attempt to remove non-JNI local reference, dumping threadMuch appreciated,
J
Posts: 1
Participants: 1