NativeScript / NativeScript/firebase
[@nativescript/firebase-storage] getDownloadURL closes app in IOS without error
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 62
- フォーク
- 53
- 平均マージ
- 8日 4時間
- マージ済み PR(30日)
- 2
説明
I'm using the getDownloadURL in this form:
firebase().storage().ref(“users/“ + id + "/profilel.png").getDownloadURL().then((url) => {
console.log("Remote URL: " + url);
}, (error) => {
console.log("Error: " + error);
});
- The image exists in the storage in the path that is passed as parameter in the ref.
- It works like a charm in Android, but in IOS closes the app and doesn't give any feedback.
Version of the plugin
"@nativescript/firebase-core": "^3.2.2",
"@nativescript/firebase-firestore": "^3.2.2",
"@nativescript/firebase-storage": "^3.2.2",
NS DOCTOR OUTPUT
✔ Getting environment information
No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 15.2.0 satisfies minimum required version 10.
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 8.6.5 and the latest available version is 8.7.0.
⚠ Update available for component @nativescript/core. Your current version is 8.6.2 and the latest available version is 8.7.2.
⚠ Update available for component @nativescript/ios. Your current version is 8.6.3 and the latest available version is 8.7.1.
⚠ Update available for component @nativescript/android. Your current version is 8.6.2 and the latest available version is 8.7.0.
IOS VERSION
iOS 17.4.1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、報告されている NativeScript と plugin のバージョンを使って、iOS 17.4.1 で提供された getDownloadURL 呼び出しを再現し、動作している Android の挙動と比較します。@nativescript/firebase-storage の iOS パスを追跡してクラッシュの詳細を取得します。呼び出しがダウンロード URL を返すか、アプリを終了せずにエラーハンドラーを呼び出せば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, typescript
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100