ios - Swift Firebase viewcontroller only for specific user -
in app have validate user generated content, saw panel of firebase not fast thing, searched , found firebase fireadmin, it's not free , want change value of approvation not yes (after have seeing content).
it's idea make viewcontroller hide exept me checking firauth property of firebase?
let userid : string = (auth.auth().currentuser?.uid)! if userid == myid... { show view controller...
thanx in advance
no it's not idea. value can changed or controller can access if code usafe. application heavier controller not used users.
you have build admin interface if don't want pay firebaseadmin.
in function of looking for, can have @ firebase database can read , edit values.
Comments
Post a Comment