Commit Graph

47 Commits

Author SHA1 Message Date
Seyed Mostafa Hasani
6189080c9a
feat(android): add error handling for Kotlin version (#4018)
* feat(android): add error handling for Kotlin version mismatch

* fix: lint error

* refactor: use variables from gradle file

* chore: downgrade required Kotlin version

* refactor: check Kotlin version

* refactor: kotlin variables in build.gradle

* refactor: kotlin variables in build.gradle

* chore(doc): update document

* chore: add dependency to build.gradle for a specific version of react-native

* fix: remove additional dependency
2024-07-24 10:07:19 +02:00
Krzysztof Moch
08f6caa645
feat: add expo plugins (#3933)
* feat: add expo plugins

* add export

* fix import

* fix bugs

* build `lib` to `CommonJS`

* restore `build.gradle`

* remove plugin tmp

* add expo plugin for ios caching

* add docs for expo plugin

* fix expo plugin export

* fix docs
2024-07-10 11:49:13 +02:00
Olivier Bouillet
a7d834a80a
feat(android): allow building exoplayer from source (#3932)
* feat(android): allow to build from source code

* fix(android): allow to build plugin from source
2024-06-25 13:20:12 +02:00
Krzysztof Moch
64e3191f73
feat(android): allow to disable selected functionalities (#3681)
* feat(android): add possibility do disable some of functionalities

* create dump classes

* remove dump files when functionalities are enabled

* add docs

* enable all functionalities in example

* throw error when trying to use disabled functionality

* update docs
2024-04-16 14:23:19 +02:00
Olivier Bouillet
2285eba8f0
Feat/add rtsp support (#3677)
* feat(android) : add rtsp support
2024-04-16 10:41:39 +02:00
Olivier Bouillet
908e30f9b8
fix(android): add explicitly dependancy to androidx.activity (#3410) 2023-12-08 11:33:29 +01:00
Olivier Bouillet
fe89122524
fix(android): ads build and enable ads in android sample (#3376)
* fix: refactor androidx core version management

* chore: fix missing import rework for media3

* fix: enable IMA in sample

* chore: rename stub fie

* chore: code review, fix variable name

* chore: reorder imports

* chore: fix linking in sample

* chore: fix stub management

* chore: few cleans and ensure we don't use ima is disabled

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-24 13:17:13 +01:00
YangJH
f2e80e9f2d
feat(android): replace deprecated ExoPlayer2 with AndroidX media3 (#3337)
* feat(android): implement AndroidX media3 dependencies
* refactor(android): remove duplicate code
* refactor(android): remove unused codes
* feat(android): replace ExoPlayer2 with AndroidX media3
* fix(android): move default properties to gradle.properties
* revert(android): prevent security exception
* chore: align indent
* chore: remove redundant comments
* chore: reorder import
* fix: apply media3's legacy player control view
2023-11-18 14:13:54 +01:00
Krzysztof Moch
6df0f7d1c0
chore(android): bump kotlin version (#3334)
* chore(android): update gradle files

* docs: update android installation section
2023-11-08 07:41:17 +01:00
Andy Garron
68beb2701a
[Android] use explicit not-exported flag for AudioBecomingNoisyReceiver (#3327)
* using explicit not-exported flag for AudioBecomingNoisyReceiver
* androidx.core:core version 1.9.0, androix.activity:activity version 1.6.0

---------

Co-authored-by: Andy G <Andy Garron>
2023-11-04 14:59:59 +01:00
Jay Kim
c78077ff0a
fix(android): remove kotlin-android-extensions (#3299) 2023-10-18 22:31:31 +02:00
KrzysztofMoch
01c8e54e12 chore(android/gradle): add suport for AGP 8 2023-09-25 12:24:08 +02:00
KrzysztofMoch
842a156b3c chore(android/gradle): remove doubled compileOptions 2023-09-25 12:21:21 +02:00
KrzysztofMoch
4ad210b6c7 chore(android/gradle): update namespace handler 2023-09-25 12:21:21 +02:00
olivier
19c8134dbc chore: fix build by adding a fallback on kotlin version 2023-09-05 22:17:37 +02:00
yungblud
0ca348f4b5 feat: setup kotlin 2023-07-19 16:32:19 +09:00
Marc Rousavy
7e5bc488c7
feat: RN 0.73 support
Adds `namespace` prop which is required by Gradle 8 (dep. of RN 0.73)
2023-07-03 22:12:44 +02:00
olivier
7aeaa2a3d1 chore(android): fix path to disable CSAI 2023-02-09 23:20:10 +01:00
olivier
57b4a76775 fix: add stub for IMA and option to enable it on demand 2023-02-07 23:14:50 +01:00
Axel Vencatareddy
0a30f207df [ANDROID] Remove multidex usage as it is not mandatory 2022-11-16 20:11:29 +01:00
Axel Vencatareddy
b9f6ed438c [ANDROID] Update build.gradle 2022-11-16 19:20:06 +01:00
Axel Vencatareddy
002f39181a [ANDROID] Fix android after merge 2022-11-09 14:26:39 +01:00
olivier bouillet
07c5ba674a chore(android): fix linter warning 2022-10-16 15:37:29 +02:00
Licaon_Kter
3b58fe9c07
Exoplayer is in google()
ref: https://github.com/google/ExoPlayer/releases/tag/r2.13.3

ref: https://mvnrepository.com/artifact/com.google.android.exoplayer/exoplayer?repo=google
2022-09-19 09:44:49 +00:00
ATNASGDWNGTH
3e4e4e6a12
Merge branch 'react-native-video:master' into feat/expo-fullscreen 2022-09-09 00:00:18 -07:00
wood1986
40e8d9474f fix: add the missing dependency 2022-09-07 14:45:55 -07:00
Gabriel Rivero
f558d05923 upgrade exoplayer 2022-08-26 10:32:22 -04:00
olivier bouillet
de2c4a5524 chore: move android-exoplayer to android folder 2022-06-15 22:30:24 +02:00
olivier bouillet
32718be951 chore: remove MediaPlayer source 2022-06-15 22:29:46 +02:00
Tai Le Tuan
daf5e595ec
feat: upgrade exoplayer to v2.17.1 (#2498)
Describe the changes
Upgrade ExoPlayer to version 2.17.1

Provide an example of how to test the change
Tested with a forked of react-native-video-test

* Update exoplayer to v2.15.1

* feat: upgrade ExoPlayer to version 2.17.1

* chore: update CHANGELOG

* remove ExoPlayerFullscreenVideoActivity

* Fix build issues

* Fix build & runtime issues

Co-authored-by: Eran Hammer <eran@hammer.io>
Co-authored-by: Armands Malejev <armands.malejevs@gmail.com>
2022-06-15 10:24:55 -07:00
Tone T. Thangsongcharoen
3bd4dcd998
Update Dependency to JitPack!
Updated Android-ScalableVideoView to use JitPack instead of JCenter as JCenter has been deprecated. https://www.jitpack.io/#thang2162/Android-ScalableVideoView
2022-05-04 20:21:17 -05:00
Daniel Mariño Ruiz
7949c55c94
Merge pull request #1629 from vokhuyetOz/android-28
Android 28, pre to androidx
2019-07-04 10:01:27 +02:00
vok
a96fa33714 change minSdkVersion back to 16 2019-06-19 14:46:20 +07:00
vok
4f36eb1254 update for androidX 2019-06-19 14:37:21 +07:00
JB Paul
327d8625a1
simplified logic 2019-05-24 17:53:13 +09:00
JB Paul
3989d73063
react-native 0.59 support 2019-05-24 16:32:05 +09:00
Tom Spencer
00174b63b8 Support RN 0.57 w/ gradle 3 2018-09-06 09:44:27 +01:00
Danish
6c946d77f3
little improvement over too many "def"
just added a function which acts like a ternary with fallback option. Hence, less cluttered "def" variables
great to see that lib is supporting already SDK 27
2018-07-24 17:36:24 +03:00
Hampton Maxwell
20f9c291cd
Revert "Revert "Using SDK Version variables from root project"" 2018-06-21 10:29:38 -07:00
Hampton Maxwell
7511487baf
Revert "Using SDK Version variables from root project" 2018-06-21 09:18:12 -07:00
Rayron Victor
4e85d3a1c4 Using SDK Version variables from root project
Instead of assuming the `compileSdkVersion`, `targetSdkVersion`, etc, read it from the root project.
Default `compileSdkVersion` and `targetSdkVersion` to the latest versions.

Android Target API Level 26 will be required in August 2018.
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
And the React Native team is already working on this:
facebook/react-native#17741
facebook/react-native#18095
2018-04-24 14:51:07 -03:00
Ralph Pina
be55cef093 bump android dependencies (#524)
* bump android dependencies

* fixed lint
2017-03-21 16:25:46 -04:00
Deon Nicholas
c56fd2d908 [Android] App crash when unmounting video (#533)
* Upgrade to ScalableVideoView version 1.0.4

* Fix bug in cleanupMediaPlayerResources

* Fix VideoView on Android
2017-03-21 16:24:46 -04:00
Andrew Jack
9a936c9e8f ExoPlayer (#426) 2017-01-11 07:51:45 -05:00
Tal.Che
38e5296eee upgrade to react-native 0.19 2016-02-02 18:22:33 +02:00
Baris Sencan
c03c45a362 [Android] repeat, muted, volume properties fully working 2015-11-05 17:13:35 -08:00
Baris Sencan
0a3fdd912b [Android] Initial commit 2015-10-30 17:43:18 -07:00