NativeScript / NativeScript/plugins
[@nativescript/social-share]unable to share image on Android in the demo
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 206
- Fork
- 123
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
The issue is that the FilterProvider path in Tool/Assets is android:authorities="${applicationId}.fileprovider" code
it does not match the one defined in the package android:authorities="${applicationId}.provider" code
In the source code, it use Application.android.nativeApp.getPackageName() code ,
I think:
- Tool/Assets AndroidManifest.xml should update to use
android:authorities="${applicationId}.provider" - the
android:name="android.support.v4.content.FileProvider"should beandroid:name="androidx.core.content.FileProvider"in package AnroidManifest.XML
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 với tools/assets/App_Resources/Android/src/main/AndroidManifest.xml, packages/social-share/platforms/android/AndroidManifest.xml và packages/social-share/index.android.ts, sử dụng các dòng được liên kết để so sánh authority và class của FileProvider. Hoàn tất khi demo và package sử dụng cấu hình provider khớp nhau, đồng thời luồng chia sẻ hình ảnh trên Android hoạt động với provider của AndroidX.
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, typescript
- Lĩnh vực
- mobile
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 48/100