无法解析additionalUserInfo.isNewUser();我想知道用户是新用户还是现有用户

时间:2018-01-07 17:40:14

标签: android firebase

无法解决def pick_num(text): while True: try: a = float(input(text)) return a except ValueError: print('This is not a number') def tile_cost(): w = pick_num('What is the width: ') l = pick_num('What is the height: ') c = pick_num('What is the cost: ') print("The cost of tiling the floor will be: £%.2f" % (w * l * c)) ;我想知道用户是新用户还是现有用户。

Firebase版本11.0.4

1 个答案:

答案 0 :(得分:0)

additionalUserinfo.isNewuser()在firebase版本11.6.0中引入,您使用的是版本11.0.4。所以您实际上无法使用它

所以只需将其更新为11.6.0;)