This repository was archived by the owner on Mar 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,13 @@ bool FirebaseAuthScene::init() {
96
96
logMessage (" Created the Auth %x class for the Firebase app." ,
97
97
static_cast <int >(reinterpret_cast <intptr_t >(auth)));
98
98
99
- // It's possible for CurrentUser () to be non-null if the previous run
99
+ // It's possible for current_user () to be non-null if the previous run
100
100
// left us in a signed-in state.
101
- if (auth->CurrentUser () == nullptr ) {
101
+ if (auth->current_user () == nullptr ) {
102
102
logMessage (" No user signed in at creation time." );
103
103
} else {
104
104
logMessage (" Current user %s already signed in, so signing them out." ,
105
- auth->CurrentUser ()->DisplayName ().c_str ());
105
+ auth->current_user ()->display_name ().c_str ());
106
106
}
107
107
108
108
email_text_field_ = createTextField (kEmailPlaceholderText );
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ android {
6
6
7
7
defaultConfig {
8
8
applicationId " org.cocos2dx.hellocpp"
9
- minSdkVersion 10
9
+ minSdkVersion 14
10
10
targetSdkVersion 22
11
11
versionCode 1
12
12
versionName " 1.0"
@@ -46,8 +46,8 @@ android {
46
46
dependencies {
47
47
compile fileTree(dir : ' libs' , include : [' *.jar' ])
48
48
compile project(' :libcocos2dx' )
49
- compile ' com.google.firebase:firebase-auth:10.0.1 '
50
- compile ' com.google.android.gms:play-services-base:10.0.1 '
49
+ compile ' com.google.firebase:firebase-auth:10.2.0 '
50
+ compile ' com.google.android.gms:play-services-base:10.2.0 '
51
51
}
52
52
53
53
apply plugin : ' com.google.gms.google-services'
You can’t perform that action at this time.
0 commit comments