Hey good day i am using simple rule in firebase {
"rules": {
".read":"auth != null",
".write":"auth != null"
}
}
my Login using FirebaseAuth
auth.SignInWithEmailAndPassword(email, password)
.AddOnCompleteListener(this, this);
Get Token Using
var mToken = FirebaseInstanceId.Instance.Token;
var firebase = new FirebaseClient(PageFirebaseSettings.FirebaseDbUrl);
var account = new Accounts
{
uid = PageRandomKeys.AlphaNumericKeys(),
email = email,
homecity = homeCity
};
var item = await firebase
.Child(PageTables.TableAccountProfile)
.WithAuth(mToken)
.PostAsync(account);
but i receive UnhandledException which part did i miss? Thanks a lot
Hey good day i am using simple rule in firebase { "rules": { ".read":"auth != null", ".write":"auth != null" } } my Login using FirebaseAuth auth.SignInWithEmailAndPassword(email, password) .AddOnCompleteListener(this, this);
Get Token Using var mToken = FirebaseInstanceId.Instance.Token;
but i receive UnhandledException which part did i miss? Thanks a lot