You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -150,6 +151,25 @@ Note: unlike other sign-in methods, signing in with these providers involves the
150
151
You must enable the "Request email addresses from users" permission in the "Permissions" tab of your
151
152
Twitter app.
152
153
154
+
### Auth emulator configuration
155
+
156
+
As of version `7.0.0` FirebaseUI is compatible with the Firebase Authentication emulator:
157
+
https://firebase.google.com/docs/emulator-suite
158
+
159
+
Use the `useEmulator` method to point an AuthUI instance at the emulator:
160
+
161
+
```java
162
+
AuthUI authUI =AuthUI.getInstance();
163
+
164
+
// "10.0.2.2" is the special host value for contacting "localhost" from within
165
+
// the Android Emulator
166
+
authUI.useEmulator("10.0.2.2", 9099);
167
+
```
168
+
169
+
By default Android blocks connections to `http://` endpoints such as the Auth emulator.
170
+
To allow your app to communicate with the Auth emulator, use a [network security configuration](https://developer.android.com/training/articles/security-config)
171
+
or set `android:usesCleartextTraffic="true"` in `AndroidManifest.xml`.
172
+
153
173
## Using FirebaseUI for authentication
154
174
155
175
Before invoking the FirebaseUI authentication flow, your app should check
0 commit comments