Fix ExpoAVVideoAdapter error handling - provide clear guidance when expo-av missing

未關閉
#55 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
react-native, typescript

研究方向

首先定位 ExpoAVVideoAdapter 進入點及其 getAvailabilityInfo() 方法。重現缺少 expo-av 相依性的情況,然後驗證產生的錯誤是否識別出缺少的模組,並包含命令 'npx expo install expo-av' 作為可執行的指引。

由索引模型根據 Issue 內容生成。

描述

hacktoberfest-accepted

Problem: Video adapters show vague "expo-av/expo-video is not available" errors when dependencies are missing, causing developer confusion during setup.

Current: Generic error messages with no installation guidance or resolution steps.

Expected: Clear, actionable errors like "ExpoAVVideoAdapter: Module not found. Please install expo-av: 'npx expo install expo-av'"

Impact: Affects all platforms during initial setup - wastes developer time and creates unnecessary support issues.

Solution: Implement getAvailabilityInfo() method with detailed error context and installation commands.

Is the issue reproducible only on a specific device?

[✓ ] No
[ ] Yes (specify device model + iOS/Android version)
This is a dependency issue - affects all devices when expo-av isn't installed

Please assign this issue to me

主要語言
TypeScript
星號
28
分支
21
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

cloudinary/cloudinary-react-native 的其他 Issue

查看 cloudinary/cloudinary-react-native 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。