Merge pull request #2677 from ZhminkoRoman/fix/additional-info-to-documentation

Fix/additional info to documentation (Android release build black screen)
This commit is contained in:
Eran Hammer 2022-05-20 23:28:45 -07:00 committed by GitHub
commit e0420d6574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1556,9 +1556,17 @@ allprojects {
} }
} }
``` ```
If you encounter an error `Could not find com.android.support:support-annotations:27.0.0.` reinstall your Android Support Repository. If you encounter an error `Could not find com.android.support:support-annotations:27.0.0.` reinstall your Android Support Repository.
## Black Screen on Release build (Android)
If your video work on Debug mode, but on Release you see only black screen, please, check the link to your video. If you use 'http' protocol there, you will need to add next string to your AndroidManifest.xml file.
```
<application
...
android:usesCleartextTraffic="true"
>
```
## TODOS ## TODOS
- [ ] Add support for playing multiple videos in a sequence (will interfere with current `repeat` implementation) - [ ] Add support for playing multiple videos in a sequence (will interfere with current `repeat` implementation)