我正在构建一个应用程序,使用polymerstarterkit&cordova包装项目。现在,因为我使用firebase作为存储数据的数据库,我最终使用了两个原生的firebasejavascript函数来查找用户数据:获取授权()varref=newFirebase("https://.firebaseio.com");varauthData=ref.getAuth();if(authData){console.log("Authenticateduserwithuid:",authData.uid);}onAuth()varref=newFirebase("https://.fir