YangJH
|
69a7bc2d26
|
feat: implement enterPictureInPictureOnLeave prop for both platform (Android, iOS) (#3385)
* docs: enable Android PIP
* chore: change comments
* feat(android): implement Android PictureInPicture
* refactor: minor refactor code and apply lint
* fix: rewrite pip action intent code for Android14
* fix: remove redundant codes
* feat: add isInPictureInPicture flag for lifecycle handling
- activity provide helper method for same purpose, but this flag makes code simple
* feat: add pipFullscreenPlayerView for makes PIP include video only
* fix: add manifest value checker for prevent crash
* docs: add pictureInPicture prop's Android guide
* fix: sync controller visibility
* refactor: refining variable name
* fix: check multi window mode when host pause
- some OS version call onPause on multi-window mode
* fix: handling when onStop is called while in multi-window mode
* refactor: enhance PIP util codes
* fix: fix FullscreenPlayerView constructor
* refactor: add enterPictureInPictureOnLeave prop and pip methods
- remove pictureInPicture boolean prop
- add enterPictureInPictureOnLeave boolean prop
- add enterPictureInPicture method
- add exitPictureInPicture method
* fix: fix lint error
* fix: prevent audio play in background without playInBackground prop
* fix: fix onDetachedFromWindow
* docs: update docs for pip
* fix(android): sync pip controller with external controller state
- for media session
* fix(ios): fix pip active fn variable reference
* refactor(ios): refactor code
* refactor(android): refactor codes
* fix(android): fix lint error
* refactor(android): refactor android pip logics
* fix(android): fix flickering issue when stop picture in picture
* fix(android): fix import
* fix(android): fix picture in picture with fullscreen mode
* fix(ios): fix syntax error
* fix(android): fix Fragment managed code
* refactor(android): remove redundant override lifecycle
* fix(js): add PIP type definition for codegen
* fix(android): fix syntax
* chore(android): fix lint error
* fix(ios): fix enter background handler
* refactor(ios): remove redundant code
* fix(ios): fix applicationDidEnterBackground for PIP
* fix(android): fix onPictureInPictureStatusChanged
* fix(ios): fix RCTPictureInPicture
* refactor(android): Ignore exception for some device ignore pip checker
- some device ignore PIP availability check, so we need to handle exception to prevent crash
* fix(android): add hideWithoutPlayer fn into Kotlin ver
* refactor(android): remove redundant code
* fix(android): fix pip ratio to be calculated with correct ratio value
* fix(android): fix crash issue when unmounting in PIP mode
* fix(android): fix lint error
* Update android/src/main/java/com/brentvatne/react/VideoManagerModule.kt
* fix(android): fix lint error
* fix(ios): fix lint error
* fix(ios): fix lint error
* feat(expo): add android picture in picture config within expo plugin
* fix: Replace Fragment with androidx.activity
- remove code that uses Fragment, which is a tricky implementation
* fix: fix lint error
* fix(android): disable auto enter when player released
* fix(android): fix event handler to check based on Activity it's bound to
---------
Co-authored-by: jonghun <jonghun@toss.im>
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
|
2025-01-04 12:37:33 +01:00 |
|
Guy Haguy
|
703ed43996
|
feat: add ads localize (#4113)
* add prop adLanguage; add docs
* add native code ios&android for adLanguage props
* add missing function to adsLoader and imafactory
* Update docs/pages/component/ads.md
Language correction
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
---------
Co-authored-by: Guy <guyha@reshet.tv>
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
|
2024-08-29 12:30:05 +02:00 |
|
Nguyễn Bảo Khương
|
e96c17321f
|
fix(ios): destroy adsManager when player detach from super view (#3716) (#3722)
* fix(ios): destroy adsManager when player detach from super view (#3716)
* fix: swift format
|
2024-05-01 11:31:20 +02:00 |
|
Krzysztof Moch
|
2ed3949307
|
chore(linter/swift): add shorthand_optional_binding rule (#3456)
* chore(linter/swift): add `shorthand_optional_binding` rule
* lint code
|
2024-01-04 20:16:23 +01:00 |
|
Krzysztof Moch
|
800aee09de
|
chore: lint project (#3395)
* chore: format swift code
* chore: format clang code
* chore: format kotlin code
* refactor: rename folder "API" to "api"
|
2023-12-07 08:47:40 +01:00 |
|
Axel Vencatareddy
|
596c02d2b3
|
feat: add onAdError event listener (#3381)
* feat: add onAdError event listener
* feat: remove onAdError event listener and use already existing
* feat: add ERROR event to docs
|
2023-12-02 13:52:01 +01:00 |
|
Axel Vencatareddy
|
d05231d76b
|
feat(ad): add data to onReceiveAdEvent (#3378)
* feat(ad): add adData to onReceiveAdEvent
* fix: remove adData from response if empty
* fix: add getAdData to stub file
* chore: fix build without IMA
* fix: rename `adData` to `data`
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
|
2023-11-27 21:43:30 +01:00 |
|
Axel Vencatareddy
|
364944b329
|
BREAK: fix(android): harmonize IMAAdEventType between iOS and Android (#3373)
|
2023-11-23 08:45:47 +01:00 |
|
Leonardo Russo
|
e6e8f621fe
|
fix(ios): resuming video ad after closing the in-app browser on iOS (#3275)
|
2023-10-06 18:43:35 +02:00 |
|
lrusso
|
59236c7034
|
fix: not showing video ads in pip mode
|
2023-09-17 16:12:46 -03:00 |
|
Cedric Guinoiseau
|
50b3650e2f
|
fix: memory leak due to [weak self] and delegate not being weak
|
2023-07-06 09:52:33 +02:00 |
|
Olivier Bouillet
|
89454311d5
|
Merge pull request #3077 from francescoben/bug/3068_ios_ads_muted
fix: iOS Ads are reproduced with sound even if muted or volume set to 0
|
2023-04-05 22:40:38 +02:00 |
|
Francesco Benigno
|
9519c7bae7
|
set the ad volume to 0 when the player is muted on iOS
|
2023-03-28 13:14:48 +02:00 |
|
olivier
|
4aca30d308
|
fix: disable Google IMA by default on ios. now shall be enabled in project podfile
|
2023-03-12 23:29:03 +01:00 |
|
Axel Vencatareddy
|
6e5ebfcc3b
|
[AD EVENTS] Merge resume, pause and click event on iOS and Android
|
2022-11-30 12:50:48 +01:00 |
|
Axel Vencatareddy
|
9386955ab0
|
[IOS ADS] Setup ads only if adTagUrl present
|
2022-11-17 12:12:50 +01:00 |
|
Axel Vencatareddy
|
fa817264fc
|
[ADS] Create RCTIMAAdsManager class
|
2022-11-17 12:01:29 +01:00 |
|