AngularFireStorage not working with capacitorHttp on native device
- 主要言語
- 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