NativeScript / NativeScript/firebase

[auth][android] signOut return undefined

未关闭
#174 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
62
派生
53
平均合并
8 天 4 小时
30 天内合并 PR
2

描述

Hello @NathanWalker and @triniwiz

The signOut on android return undefined instead of boolean! the workaround is fixed by adding async await but this will force us to change the return type to Promise! and if we did we should doing same for IOS as well.

What do you think ?

https://github.com/NativeScript/firebase/blob/889726640381cb4a0cdbe855f658ff3245a0eb3d/packages/firebase-auth/index.android.ts#L1398

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 packages/firebase-auth/index.android.ts 的第 1398 行附近开始,该处 issue 报告了 Android 上 signOut 的返回值。将 Android 的行为与 iOS 实现进行比较,并确认预期的 boolean 与 Promise 契约;完成的标准是各平台 API 始终一致地返回约定的值。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, typescript
领域
authentication, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。