GoogleCloudPlatform/iot-smart-home-cloud

Unable to sign in

robocircuit opened this issue · 3 comments

While i am signing into app with google account following errors are being displayed

W/ActivityThread( 5781): handleWindowVisibility: no activity for token android.os.BinderProxy@16ddf5e
I/flutter ( 5781): PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)

and these errors in logcrat
2020-06-04 12:12:38.091 9415-9415/? E/e.devicemanage: Unknown bits set in runtime_flags: 0x8000
2020-06-04 12:12:39.157 9415-9444/com.example.devicemanager E/Perf: Fail to get file list com.example.devicemanager
2020-06-04 12:12:39.158 9415-9444/com.example.devicemanager E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
2020-06-04 12:12:39.159 9415-9444/com.example.devicemanager E/Perf: Fail to get file list com.example.devicemanager
2020-06-04 12:12:39.159 9415-9444/com.example.devicemanager E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array

Hi,
I ran into the same problem. I solved it by adding the SHA1 key for my App in firebase settings. I the documentation it is listed as optional but I can signin properly now.

See: Option 1 > Step 2 > 4.) (optional) at this reference: [Setup]

thnks it was already solved

Closing as obsolete.