Fix(ios): restore caching feature (#3341)

* chore: fix build issue

* fix: try to fix save typings

* chore: fix podspec

* fix: update integration guide for ios Caching

* fix: update sample to test the save function

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
This commit is contained in:
Olivier Bouillet
2023-11-13 21:36:16 +01:00
committed by GitHub
parent da270891fb
commit dfac7a6ed3
11 changed files with 149 additions and 237 deletions

View File

@@ -28,7 +28,9 @@ end
target 'videoplayer' do
config = use_native_modules!
use_frameworks! :linkage => :static
# $RNVideoUseGoogleIMA = true
$RNVideoUseVideoCaching = true
# Flags change depending on the env values.
flags = get_default_flags()
@@ -42,7 +44,7 @@ target 'videoplayer' do
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
:flipper_configuration => flipper_config,
# :flipper_configuration => flipper_config,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)