Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b655b27

Browse files
authored
Change commented method call to the correct method (firebase#214)
See https://firebase.google.com/docs/reference/android/com/google/firebase/FirebaseOptions.Builder#public-firebaseoptions.builder-setdatabaseurl-string-databaseurl which doesn't use setDatabaseURL. Also included the `.` before the commented method calls to directly allow code uncommenting
1 parent c2d8cfd commit b655b27

File tree

1 file changed

+2
-2
lines changed
  • firebaseoptions/app/src/main/java/devrel/firebase/google/com/firebaseoptions/kotlin

1 file changed

+2
-2
lines changed

firebaseoptions/app/src/main/java/devrel/firebase/google/com/firebaseoptions/kotlin/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class MainActivity : AppCompatActivity() {
2424
.setProjectId("my-firebase-project")
2525
.setApplicationId("1:27992087142:android:ce3b6448250083d1")
2626
.setApiKey("AIzaSyADUe90ULnQDuGShD9W23RDP0xmeDc6Mvw")
27-
// setDatabaseURL(...)
28-
// setStorageBucket(...)
27+
// .setDatabaseUrl(...)
28+
// .setStorageBucket(...)
2929
.build()
3030
// [END firebase_options]
3131

0 commit comments

Comments
 (0)