We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25cdfaa commit 4bc45afCopy full SHA for 4bc45af
auth/src/main/java/com/firebase/ui/auth/util/signincontainer/IdpSignInContainer.java
@@ -116,7 +116,16 @@ public void onCreate(@Nullable Bundle savedInstanceState) {
116
}
117
118
mIdpProvider.setAuthenticationCallback(this);
119
- mIdpProvider.startLogin(getActivity());
+
120
+ if (savedInstanceState == null) {
121
+ mIdpProvider.startLogin(getActivity());
122
+ }
123
124
125
+ @Override
126
+ public void onSaveInstanceState(Bundle outState) {
127
+ outState.putBoolean(ExtraConstants.HAS_EXISTING_INSTANCE, true);
128
+ super.onSaveInstanceState(outState);
129
130
131
@Override
0 commit comments