Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Unable to Firebase login in Android

$
0
0

Still new at this and I’ve been at this for a week now. I’m following this tutorial verbatim, made no changes to the source code, only copied in my google-services.json and environment.ts, but I’m not able to login on any of my Android devices. (Two emulators and a Samsung Galaxy S6 with Android 7.) When I ionic serve the app it works in my laptop’s browser, but in the app it pops up a login browser, I tap my Google username, then it goes to this. Switching back to the app and the app has no error messages, still on the login screen. Screenshot below for what I see. logcat output below, but I didn’t see anything notable. I have tried a factory reset.

Has anyone else seen the same? Or does anyone have working code? I’ve tried probably eight different tutorials so far, each failing at different points. Getting desperate.

2021-06-20 07:26:25.432 28284-28284/io.ionic.starter D/InputMethodManager: HSI from window - flag : 0 Pid : 28284

2021-06-20 07:26:26.346 28284-28314/io.ionic.starter D/NetworkSecurityConfig: No Network Security Config specified, using platform default

2021-06-20 07:26:26.792 28284-28284/io.ionic.starter D/ViewRootImpl@1ffa52b[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0

2021-06-20 07:26:26.793 28284-28284/io.ionic.starter D/ViewRootImpl@61f8dd2[MainActivity]: mHardwareRenderer.destroy()#4

2021-06-20 07:26:26.796 28284-28314/io.ionic.starter D/Capacitor: Handling local request: http://localhost/assets/icon/favicon.png

2021-06-20 07:26:26.799 28284-28284/io.ionic.starter D/Capacitor: App paused

2021-06-20 07:26:26.808 28284-28284/io.ionic.starter D/ViewRootImpl@61f8dd2[MainActivity]: dispatchDetachedFromWindow

2021-06-20 07:26:26.812 28284-28284/io.ionic.starter D/InputTransport: Input channel destroyed: fd=153

2021-06-20 07:26:26.977 28284-28284/io.ionic.starter D/ViewRootImpl@1ffa52b[MainActivity]: mHardwareRenderer.destroy()#1

2021-06-20 07:26:26.979 28284-28284/io.ionic.starter D/ViewRootImpl@1ffa52b[MainActivity]: Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x5 surface={isValid=false 0} surfaceGenerationChanged=true

2021-06-20 07:26:27.886 28284-28284/io.ionic.starter D/InputTransport: Input channel destroyed: fd=156

2021-06-20 07:26:28.066 28284-28284/io.ionic.starter D/Capacitor: Saving instance state!

2021-06-20 07:26:28.069 28284-28284/io.ionic.starter D/Capacitor/App: Firing change: false

2021-06-20 07:26:28.070 28284-28284/io.ionic.starter V/Capacitor/App: Notifying listeners for event appStateChange

2021-06-20 07:26:28.070 28284-28284/io.ionic.starter D/Capacitor/App: No listeners found for event appStateChange

2021-06-20 07:26:28.071 28284-28284/io.ionic.starter D/Capacitor: App stopped

2021-06-20 07:26:28.100 28284-28284/io.ionic.starter D/ViewRootImpl@1ffa52b[MainActivity]: Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x5 surface={isValid=false 0} surfaceGenerationChanged=false

2021-06-20 07:26:37.095 28284-28284/io.ionic.starter D/ViewRootImpl@1ffa52b[MainActivity]: mHardwareRenderer.destroy()#1

2021-06-20 07:26:37.104 28284-28284/io.ionic.starter D/ViewRootImpl@1ffa52b[MainActivity]: Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x1 surface={isValid=false 0} surfaceGenerationChanged=false

2021-06-20 07:26:37.105 28284-28284/io.ionic.starter D/Capacitor: App restarted

2021-06-20 07:26:37.112 28284-28284/io.ionic.starter D/Capacitor: App started

2021-06-20 07:26:37.114 28284-28284/io.ionic.starter D/Capacitor/App: Firing change: true

2021-06-20 07:26:37.114 28284-28284/io.ionic.starter V/Capacitor/App: Notifying listeners for event appStateChange

2021-06-20 07:26:37.114 28284-28284/io.ionic.starter D/Capacitor/App: No listeners found for event appStateChange

2021-06-20 07:26:37.133 28284-28284/io.ionic.starter D/Capacitor: App resumed

2021-06-20 07:26:37.147 28284-28284/io.ionic.starter D/ViewRootImpl@1ffa52b[MainActivity]: Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x3 surface={isValid=true 514657624064} surfaceGenerationChanged=true

2021-06-20 07:26:37.147 28284-28284/io.ionic.starter D/ViewRootImpl@1ffa52b[MainActivity]: mHardwareRenderer.initialize() mSurface={isValid=true 514657624064} hwInitialized=true

2021-06-20 07:26:37.156 28284-28364/io.ionic.starter D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x2560]-format:1

2021-06-20 07:26:37.163 28284-28284/io.ionic.starter V/Capacitor/Network: Notifying listeners for event networkStatusChange

2021-06-20 07:26:37.164 28284-28284/io.ionic.starter D/Capacitor/Network: No listeners found for event networkStatusChange

2021-06-20 07:26:37.213 28284-28284/io.ionic.starter D/ViewRootImpl@1ffa52b[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1

2021-06-20 07:26:37.214 28284-28284/io.ionic.starter D/ViewRootImpl@1ffa52b[MainActivity]: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 514657624064}

2021-06-20 07:26:37.222 28284-28284/io.ionic.starter V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@7644cb nm : io.ionic.starter ic=null

2021-06-20 07:26:37.222 28284-28284/io.ionic.starter I/InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus

2021-06-20 07:26:37.234 28284-28284/io.ionic.starter D/InputTransport: Input channel constructed: fd=156

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>