Guest User

Untitled

a guest
May 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. // Configure an alternative FIRApp.
  2. FirebaseApp.configure(name: "secondary", options: secondaryOptions)
  3.  
  4. // Retrieve a previous created named app.
  5. guard let secondary = FirebaseApp.app(name: "APPNAME")
  6. else { assert(false, "Could not retrieve APPNAME app") }
  7.  
  8. // Retrieve a Real Time Database client configured against a specific app.
  9. let secondaryDb = Database.database(app: secondary)
Add Comment
Please, Sign In to add comment