Firestore keeps disconnected when restarting internet
up vote
0
down vote
favorite
Everytime I restart my internet firebase firestore seems to keep being disconnected and crashes when calling firestore functions. How can I properly reconnect firestore to my app? Thats's the error I'm getting(internet connection reenabled):
com.google.android.gms.tasks.RuntimeExecutionException: com.google.firebase.firestore.FirebaseFirestoreException: Failed to get document because the client is offline.
android crash google-cloud-firestore
add a comment |
up vote
0
down vote
favorite
Everytime I restart my internet firebase firestore seems to keep being disconnected and crashes when calling firestore functions. How can I properly reconnect firestore to my app? Thats's the error I'm getting(internet connection reenabled):
com.google.android.gms.tasks.RuntimeExecutionException: com.google.firebase.firestore.FirebaseFirestoreException: Failed to get document because the client is offline.
android crash google-cloud-firestore
Please add the code that produces this error.
– Alex Mamo
Nov 10 at 9:47
There is nothing wrong with the code... It works perfectly fine when internet is enabled but when i turn internet off and then on again it starts crashing
– AllesLegit
Nov 10 at 10:21
There is a reason I've asked you to add the code.
– Alex Mamo
Nov 10 at 10:22
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Everytime I restart my internet firebase firestore seems to keep being disconnected and crashes when calling firestore functions. How can I properly reconnect firestore to my app? Thats's the error I'm getting(internet connection reenabled):
com.google.android.gms.tasks.RuntimeExecutionException: com.google.firebase.firestore.FirebaseFirestoreException: Failed to get document because the client is offline.
android crash google-cloud-firestore
Everytime I restart my internet firebase firestore seems to keep being disconnected and crashes when calling firestore functions. How can I properly reconnect firestore to my app? Thats's the error I'm getting(internet connection reenabled):
com.google.android.gms.tasks.RuntimeExecutionException: com.google.firebase.firestore.FirebaseFirestoreException: Failed to get document because the client is offline.
android crash google-cloud-firestore
android crash google-cloud-firestore
edited Nov 9 at 19:03
Kling Klang
32k156286
32k156286
asked Nov 9 at 17:46
AllesLegit
114
114
Please add the code that produces this error.
– Alex Mamo
Nov 10 at 9:47
There is nothing wrong with the code... It works perfectly fine when internet is enabled but when i turn internet off and then on again it starts crashing
– AllesLegit
Nov 10 at 10:21
There is a reason I've asked you to add the code.
– Alex Mamo
Nov 10 at 10:22
add a comment |
Please add the code that produces this error.
– Alex Mamo
Nov 10 at 9:47
There is nothing wrong with the code... It works perfectly fine when internet is enabled but when i turn internet off and then on again it starts crashing
– AllesLegit
Nov 10 at 10:21
There is a reason I've asked you to add the code.
– Alex Mamo
Nov 10 at 10:22
Please add the code that produces this error.
– Alex Mamo
Nov 10 at 9:47
Please add the code that produces this error.
– Alex Mamo
Nov 10 at 9:47
There is nothing wrong with the code... It works perfectly fine when internet is enabled but when i turn internet off and then on again it starts crashing
– AllesLegit
Nov 10 at 10:21
There is nothing wrong with the code... It works perfectly fine when internet is enabled but when i turn internet off and then on again it starts crashing
– AllesLegit
Nov 10 at 10:21
There is a reason I've asked you to add the code.
– Alex Mamo
Nov 10 at 10:22
There is a reason I've asked you to add the code.
– Alex Mamo
Nov 10 at 10:22
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53230883%2ffirestore-keeps-disconnected-when-restarting-internet%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please add the code that produces this error.
– Alex Mamo
Nov 10 at 9:47
There is nothing wrong with the code... It works perfectly fine when internet is enabled but when i turn internet off and then on again it starts crashing
– AllesLegit
Nov 10 at 10:21
There is a reason I've asked you to add the code.
– Alex Mamo
Nov 10 at 10:22