cloudinary / cloudinary/cloudinary-react-native

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

未關閉
#55 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
hacktoberfest-accepted
主要語言
TypeScript
星號
28
分支
21
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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