cloudinary / cloudinary/cloudinary-react-native

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

オープン
#55 コメント 3 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。