NativeScript / NativeScript/plugins

[@nativescript/social-share]unable to share image on Android in the demo

Đang mở
#91 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
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:

  1. Tool/Assets AndroidManifest.xml should update to use android:authorities="${applicationId}.provider"
  2. the android:name="android.support.v4.content.FileProvider" should be android:name="androidx.core.content.FileProvider" in package AnroidManifest.XML

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 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

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.