cloudinary / cloudinary/cloudinary-react-native

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

Offen
#55 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
hacktoberfest-accepted
Vorherrschende Sprache
TypeScript
Sterne
28
Forks
21
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.