remote Client
Creates a firebase client which operates via the Firebase REST API.
The client created with this method is suitable only for databases whose read/write side is public, to access the databases requiring authentication, use remoteClient.
Return
the new instance of RestClient
Parameters
database
the Firebase database to connect to
public static FirebaseClient remoteClient(FirebaseDatabase database, FirebaseCredentials credentials)
Creates a RemoteDatabaseClient which uses given credentials to authorize its requests to the Firebase database.
Return
the new instance of RestClient
Parameters
database
the Firebase database to connect to
credentials
the Firebase Database credentials to use