react-native-kenburns-view 5.1.1 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +6 -4
  3. package/lib/KenBurnsView.js +57 -35
  4. package/package.json +1 -4
  5. package/example/kenburns-example/App.js +0 -78
  6. package/example/kenburns-example/README.md +0 -20
  7. package/example/kenburns-example/app.json +0 -21
  8. package/example/kenburns-example/babel.config.js +0 -6
  9. package/example/kenburns-example/ios/.xcode.env +0 -11
  10. package/example/kenburns-example/ios/KenBurnsExample/AppDelegate.swift +0 -69
  11. package/example/kenburns-example/ios/KenBurnsExample/Images.xcassets/AppIcon.appiconset/App-Icon-1024x1024@1x.png +0 -0
  12. package/example/kenburns-example/ios/KenBurnsExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -14
  13. package/example/kenburns-example/ios/KenBurnsExample/Images.xcassets/Contents.json +0 -6
  14. package/example/kenburns-example/ios/KenBurnsExample/Images.xcassets/SplashScreenBackground.colorset/Contents.json +0 -20
  15. package/example/kenburns-example/ios/KenBurnsExample/Info.plist +0 -76
  16. package/example/kenburns-example/ios/KenBurnsExample/KenBurnsExample-Bridging-Header.h +0 -3
  17. package/example/kenburns-example/ios/KenBurnsExample/KenBurnsExample.entitlements +0 -5
  18. package/example/kenburns-example/ios/KenBurnsExample/PrivacyInfo.xcprivacy +0 -48
  19. package/example/kenburns-example/ios/KenBurnsExample/SplashScreen.storyboard +0 -39
  20. package/example/kenburns-example/ios/KenBurnsExample/Supporting/Expo.plist +0 -12
  21. package/example/kenburns-example/ios/KenBurnsExample.xcodeproj/project.pbxproj +0 -544
  22. package/example/kenburns-example/ios/KenBurnsExample.xcodeproj/xcshareddata/xcschemes/KenBurnsExample.xcscheme +0 -88
  23. package/example/kenburns-example/ios/KenBurnsExample.xcworkspace/contents.xcworkspacedata +0 -10
  24. package/example/kenburns-example/ios/Podfile +0 -63
  25. package/example/kenburns-example/ios/Podfile.lock +0 -2195
  26. package/example/kenburns-example/ios/Podfile.properties.json +0 -4
  27. package/example/kenburns-example/metro.config.js +0 -20
  28. package/example/kenburns-example/package-lock.json +0 -7160
  29. package/example/kenburns-example/package.json +0 -25
@@ -1,63 +0,0 @@
1
- require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking")
2
- require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods")
3
-
4
- require 'json'
5
- podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties.json'))) rescue {}
6
-
7
- def ccache_enabled?(podfile_properties)
8
- # Environment variable takes precedence
9
- return ENV['USE_CCACHE'] == '1' if ENV['USE_CCACHE']
10
-
11
- # Fall back to Podfile properties
12
- podfile_properties['apple.ccacheEnabled'] == 'true'
13
- end
14
-
15
- ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] ||= podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']
16
- ENV['RCT_USE_RN_DEP'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
17
- ENV['RCT_USE_PREBUILT_RNCORE'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
18
- ENV['RCT_HERMES_V1_ENABLED'] ||= '1' if podfile_properties['expo.useHermesV1'] == 'true'
19
- platform :ios, podfile_properties['ios.deploymentTarget'] || '15.1'
20
-
21
- prepare_react_native_project!
22
-
23
- target 'KenBurnsExample' do
24
- use_expo_modules!
25
-
26
- if ENV['EXPO_USE_COMMUNITY_AUTOLINKING'] == '1'
27
- config_command = ['node', '-e', "process.argv=['', '', 'config'];require('@react-native-community/cli').run()"];
28
- else
29
- config_command = [
30
- 'node',
31
- '--no-warnings',
32
- '--eval',
33
- 'require(\'expo/bin/autolinking\')',
34
- 'expo-modules-autolinking',
35
- 'react-native-config',
36
- '--json',
37
- '--platform',
38
- 'ios'
39
- ]
40
- end
41
-
42
- config = use_native_modules!(config_command)
43
-
44
- use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks']
45
- use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS']
46
-
47
- use_react_native!(
48
- :path => config[:reactNativePath],
49
- :hermes_enabled => podfile_properties['expo.jsEngine'] == nil || podfile_properties['expo.jsEngine'] == 'hermes',
50
- # An absolute path to your application root.
51
- :app_path => "#{Pod::Config.instance.installation_root}/..",
52
- :privacy_file_aggregation_enabled => podfile_properties['apple.privacyManifestAggregationEnabled'] != 'false',
53
- )
54
-
55
- post_install do |installer|
56
- react_native_post_install(
57
- installer,
58
- config[:reactNativePath],
59
- :mac_catalyst_enabled => false,
60
- :ccache_enabled => ccache_enabled?(podfile_properties),
61
- )
62
- end
63
- end