@@ -43,18 +43,18 @@ Gradle, add:
43
43
44
44
``` groovy
45
45
dependencies {
46
- // ...
47
- compile 'com.firebaseui:firebase-ui-auth:0.6.0 '
46
+ // ...
47
+ compile 'com.firebaseui:firebase-ui-auth:0.6.1 '
48
48
}
49
49
```
50
50
51
51
If instead your project uses Maven, add:
52
52
53
53
``` xml
54
54
<dependency >
55
- <groupId >com.firebaseui</groupId >
56
- <artifactId >firebase-ui-auth</artifactId >
57
- <version >0.6.0 </version >
55
+ <groupId >com.firebaseui</groupId >
56
+ <artifactId >firebase-ui-auth</artifactId >
57
+ <version >0.6.1 </version >
58
58
</dependency >
59
59
```
60
60
@@ -72,8 +72,8 @@ the [Facebook developer dashboard](https://developers.facebook.com):
72
72
73
73
``` xml
74
74
<resources >
75
- <!-- ... -->
76
- <string name =" facebook_application_id" translatable =" false" >APPID</string >
75
+ <!-- ... -->
76
+ <string name =" facebook_application_id" translatable =" false" >APPID</string >
77
77
</resources >
78
78
```
79
79
@@ -98,9 +98,9 @@ whether a
98
98
``` java
99
99
FirebaseAuth auth = FirebaseAuth . getInstance();
100
100
if (auth. getCurrentUser() != null ) {
101
- // already signed in
101
+ // already signed in
102
102
} else {
103
- // not signed in
103
+ // not signed in
104
104
}
105
105
```
106
106
@@ -260,17 +260,17 @@ completed once all necessary sign-out operations are completed:
260
260
261
261
``` java
262
262
public void onClick(View v) {
263
- if (v. getId() == R . id. sign_out) {
264
- AuthUI . getInstance()
265
- .signOut(this )
266
- .addOnCompleteListener(new OnCompleteListener<Void > () {
263
+ if (v. getId() == R . id. sign_out) {
264
+ AuthUI . getInstance()
265
+ .signOut(this )
266
+ .addOnCompleteListener(new OnCompleteListener<Void > () {
267
267
public void onComplete (@NonNull Task<Void > task ) {
268
- // user is now signed out
269
- startActivity(new Intent (MyActivity . this , SignInActivity . class));
270
- finish();
268
+ // user is now signed out
269
+ startActivity(new Intent (MyActivity . this , SignInActivity . class));
270
+ finish();
271
271
}
272
- });
273
- }
272
+ });
273
+ }
274
274
}
275
275
```
276
276
@@ -358,8 +358,8 @@ redefine a string to change it, for example:
358
358
359
359
``` java
360
360
< resources>
361
- < ! -- was " Signing up..." -- >
362
- < string name= " progress_dialog_signing_up" > Creating your shiny new account...</string>
361
+ < ! -- was " Signing up..." -- >
362
+ < string name= " progress_dialog_signing_up" > Creating your shiny new account...</string>
363
363
</resources>
364
364
```
365
365
0 commit comments