NativeScript / NativeScript/firebase

[@nativescript/firebase-storage] getDownloadURL closes app in IOS without error

Đang mở
#260 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
TypeScript
Star
62
Fork
53
Merge trung bình
8 ngày 4 giờ
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lệnh gọi getDownloadURL được cung cấp trên iOS 17.4.1, sử dụng các phiên bản NativeScript và plugin đã nêu, rồi so sánh với hành vi đang hoạt động trên Android. Truy vết đường dẫn iOS cho @nativescript/firebase-storage và ghi lại chi tiết crash; được xem là hoàn tất khi lệnh gọi trả về URL tải xuống hoặc gọi error handler mà không đóng ứng dụng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
ios, typescript
Lĩnh vực
mobile
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.