angular / angular/angularfire

AngularFireStorage not working with capacitorHttp on native device

未关闭
#3,407 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
7.8k
派生
2.2k
平均合并
22 小时 28 分钟
30 天内合并 PR
6

描述

### Version info

**Angular:** 16.1.1

**Firebase:** 9.23.0

**AngularFire:** 7.6.1

**Other (e.g. Ionic/Cordova, Node, browser, operating system):**
Ionic:

Ionic CLI : 7.1.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 7.1.2
@angular-devkit/build-angular : 16.1.4
@angular-devkit/schematics : 16.1.4
@angular/cli : 16.1.4
@ionic/angular-toolkit : 10.0.0

Capacitor:

Capacitor CLI : 5.1.1
@capacitor/android : 5.1.1
@capacitor/core : 5.1.1
@capacitor/ios : 5.1.1

### How to reproduce these conditions

**Failing test unit, Stackblitz demonstrating the problem**

**Steps to set up and reproduce**

When enable capacitorHttp Angularfire storage unable to upload image on native device. Received error below.

**Sample data and security rules**

### Debug output

** Errors in the JavaScript console **
FirebaseError: Firebase Storage: An unknown error occurred, please check the error payload for server response. (storage/unknown)

** Output from `firebase.database().enableLogging(true);` **

** Screenshots **

### Expected behavior

### Actual behavior

贡献指南

打开贡献指南

调研方向

首先,使用列出的 Angular、Firebase、AngularFire、Ionic 和 Capacitor 版本,在启用 capacitorHttp 的 Capacitor 原生设备上复现 AngularFire Storage 上传。调查 Firebase Storage 未知错误,并将其行为与禁用 capacitorHttp 时进行比较;当图片上传能够在原生环境中正常工作,并且该失败有可复现的测试或最小示例时,即表示完成。

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

评估

技术栈
angular, firebase, typescript
领域
mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

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