NativeScript / NativeScript/nativescript-cli
Two plugins depend on different versions of the same dependency
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.1k
- Fork
- 204
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?
Yes
Tell us about the problem
When a native-plugin "A" is added that depends on a specific version of native-dependency... "C". And another native plugin "B" depends on a different version of the native-dependency "C" cli neads to call ./gradlew clean before running build.
Which platform(s) does your issue occur on?
iOS/Android/Both
Android
Please provide the following version numbers that your issue occurs with:
- CLI: 3.4.0 + next
- Cross-platform modules: not relevant
- Runtime(s): 3.4.0 + next
- Plugin(s):
- plugin "A"(geolocation) - depends on native-dependency "C" (googlePlayServices version X)
- plugin "B"(firebase) - depends on native-dependency "C" (googlePlayServices version Y)
Please tell us how to recreate the issue in as much detail as possible.
- add geolocation plugin
- tns run android
- add firebase plugin
- tns run build (runtime fail, when you try to use geolocation functionality)
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- 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 vấn đề với các plugin geolocation và firebase bằng chuỗi tns run android và tns run build được nêu, sau đó so sánh với bước ./gradlew clean bắt buộc. Hoàn thành khi các plugin kết hợp build và chạy trên Android mà không cần clean thủ công, đồng thời chức năng geolocation không bị lỗi khi runtime.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, javascript
- Lĩnh vực
- build-system, cli, mobile-dev
- 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