NativeScript / NativeScript/plugins
[@nativescript/social-share]unable to share image on Android in the demo
未關閉
還沒有人認領這個 Issue。
- 主要語言
- TypeScript
- 星號
- 206
- 分支
- 123
- 平均合併
- 2 天 1 小時
- 30 天內合併 PR
- 1
描述
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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 tools/assets/App_Resources/Android/src/main/AndroidManifest.xml、packages/social-share/platforms/android/AndroidManifest.xml 和 packages/social-share/index.android.ts 開始,使用連結的行比較 FileProvider 的 authority 和 class。完成的標準是 demo 和 package 使用相符的 provider 設定,且 Android 分享圖片流程能透過 AndroidX provider 正常運作。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, typescript
- 領域
- mobile
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 48/100