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 摘要。