File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
app/src/main/java/com/anotherdev/sample/firebase/auth Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 7
7
8
8
import androidx .annotation .NonNull ;
9
9
10
- import com .anotherdev .firebase .auth .FirebaseAuthRest ;
11
- import com .anotherdev .firebase .auth .util .RxUtil ;
12
10
import com .anotherdev .sample .firebase .auth .intent .LoginIntent ;
13
11
import com .google .firebase .FirebaseApp ;
14
12
import com .google .firebase .database .DatabaseReference ;
15
13
import com .google .firebase .database .FirebaseDatabase ;
16
14
import com .google .firebase .database .ValueEventListener ;
17
15
18
16
import butterknife .BindView ;
19
- import io .reactivex .rxjava3 .internal .functions .Functions ;
20
17
import studio .carbonylgroup .textfieldboxes .ExtendedEditText ;
21
18
import studio .carbonylgroup .textfieldboxes .TextFieldBoxes ;
22
19
@@ -63,15 +60,6 @@ protected void onCreate(Bundle savedInstanceState) {
63
60
.addValueEventListener (new FarValueEventListener (privateTextFieldBoxes , privateEditText ));
64
61
globalPublicListener = globalPublicPath
65
62
.addValueEventListener (new FarValueEventListener (globalPublicTextFieldBoxes , globalPublicEditText ));
66
-
67
- onDestroy .add (FirebaseAuthRest .getInstance (app )
68
- .authStateChanges ()
69
- .doOnNext (auth -> {
70
- Log .w (TAG , "authStateChanges() isSignedIn: " + auth .isSignedIn ());
71
- rtdb .goOffline ();
72
- rtdb .goOnline ();
73
- })
74
- .subscribe (Functions .emptyConsumer (), RxUtil .ON_ERROR_LOG_V3 ));
75
63
}
76
64
77
65
@ Override
You can’t perform that action at this time.
0 commit comments