angular / angular/angularfire

AngularFireStorage not working with capacitorHttp on native device

オープン
#3,407 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
22時間 28分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。