├── .buckconfig ├── .editorconfig ├── .eslintrc.js ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .prettierrc.js ├── .watchmanconfig ├── App.js ├── LICENSE.md ├── README.md ├── __tests__ └── App-test.js ├── android ├── app │ ├── _BUCK │ ├── build.gradle │ ├── build_defs.bzl │ ├── debug.keystore │ ├── proguard-rules.pro │ └── src │ │ ├── debug │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── vesdkexample │ │ │ └── ReactNativeFlipper.java │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── vesdkexample │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── app.json ├── assets ├── DJ.mp4 ├── DanceHarder.mp3 ├── Elsewhere.mp3 ├── Igor.png ├── Notes.mp4 ├── React.png └── Skater.mp4 ├── babel.config.js ├── index.js ├── ios ├── Podfile ├── Podfile.lock ├── VESDKExample.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ └── VESDKExample.xcscheme ├── VESDKExample.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── VESDKExample │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── App_store_1024_1x.png │ │ │ ├── Contents.json │ │ │ ├── iPhone_App_60_2x.png │ │ │ ├── iPhone_App_60_3x.png │ │ │ ├── iPhone_Notifications_20_2x.png │ │ │ ├── iPhone_Notifications_20_3x.png │ │ │ ├── iPhone_Settings_29_2x.png │ │ │ ├── iPhone_Settings_29_3x.png │ │ │ ├── iPhone_Spotlight_40_2x.png │ │ │ └── iPhone_Spotlight_40_3x.png │ │ └── Contents.json │ ├── Info.plist │ ├── LaunchScreen.storyboard │ └── main.m └── VESDKExampleTests │ ├── Info.plist │ └── VESDKExampleTests.m ├── metro.config.js ├── package.json └── yarn.lock /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Windows files 2 | [*.bat] 3 | end_of_line = crlf 4 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native-community', 4 | }; 5 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore polyfills 9 | node_modules/react-native/Libraries/polyfills/.* 10 | 11 | ; Flow doesn't support platforms 12 | .*/Libraries/Utilities/LoadingView.js 13 | 14 | [untyped] 15 | .*/node_modules/@react-native-community/cli/.*/.* 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/interface.js 21 | node_modules/react-native/flow/ 22 | 23 | [options] 24 | emoji=true 25 | 26 | exact_by_default=true 27 | 28 | format.bracket_spacing=false 29 | 30 | module.file_ext=.js 31 | module.file_ext=.json 32 | module.file_ext=.ios.js 33 | 34 | munge_underscores=true 35 | 36 | module.name_mapper='^react-native/\(.*\)$' -> '/node_modules/react-native/\1' 37 | module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '/node_modules/react-native/Libraries/Image/RelativeImageStub' 38 | 39 | suppress_type=$FlowIssue 40 | suppress_type=$FlowFixMe 41 | suppress_type=$FlowFixMeProps 42 | suppress_type=$FlowFixMeState 43 | 44 | [lints] 45 | sketchy-null-number=warn 46 | sketchy-null-mixed=warn 47 | sketchy-number=warn 48 | untyped-type-import=warn 49 | nonstrict-import=warn 50 | deprecated-type=warn 51 | unsafe-getters-setters=warn 52 | unnecessary-invariant=warn 53 | signature-verification-failure=warn 54 | 55 | [strict] 56 | deprecated-type 57 | nonstrict-import 58 | sketchy-null 59 | unclear-type 60 | unsafe-getters-setters 61 | untyped-import 62 | untyped-type-import 63 | 64 | [version] 65 | ^0.158.0 66 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Windows files should use crlf line endings 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | *.bat text eol=crlf 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | 24 | # Android/IntelliJ 25 | # 26 | build/ 27 | .idea 28 | .gradle 29 | local.properties 30 | *.iml 31 | *.hprof 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | !debug.keystore 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://docs.fastlane.tools/best-practices/source-control/ 51 | 52 | */fastlane/report.xml 53 | */fastlane/Preview.html 54 | */fastlane/screenshots 55 | 56 | # Bundle artifact 57 | *.jsbundle 58 | 59 | # CocoaPods 60 | /ios/Pods/ 61 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | bracketSpacing: false, 3 | jsxBracketSameLine: true, 4 | singleQuote: true, 5 | trailingComma: 'all', 6 | arrowParens: 'avoid', 7 | }; 8 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | * @flow strict-local 7 | */ 8 | 9 | import React from 'react'; 10 | import type {Node} from 'react'; 11 | import { 12 | SafeAreaView, 13 | ScrollView, 14 | StatusBar, 15 | StyleSheet, 16 | Text, 17 | useColorScheme, 18 | View, 19 | TouchableHighlight 20 | } from 'react-native'; 21 | 22 | import { 23 | Colors, 24 | DebugInstructions, 25 | Header, 26 | LearnMoreLinks, 27 | ReloadInstructions, 28 | } from 'react-native/Libraries/NewAppScreen'; 29 | 30 | import {VESDK, Configuration} from 'react-native-videoeditorsdk'; 31 | 32 | /** 33 | * Uncomment the following single line of code to unlock VideoEditor SDK automatically 34 | * for both platforms. Every platform requires a separate license file which must be 35 | * named `vesdk_license.ios.json` for the iOS license and `vesdk_license.android.json` 36 | * for the Android license file. 37 | */ 38 | // VESDK.unlockWithLicense(require('./vesdk_license')); 39 | 40 | const Section = ({children, title}): Node => { 41 | const isDarkMode = useColorScheme() === 'dark'; 42 | return ( 43 | 44 | 51 | {title} 52 | 53 | 60 | {children} 61 | 62 | 63 | ); 64 | }; 65 | 66 | const App: () => Node = () => { 67 | const openEditor = () => { 68 | // Set up sample video 69 | let video = require('./assets/Skater.mp4'); 70 | // Set up configuration 71 | let configuration: Configuration = { 72 | // Configure sticker tool 73 | sticker: { 74 | // Enable personal stickers 75 | personalStickers: true, 76 | // Configure sticker library 77 | categories: [ 78 | // Create sticker category with stickers 79 | { 80 | identifier: 'example_sticker_category_logos', 81 | name: 'Logos', 82 | thumbnailURI: require('./assets/React.png'), 83 | items: [ 84 | { 85 | identifier: 'example_sticker_logos_react', 86 | name: 'React', 87 | stickerURI: require('./assets/React.png'), 88 | }, 89 | { 90 | identifier: 'example_sticker_logos_imgly', 91 | name: 'IMG.LY', 92 | stickerURI: require('./assets/Igor.png'), 93 | }, 94 | ], 95 | }, 96 | // Reorder and use existing sticker categories 97 | {identifier: 'imgly_sticker_category_animated'}, 98 | {identifier: 'imgly_sticker_category_emoticons'}, 99 | // Modify existing sticker category 100 | { 101 | identifier: 'imgly_sticker_category_shapes', 102 | items: [ 103 | {identifier: 'imgly_sticker_shapes_badge_01'}, 104 | {identifier: 'imgly_sticker_shapes_arrow_02'}, 105 | {identifier: 'imgly_sticker_shapes_spray_03'}, 106 | ], 107 | }, 108 | ], 109 | }, 110 | // Configure video composition tool 111 | composition: { 112 | // Enable personal video clips 113 | personalVideoClips: true, 114 | // Configure video clip library 115 | categories: [ 116 | // Create video clip category with video clips 117 | { 118 | identifier: "example_video_category_custom", 119 | name: "Custom", 120 | items: [ 121 | { 122 | identifier: "example_video_custom_dj", 123 | videoURI: require('./assets/DJ.mp4') 124 | }, 125 | { 126 | identifier: "example_video_custom_notes", 127 | videoURI: require('./assets/Notes.mp4') 128 | }, 129 | ] 130 | } 131 | ] 132 | }, 133 | // Configure audio tool 134 | audio: { 135 | // Configure audio clip library 136 | categories: [ 137 | // Create audio clip category with audio clips 138 | { 139 | identifier: "example_audio_category_custom", 140 | name: "Custom", 141 | items: [ 142 | { 143 | // Use metadata to display title and artist 144 | identifier: "example_audio_custom_elsewhere", 145 | audioURI: require('./assets/Elsewhere.mp3') 146 | }, 147 | { 148 | // Override metadata to display title and artist 149 | identifier: "example_audio_custom_danceharder", 150 | title: "Dance Harder", 151 | artist: "Three Chain Links", 152 | audioURI: require('./assets/DanceHarder.mp3') 153 | } 154 | ] 155 | } 156 | ] 157 | } 158 | }; 159 | VESDK.openEditor(video, configuration).then( 160 | (result) => { 161 | console.log(result); 162 | }, 163 | (error) => { 164 | console.log(error); 165 | }, 166 | ); 167 | }; 168 | 169 | const isDarkMode = useColorScheme() === 'dark'; 170 | 171 | const backgroundStyle = { 172 | backgroundColor: isDarkMode ? Colors.darker : Colors.lighter, 173 | }; 174 | 175 | return ( 176 | 177 | 178 | 181 |
182 | 186 |
187 | 188 | 195 | Click here to edit a sample video. 196 | 197 | 198 |
199 |
200 | Edit App.js to change this 201 | screen and then come back to see your edits. 202 |
203 |
204 | 205 |
206 |
207 | 208 |
209 |
210 | Read the docs to discover what to do next: 211 |
212 | 213 |
214 | 215 | 216 | ); 217 | }; 218 | 219 | const styles = StyleSheet.create({ 220 | sectionContainer: { 221 | marginTop: 32, 222 | paddingHorizontal: 24, 223 | }, 224 | sectionTitle: { 225 | fontSize: 24, 226 | fontWeight: '600', 227 | }, 228 | sectionDescription: { 229 | marginTop: 8, 230 | fontSize: 18, 231 | fontWeight: '400', 232 | }, 233 | highlight: { 234 | fontWeight: '700', 235 | }, 236 | }); 237 | 238 | export default App; 239 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | This sample code or wrapper is licensed with a 3-clause BSD license. 2 | 3 | In order to run any samples or use any wrapper without a watermark, 4 | you'll have to purchase a commercial PhotoEditor SDK or VideoEditor SDK 5 | license. Visit https://img.ly for more details. 6 | 7 | Copyright (c) 2014-2022, img.ly GmbH 8 | All rights reserved. 9 | 10 | Redistribution and use in source and binary forms, with or without 11 | modification, are permitted provided that the following conditions are met: 12 | 13 | 1. Redistributions of source code must retain the above copyright 14 | notice, this list of conditions and the following disclaimer. 15 | 16 | 2. Redistributions in binary form must reproduce the above copyright 17 | notice, this list of conditions and the following disclaimer in the 18 | documentation and/or other materials provided with the distribution. 19 | 20 | 3. Neither the name img.ly GmbH, img.ly, PhotoEditor SDK, VideoEditor SDK 21 | nor the names of its developers may be used to endorse or promote products 22 | derived from this software without specific prior written permission. 23 | 24 | THIS SOFTWARE IS PROVIDED BY IMG.LY GMBH ''AS IS'' AND ANY 25 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 26 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 27 | DISCLAIMED. IN NO EVENT SHALL IMG.LY GMBH BE LIABLE FOR ANY 28 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 29 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 30 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 31 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 33 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | VideoEditor SDK Logo 4 | 5 |

6 |

7 | 8 | NPM version 9 | 10 | 11 | Platform support 12 | 13 | 14 | Twitter 15 | 16 |

17 | 18 | # VideoEditor SDK React Native Example App 19 | 20 | This project shows how to integrate [VideoEditor SDK](https://img.ly/video-sdk?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=React-Native-Demo) into a React Native application with the [React Native module for VideoEditor SDK](https://github.com/imgly/vesdk-react-native) which is available via NPM as [`react-native-videoeditorsdk`](https://www.npmjs.com/package/react-native-videoeditorsdk). 21 | 22 | ## Getting started 23 | 24 | After cloning this repository, perform the following steps to run the example application: 25 | 26 | ```sh 27 | # install 28 | yarn install 29 | cd ios && pod install && cd .. # CocoaPods on iOS needs this extra step 30 | # run 31 | npx react-native run-ios 32 | # or 33 | npx react-native run-android 34 | ``` 35 | 36 | ## Unlock the SDK 37 | 38 | VideoEditor SDK is a product of img.ly GmbH. Without unlocking, the SDK is fully functional but a watermark is added on top of the video preview and any exported videos. 39 | In order to remove the watermark and to use VideoEditor SDK within your app **you'll need to [request a license](https://img.ly/pricing?product=vesdk&?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=React-Native-Demo) for each platform and load the license file(s)** in your [`App.js`](./App.js#L30-L36) with the following single line of code that automatically resolves multiple license files via [platform-specific file extensions](https://reactnative.dev/docs/platform-specific-code#platform-specific-extensions): 40 | 41 | ```js 42 | VESDK.unlockWithLicense(require('./vesdk_license')); 43 | ``` 44 | 45 | ## VideoEditor SDK for iOS & Android 46 | 47 | The React Native module for VideoEditor SDK includes a rich set of most commonly used [configuration and customization options](https://github.com/imgly/vesdk-react-native/blob/master/configuration.ts) of VideoEditor SDK for iOS and Android. The native frameworks provide **fully customizable** video editors. Please refer to [our documentation](https://img.ly/docs/vesdk?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=React-Native-Demo) for more details. 48 | 49 | Native customization for iOS is demonstrated in the [`AppDelegate`](./ios/VESDKExample/AppDelegate.m#L36-L47) of the example application. 50 | 51 | ## License Terms 52 | 53 | Make sure you have a [commercial license](https://img.ly/pricing?product=vesdk&?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=React-Native-Demo) for VideoEditor SDK before releasing your app. 54 | A commercial license is required for any app or service that has any form of monetization: This includes free apps with in-app purchases or ad supported applications. Please contact us if you want to purchase the commercial license. 55 | 56 | ## Support and License 57 | 58 | Use our [service desk](http://support.img.ly) for bug reports or support requests. To request a commercial license, please use the [license request form](https://img.ly/pricing?product=vesdk&?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=React-Native-Demo) on our website. 59 | -------------------------------------------------------------------------------- /__tests__/App-test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../App'; 8 | 9 | // Note: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /android/app/_BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.vesdkexample", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.vesdkexample", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | apply plugin: 'ly.img.android.sdk' 4 | apply plugin: 'kotlin-android' 5 | 6 | // Comment out the modules you don't need, to save size. 7 | imglyConfig { 8 | modules { 9 | include 'ui:text' 10 | include 'ui:focus' 11 | include 'ui:frame' 12 | include 'ui:brush' 13 | include 'ui:filter' 14 | include 'ui:sticker' 15 | include 'ui:overlay' 16 | include 'ui:transform' 17 | include 'ui:adjustment' 18 | include 'ui:text-design' 19 | include 'ui:video-trim' 20 | include 'ui:video-library' 21 | include 'ui:video-composition' 22 | include 'ui:audio-composition' 23 | 24 | // This module is big, remove the serializer if you don't need that feature. 25 | include 'backend:serializer' 26 | 27 | // Remove the asset packs you don't need, these are also big in size. 28 | include 'assets:font-basic' 29 | include 'assets:frame-basic' 30 | include 'assets:filter-basic' 31 | include 'assets:overlay-basic' 32 | include 'assets:sticker-shapes' 33 | include 'assets:sticker-emoticons' 34 | include 'assets:sticker-animated' 35 | 36 | include 'backend:sticker-animated' 37 | include 'backend:sticker-smart' 38 | } 39 | } 40 | 41 | import com.android.build.OutputFile 42 | 43 | /** 44 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 45 | * and bundleReleaseJsAndAssets). 46 | * These basically call `react-native bundle` with the correct arguments during the Android build 47 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 48 | * bundle directly from the development server. Below you can see all the possible configurations 49 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 50 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 51 | * 52 | * project.ext.react = [ 53 | * // the name of the generated asset file containing your JS bundle 54 | * bundleAssetName: "index.android.bundle", 55 | * 56 | * // the entry file for bundle generation. If none specified and 57 | * // "index.android.js" exists, it will be used. Otherwise "index.js" is 58 | * // default. Can be overridden with ENTRY_FILE environment variable. 59 | * entryFile: "index.android.js", 60 | * 61 | * // https://reactnative.dev/docs/performance#enable-the-ram-format 62 | * bundleCommand: "ram-bundle", 63 | * 64 | * // whether to bundle JS and assets in debug mode 65 | * bundleInDebug: false, 66 | * 67 | * // whether to bundle JS and assets in release mode 68 | * bundleInRelease: true, 69 | * 70 | * // whether to bundle JS and assets in another build variant (if configured). 71 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 72 | * // The configuration property can be in the following formats 73 | * // 'bundleIn${productFlavor}${buildType}' 74 | * // 'bundleIn${buildType}' 75 | * // bundleInFreeDebug: true, 76 | * // bundleInPaidRelease: true, 77 | * // bundleInBeta: true, 78 | * 79 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 80 | * // for example: to disable dev mode in the staging build type (if configured) 81 | * devDisabledInStaging: true, 82 | * // The configuration property can be in the following formats 83 | * // 'devDisabledIn${productFlavor}${buildType}' 84 | * // 'devDisabledIn${buildType}' 85 | * 86 | * // the root of your project, i.e. where "package.json" lives 87 | * root: "../../", 88 | * 89 | * // where to put the JS bundle asset in debug mode 90 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 91 | * 92 | * // where to put the JS bundle asset in release mode 93 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 94 | * 95 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 96 | * // require('./image.png')), in debug mode 97 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 98 | * 99 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 100 | * // require('./image.png')), in release mode 101 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 102 | * 103 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 104 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 105 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 106 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 107 | * // for example, you might want to remove it from here. 108 | * inputExcludes: ["android/**", "ios/**"], 109 | * 110 | * // override which node gets called and with what additional arguments 111 | * nodeExecutableAndArgs: ["node"], 112 | * 113 | * // supply additional arguments to the packager 114 | * extraPackagerArgs: [] 115 | * ] 116 | */ 117 | 118 | project.ext.react = [ 119 | enableHermes: false, // clean and rebuild if changing 120 | ] 121 | 122 | apply from: "../../node_modules/react-native/react.gradle" 123 | 124 | /** 125 | * Set this to true to create two separate APKs instead of one: 126 | * - An APK that only works on ARM devices 127 | * - An APK that only works on x86 devices 128 | * The advantage is the size of the APK is reduced by about 4MB. 129 | * Upload all the APKs to the Play Store and people will download 130 | * the correct one based on the CPU architecture of their device. 131 | */ 132 | def enableSeparateBuildPerCPUArchitecture = false 133 | 134 | /** 135 | * Run Proguard to shrink the Java bytecode in release builds. 136 | */ 137 | def enableProguardInReleaseBuilds = false 138 | 139 | /** 140 | * The preferred build flavor of JavaScriptCore. 141 | * 142 | * For example, to use the international variant, you can use: 143 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` 144 | * 145 | * The international variant includes ICU i18n library and necessary data 146 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that 147 | * give correct results when using with locales other than en-US. Note that 148 | * this variant is about 6MiB larger per architecture than default. 149 | */ 150 | def jscFlavor = 'org.webkit:android-jsc:+' 151 | 152 | /** 153 | * Whether to enable the Hermes VM. 154 | * 155 | * This should be set on project.ext.react and mirrored here. If it is not set 156 | * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode 157 | * and the benefits of using Hermes will therefore be sharply reduced. 158 | */ 159 | def enableHermes = project.ext.react.get("enableHermes", false); 160 | 161 | /** 162 | * Architectures to build native code for in debug. 163 | */ 164 | def nativeArchitectures = project.getProperties().get("reactNativeDebugArchitectures") 165 | 166 | android { 167 | ndkVersion rootProject.ext.ndkVersion 168 | 169 | compileSdkVersion rootProject.ext.compileSdkVersion 170 | 171 | defaultConfig { 172 | applicationId "com.vesdkexample" 173 | minSdkVersion rootProject.ext.minSdkVersion 174 | targetSdkVersion rootProject.ext.targetSdkVersion 175 | versionCode 1 176 | versionName "1.0" 177 | } 178 | splits { 179 | abi { 180 | reset() 181 | enable enableSeparateBuildPerCPUArchitecture 182 | universalApk false // If true, also generate a universal APK 183 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" 184 | } 185 | } 186 | signingConfigs { 187 | debug { 188 | storeFile file('debug.keystore') 189 | storePassword 'android' 190 | keyAlias 'androiddebugkey' 191 | keyPassword 'android' 192 | } 193 | } 194 | buildTypes { 195 | debug { 196 | signingConfig signingConfigs.debug 197 | if (nativeArchitectures) { 198 | ndk { 199 | abiFilters nativeArchitectures.split(',') 200 | } 201 | } 202 | } 203 | release { 204 | // Caution! In production, you need to generate your own keystore file. 205 | // see https://reactnative.dev/docs/signed-apk-android. 206 | signingConfig signingConfigs.debug 207 | minifyEnabled enableProguardInReleaseBuilds 208 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 209 | } 210 | } 211 | 212 | // applicationVariants are e.g. debug, release 213 | applicationVariants.all { variant -> 214 | variant.outputs.each { output -> 215 | // For each separate APK per architecture, set a unique version code as described here: 216 | // https://developer.android.com/studio/build/configure-apk-splits.html 217 | // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc. 218 | def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] 219 | def abi = output.getFilter(OutputFile.ABI) 220 | if (abi != null) { // null for the universal-debug, universal-release variants 221 | output.versionCodeOverride = 222 | defaultConfig.versionCode * 1000 + versionCodes.get(abi) 223 | } 224 | 225 | } 226 | } 227 | } 228 | 229 | dependencies { 230 | implementation fileTree(dir: "libs", include: ["*.jar"]) 231 | //noinspection GradleDynamicVersion 232 | implementation "com.facebook.react:react-native:+" // From node_modules 233 | 234 | implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" 235 | 236 | debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") { 237 | exclude group:'com.facebook.fbjni' 238 | } 239 | 240 | debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") { 241 | exclude group:'com.facebook.flipper' 242 | exclude group:'com.squareup.okhttp3', module:'okhttp' 243 | } 244 | 245 | debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") { 246 | exclude group:'com.facebook.flipper' 247 | } 248 | 249 | if (enableHermes) { 250 | def hermesPath = "../../node_modules/hermes-engine/android/"; 251 | debugImplementation files(hermesPath + "hermes-debug.aar") 252 | releaseImplementation files(hermesPath + "hermes-release.aar") 253 | } else { 254 | implementation jscFlavor 255 | } 256 | } 257 | 258 | // Run this once to be able to run the application with BUCK 259 | // puts all compile dependencies into folder libs for BUCK to use 260 | task copyDownloadableDepsToLibs(type: Copy) { 261 | from configurations.implementation 262 | into 'libs' 263 | } 264 | 265 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) -------------------------------------------------------------------------------- /android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] 15 | lib_deps.append(":" + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | -------------------------------------------------------------------------------- /android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/debug.keystore -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /android/app/src/debug/java/com/vesdkexample/ReactNativeFlipper.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | *

This source code is licensed under the MIT license found in the LICENSE file in the root 5 | * directory of this source tree. 6 | */ 7 | package com.vesdkexample; 8 | 9 | import android.content.Context; 10 | import com.facebook.flipper.android.AndroidFlipperClient; 11 | import com.facebook.flipper.android.utils.FlipperUtils; 12 | import com.facebook.flipper.core.FlipperClient; 13 | import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin; 14 | import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin; 15 | import com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin; 16 | import com.facebook.flipper.plugins.inspector.DescriptorMapping; 17 | import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin; 18 | import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor; 19 | import com.facebook.flipper.plugins.network.NetworkFlipperPlugin; 20 | import com.facebook.flipper.plugins.react.ReactFlipperPlugin; 21 | import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin; 22 | import com.facebook.react.ReactInstanceManager; 23 | import com.facebook.react.bridge.ReactContext; 24 | import com.facebook.react.modules.network.NetworkingModule; 25 | import okhttp3.OkHttpClient; 26 | 27 | public class ReactNativeFlipper { 28 | public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { 29 | if (FlipperUtils.shouldEnableFlipper(context)) { 30 | final FlipperClient client = AndroidFlipperClient.getInstance(context); 31 | 32 | client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults())); 33 | client.addPlugin(new ReactFlipperPlugin()); 34 | client.addPlugin(new DatabasesFlipperPlugin(context)); 35 | client.addPlugin(new SharedPreferencesFlipperPlugin(context)); 36 | client.addPlugin(CrashReporterPlugin.getInstance()); 37 | 38 | NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin(); 39 | NetworkingModule.setCustomClientBuilder( 40 | new NetworkingModule.CustomClientBuilder() { 41 | @Override 42 | public void apply(OkHttpClient.Builder builder) { 43 | builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin)); 44 | } 45 | }); 46 | client.addPlugin(networkFlipperPlugin); 47 | client.start(); 48 | 49 | // Fresco Plugin needs to ensure that ImagePipelineFactory is initialized 50 | // Hence we run if after all native modules have been initialized 51 | ReactContext reactContext = reactInstanceManager.getCurrentReactContext(); 52 | if (reactContext == null) { 53 | reactInstanceManager.addReactInstanceEventListener( 54 | new ReactInstanceManager.ReactInstanceEventListener() { 55 | @Override 56 | public void onReactContextInitialized(ReactContext reactContext) { 57 | reactInstanceManager.removeReactInstanceEventListener(this); 58 | reactContext.runOnNativeModulesQueueThread( 59 | new Runnable() { 60 | @Override 61 | public void run() { 62 | client.addPlugin(new FrescoFlipperPlugin()); 63 | } 64 | }); 65 | } 66 | }); 67 | } else { 68 | client.addPlugin(new FrescoFlipperPlugin()); 69 | } 70 | } 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/vesdkexample/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.vesdkexample; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. This is used to schedule 9 | * rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "VESDKExample"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/vesdkexample/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.vesdkexample; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | import com.facebook.react.PackageList; 6 | import com.facebook.react.ReactApplication; 7 | import com.facebook.react.ReactInstanceManager; 8 | import com.facebook.react.ReactNativeHost; 9 | import com.facebook.react.ReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | import java.lang.reflect.InvocationTargetException; 12 | import java.util.List; 13 | 14 | public class MainApplication extends Application implements ReactApplication { 15 | 16 | private final ReactNativeHost mReactNativeHost = 17 | new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | @SuppressWarnings("UnnecessaryLocalVariable") 26 | List packages = new PackageList(this).getPackages(); 27 | // Packages that cannot be autolinked yet can be added manually here, for example: 28 | // packages.add(new MyReactNativePackage()); 29 | return packages; 30 | } 31 | 32 | @Override 33 | protected String getJSMainModuleName() { 34 | return "index"; 35 | } 36 | }; 37 | 38 | @Override 39 | public ReactNativeHost getReactNativeHost() { 40 | return mReactNativeHost; 41 | } 42 | 43 | @Override 44 | public void onCreate() { 45 | super.onCreate(); 46 | SoLoader.init(this, /* native exopackage */ false); 47 | initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); 48 | } 49 | 50 | /** 51 | * Loads Flipper in React Native templates. Call this in the onCreate method with something like 52 | * initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); 53 | * 54 | * @param context 55 | * @param reactInstanceManager 56 | */ 57 | private static void initializeFlipper( 58 | Context context, ReactInstanceManager reactInstanceManager) { 59 | if (BuildConfig.DEBUG) { 60 | try { 61 | /* 62 | We use reflection here to pick up the class that initializes Flipper, 63 | since Flipper library is not available in release mode 64 | */ 65 | Class aClass = Class.forName("com.vesdkexample.ReactNativeFlipper"); 66 | aClass 67 | .getMethod("initializeFlipper", Context.class, ReactInstanceManager.class) 68 | .invoke(null, context, reactInstanceManager); 69 | } catch (ClassNotFoundException e) { 70 | e.printStackTrace(); 71 | } catch (NoSuchMethodException e) { 72 | e.printStackTrace(); 73 | } catch (IllegalAccessException e) { 74 | e.printStackTrace(); 75 | } catch (InvocationTargetException e) { 76 | e.printStackTrace(); 77 | } 78 | } 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32 | 34 | 36 | 38 | 40 | 42 | 44 | 46 | 48 | 50 | 52 | 54 | 56 | 58 | 60 | 62 | 64 | 66 | 68 | 70 | 72 | 74 | 75 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | VESDKExample 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | mavenCentral() 6 | maven { url "https://artifactory.img.ly/artifactory/imgly" } 7 | } 8 | dependencies { 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.32" 10 | classpath 'ly.img.android.sdk:plugin:10.0.1' 11 | } 12 | } 13 | 14 | buildscript { 15 | ext { 16 | buildToolsVersion = "31.0.0" 17 | minSdkVersion = 21 18 | compileSdkVersion = 31 19 | targetSdkVersion = 30 20 | ndkVersion = "21.4.7075529" 21 | } 22 | repositories { 23 | google() 24 | mavenCentral() 25 | } 26 | dependencies { 27 | classpath("com.android.tools.build:gradle:4.2.2") 28 | // NOTE: Do not place your application dependencies here; they belong 29 | // in the individual module build.gradle files 30 | } 31 | } 32 | 33 | allprojects { 34 | repositories { 35 | mavenCentral() 36 | mavenLocal() 37 | maven { 38 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 39 | url("$rootDir/../node_modules/react-native/android") 40 | } 41 | maven { 42 | // Android JSC is installed from npm 43 | url("$rootDir/../node_modules/jsc-android/dist") 44 | } 45 | 46 | google() 47 | maven { url 'https://www.jitpack.io' } 48 | } 49 | } 50 | 51 | allprojects { 52 | repositories { 53 | maven { url "https://artifactory.img.ly/artifactory/imgly" } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | # AndroidX package structure to make it clearer which packages are bundled with the 21 | # Android operating system, and which are packaged with your app's APK 22 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 23 | android.useAndroidX=true 24 | # Automatically convert third-party libraries to use AndroidX 25 | android.enableJetifier=true 26 | 27 | # Version of flipper SDK to use with React Native 28 | FLIPPER_VERSION=0.99.0 29 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | ## 21 | ## Gradle start up script for UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/" >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="Gradle" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 84 | 85 | 86 | # Determine the Java command to use to start the JVM. 87 | if [ -n "$JAVA_HOME" ] ; then 88 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 89 | # IBM's JDK on AIX uses strange locations for the executables 90 | JAVACMD="$JAVA_HOME/jre/sh/java" 91 | else 92 | JAVACMD="$JAVA_HOME/bin/java" 93 | fi 94 | if [ ! -x "$JAVACMD" ] ; then 95 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 96 | 97 | Please set the JAVA_HOME variable in your environment to match the 98 | location of your Java installation." 99 | fi 100 | else 101 | JAVACMD="java" 102 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 103 | 104 | Please set the JAVA_HOME variable in your environment to match the 105 | location of your Java installation." 106 | fi 107 | 108 | # Increase the maximum file descriptors if we can. 109 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 110 | MAX_FD_LIMIT=`ulimit -H -n` 111 | if [ $? -eq 0 ] ; then 112 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 113 | MAX_FD="$MAX_FD_LIMIT" 114 | fi 115 | ulimit -n $MAX_FD 116 | if [ $? -ne 0 ] ; then 117 | warn "Could not set maximum file descriptor limit: $MAX_FD" 118 | fi 119 | else 120 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 121 | fi 122 | fi 123 | 124 | # For Darwin, add options to specify how the application appears in the dock 125 | if $darwin; then 126 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 127 | fi 128 | 129 | # For Cygwin or MSYS, switch paths to Windows format before running java 130 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then 131 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 132 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 133 | 134 | JAVACMD=`cygpath --unix "$JAVACMD"` 135 | 136 | # We build the pattern for arguments to be converted via cygpath 137 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 138 | SEP="" 139 | for dir in $ROOTDIRSRAW ; do 140 | ROOTDIRS="$ROOTDIRS$SEP$dir" 141 | SEP="|" 142 | done 143 | OURCYGPATTERN="(^($ROOTDIRS))" 144 | # Add a user-defined pattern to the cygpath arguments 145 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 146 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 147 | fi 148 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 149 | i=0 150 | for arg in "$@" ; do 151 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 152 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 153 | 154 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 155 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 156 | else 157 | eval `echo args$i`="\"$arg\"" 158 | fi 159 | i=`expr $i + 1` 160 | done 161 | case $i in 162 | 0) set -- ;; 163 | 1) set -- "$args0" ;; 164 | 2) set -- "$args0" "$args1" ;; 165 | 3) set -- "$args0" "$args1" "$args2" ;; 166 | 4) set -- "$args0" "$args1" "$args2" "$args3" ;; 167 | 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 168 | 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 169 | 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 170 | 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 171 | 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 172 | esac 173 | fi 174 | 175 | # Escape application args 176 | save () { 177 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 178 | echo " " 179 | } 180 | APP_ARGS=`save "$@"` 181 | 182 | # Collect all arguments for the java command, following the shell quoting and substitution rules 183 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 184 | 185 | exec "$JAVACMD" "$@" 186 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 34 | 35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 37 | 38 | @rem Find java.exe 39 | if defined JAVA_HOME goto findJavaFromJavaHome 40 | 41 | set JAVA_EXE=java.exe 42 | %JAVA_EXE% -version >NUL 2>&1 43 | if "%ERRORLEVEL%" == "0" goto execute 44 | 45 | echo. 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 47 | echo. 48 | echo Please set the JAVA_HOME variable in your environment to match the 49 | echo location of your Java installation. 50 | 51 | goto fail 52 | 53 | :findJavaFromJavaHome 54 | set JAVA_HOME=%JAVA_HOME:"=% 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 56 | 57 | if exist "%JAVA_EXE%" goto execute 58 | 59 | echo. 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 61 | echo. 62 | echo Please set the JAVA_HOME variable in your environment to match the 63 | echo location of your Java installation. 64 | 65 | goto fail 66 | 67 | :execute 68 | @rem Setup the command line 69 | 70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 71 | 72 | 73 | @rem Execute Gradle 74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 75 | 76 | :end 77 | @rem End local scope for the variables with windows NT shell 78 | if "%ERRORLEVEL%"=="0" goto mainEnd 79 | 80 | :fail 81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 82 | rem the _cmd.exe /c_ return code! 83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 84 | exit /b 1 85 | 86 | :mainEnd 87 | if "%OS%"=="Windows_NT" endlocal 88 | 89 | :omega 90 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'VESDKExample' 2 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 3 | include ':app' 4 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VESDKExample", 3 | "displayName": "VESDKExample" 4 | } -------------------------------------------------------------------------------- /assets/DJ.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/assets/DJ.mp4 -------------------------------------------------------------------------------- /assets/DanceHarder.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/assets/DanceHarder.mp3 -------------------------------------------------------------------------------- /assets/Elsewhere.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/assets/Elsewhere.mp3 -------------------------------------------------------------------------------- /assets/Igor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/assets/Igor.png -------------------------------------------------------------------------------- /assets/Notes.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/assets/Notes.mp4 -------------------------------------------------------------------------------- /assets/React.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/assets/React.png -------------------------------------------------------------------------------- /assets/Skater.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/assets/Skater.mp4 -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | require_relative '../node_modules/react-native/scripts/react_native_pods' 2 | require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' 3 | 4 | platform :ios, '11.0' 5 | 6 | target 'VESDKExample' do 7 | config = use_native_modules! 8 | 9 | use_react_native!( 10 | :path => config[:reactNativePath], 11 | # to enable hermes on iOS, change `false` to `true` and then install pods 12 | :hermes_enabled => false 13 | ) 14 | 15 | target 'VESDKExampleTests' do 16 | inherit! :complete 17 | # Pods for testing 18 | end 19 | 20 | # Enables Flipper. 21 | # 22 | # Note that if you have use_frameworks! enabled, Flipper will not work and 23 | # you should disable the next line. 24 | use_flipper!() 25 | 26 | post_install do |installer| 27 | react_native_post_install(installer) 28 | __apply_Xcode_12_5_M1_post_install_workaround(installer) 29 | end 30 | end 31 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - boost (1.76.0) 3 | - CocoaAsyncSocket (7.6.5) 4 | - DoubleConversion (1.1.6) 5 | - FBLazyVector (0.66.3) 6 | - FBReactNativeSpec (0.66.3): 7 | - RCT-Folly (= 2021.06.28.00-v2) 8 | - RCTRequired (= 0.66.3) 9 | - RCTTypeSafety (= 0.66.3) 10 | - React-Core (= 0.66.3) 11 | - React-jsi (= 0.66.3) 12 | - ReactCommon/turbomodule/core (= 0.66.3) 13 | - Flipper (0.99.0): 14 | - Flipper-Folly (~> 2.6) 15 | - Flipper-RSocket (~> 1.4) 16 | - Flipper-Boost-iOSX (1.76.0.1.11) 17 | - Flipper-DoubleConversion (3.1.7) 18 | - Flipper-Fmt (7.1.7) 19 | - Flipper-Folly (2.6.7): 20 | - Flipper-Boost-iOSX 21 | - Flipper-DoubleConversion 22 | - Flipper-Fmt (= 7.1.7) 23 | - Flipper-Glog 24 | - libevent (~> 2.1.12) 25 | - OpenSSL-Universal (= 1.1.180) 26 | - Flipper-Glog (0.3.6) 27 | - Flipper-PeerTalk (0.0.4) 28 | - Flipper-RSocket (1.4.3): 29 | - Flipper-Folly (~> 2.6) 30 | - FlipperKit (0.99.0): 31 | - FlipperKit/Core (= 0.99.0) 32 | - FlipperKit/Core (0.99.0): 33 | - Flipper (~> 0.99.0) 34 | - FlipperKit/CppBridge 35 | - FlipperKit/FBCxxFollyDynamicConvert 36 | - FlipperKit/FBDefines 37 | - FlipperKit/FKPortForwarding 38 | - FlipperKit/CppBridge (0.99.0): 39 | - Flipper (~> 0.99.0) 40 | - FlipperKit/FBCxxFollyDynamicConvert (0.99.0): 41 | - Flipper-Folly (~> 2.6) 42 | - FlipperKit/FBDefines (0.99.0) 43 | - FlipperKit/FKPortForwarding (0.99.0): 44 | - CocoaAsyncSocket (~> 7.6) 45 | - Flipper-PeerTalk (~> 0.0.4) 46 | - FlipperKit/FlipperKitHighlightOverlay (0.99.0) 47 | - FlipperKit/FlipperKitLayoutHelpers (0.99.0): 48 | - FlipperKit/Core 49 | - FlipperKit/FlipperKitHighlightOverlay 50 | - FlipperKit/FlipperKitLayoutTextSearchable 51 | - FlipperKit/FlipperKitLayoutIOSDescriptors (0.99.0): 52 | - FlipperKit/Core 53 | - FlipperKit/FlipperKitHighlightOverlay 54 | - FlipperKit/FlipperKitLayoutHelpers 55 | - YogaKit (~> 1.18) 56 | - FlipperKit/FlipperKitLayoutPlugin (0.99.0): 57 | - FlipperKit/Core 58 | - FlipperKit/FlipperKitHighlightOverlay 59 | - FlipperKit/FlipperKitLayoutHelpers 60 | - FlipperKit/FlipperKitLayoutIOSDescriptors 61 | - FlipperKit/FlipperKitLayoutTextSearchable 62 | - YogaKit (~> 1.18) 63 | - FlipperKit/FlipperKitLayoutTextSearchable (0.99.0) 64 | - FlipperKit/FlipperKitNetworkPlugin (0.99.0): 65 | - FlipperKit/Core 66 | - FlipperKit/FlipperKitReactPlugin (0.99.0): 67 | - FlipperKit/Core 68 | - FlipperKit/FlipperKitUserDefaultsPlugin (0.99.0): 69 | - FlipperKit/Core 70 | - FlipperKit/SKIOSNetworkPlugin (0.99.0): 71 | - FlipperKit/Core 72 | - FlipperKit/FlipperKitNetworkPlugin 73 | - fmt (6.2.1) 74 | - glog (0.3.5) 75 | - imglyKit (10.30.0) 76 | - libevent (2.1.12) 77 | - OpenSSL-Universal (1.1.180) 78 | - RCT-Folly (2021.06.28.00-v2): 79 | - boost 80 | - DoubleConversion 81 | - fmt (~> 6.2.1) 82 | - glog 83 | - RCT-Folly/Default (= 2021.06.28.00-v2) 84 | - RCT-Folly/Default (2021.06.28.00-v2): 85 | - boost 86 | - DoubleConversion 87 | - fmt (~> 6.2.1) 88 | - glog 89 | - RCTRequired (0.66.3) 90 | - RCTTypeSafety (0.66.3): 91 | - FBLazyVector (= 0.66.3) 92 | - RCT-Folly (= 2021.06.28.00-v2) 93 | - RCTRequired (= 0.66.3) 94 | - React-Core (= 0.66.3) 95 | - React (0.66.3): 96 | - React-Core (= 0.66.3) 97 | - React-Core/DevSupport (= 0.66.3) 98 | - React-Core/RCTWebSocket (= 0.66.3) 99 | - React-RCTActionSheet (= 0.66.3) 100 | - React-RCTAnimation (= 0.66.3) 101 | - React-RCTBlob (= 0.66.3) 102 | - React-RCTImage (= 0.66.3) 103 | - React-RCTLinking (= 0.66.3) 104 | - React-RCTNetwork (= 0.66.3) 105 | - React-RCTSettings (= 0.66.3) 106 | - React-RCTText (= 0.66.3) 107 | - React-RCTVibration (= 0.66.3) 108 | - React-callinvoker (0.66.3) 109 | - React-Core (0.66.3): 110 | - glog 111 | - RCT-Folly (= 2021.06.28.00-v2) 112 | - React-Core/Default (= 0.66.3) 113 | - React-cxxreact (= 0.66.3) 114 | - React-jsi (= 0.66.3) 115 | - React-jsiexecutor (= 0.66.3) 116 | - React-perflogger (= 0.66.3) 117 | - Yoga 118 | - React-Core/CoreModulesHeaders (0.66.3): 119 | - glog 120 | - RCT-Folly (= 2021.06.28.00-v2) 121 | - React-Core/Default 122 | - React-cxxreact (= 0.66.3) 123 | - React-jsi (= 0.66.3) 124 | - React-jsiexecutor (= 0.66.3) 125 | - React-perflogger (= 0.66.3) 126 | - Yoga 127 | - React-Core/Default (0.66.3): 128 | - glog 129 | - RCT-Folly (= 2021.06.28.00-v2) 130 | - React-cxxreact (= 0.66.3) 131 | - React-jsi (= 0.66.3) 132 | - React-jsiexecutor (= 0.66.3) 133 | - React-perflogger (= 0.66.3) 134 | - Yoga 135 | - React-Core/DevSupport (0.66.3): 136 | - glog 137 | - RCT-Folly (= 2021.06.28.00-v2) 138 | - React-Core/Default (= 0.66.3) 139 | - React-Core/RCTWebSocket (= 0.66.3) 140 | - React-cxxreact (= 0.66.3) 141 | - React-jsi (= 0.66.3) 142 | - React-jsiexecutor (= 0.66.3) 143 | - React-jsinspector (= 0.66.3) 144 | - React-perflogger (= 0.66.3) 145 | - Yoga 146 | - React-Core/RCTActionSheetHeaders (0.66.3): 147 | - glog 148 | - RCT-Folly (= 2021.06.28.00-v2) 149 | - React-Core/Default 150 | - React-cxxreact (= 0.66.3) 151 | - React-jsi (= 0.66.3) 152 | - React-jsiexecutor (= 0.66.3) 153 | - React-perflogger (= 0.66.3) 154 | - Yoga 155 | - React-Core/RCTAnimationHeaders (0.66.3): 156 | - glog 157 | - RCT-Folly (= 2021.06.28.00-v2) 158 | - React-Core/Default 159 | - React-cxxreact (= 0.66.3) 160 | - React-jsi (= 0.66.3) 161 | - React-jsiexecutor (= 0.66.3) 162 | - React-perflogger (= 0.66.3) 163 | - Yoga 164 | - React-Core/RCTBlobHeaders (0.66.3): 165 | - glog 166 | - RCT-Folly (= 2021.06.28.00-v2) 167 | - React-Core/Default 168 | - React-cxxreact (= 0.66.3) 169 | - React-jsi (= 0.66.3) 170 | - React-jsiexecutor (= 0.66.3) 171 | - React-perflogger (= 0.66.3) 172 | - Yoga 173 | - React-Core/RCTImageHeaders (0.66.3): 174 | - glog 175 | - RCT-Folly (= 2021.06.28.00-v2) 176 | - React-Core/Default 177 | - React-cxxreact (= 0.66.3) 178 | - React-jsi (= 0.66.3) 179 | - React-jsiexecutor (= 0.66.3) 180 | - React-perflogger (= 0.66.3) 181 | - Yoga 182 | - React-Core/RCTLinkingHeaders (0.66.3): 183 | - glog 184 | - RCT-Folly (= 2021.06.28.00-v2) 185 | - React-Core/Default 186 | - React-cxxreact (= 0.66.3) 187 | - React-jsi (= 0.66.3) 188 | - React-jsiexecutor (= 0.66.3) 189 | - React-perflogger (= 0.66.3) 190 | - Yoga 191 | - React-Core/RCTNetworkHeaders (0.66.3): 192 | - glog 193 | - RCT-Folly (= 2021.06.28.00-v2) 194 | - React-Core/Default 195 | - React-cxxreact (= 0.66.3) 196 | - React-jsi (= 0.66.3) 197 | - React-jsiexecutor (= 0.66.3) 198 | - React-perflogger (= 0.66.3) 199 | - Yoga 200 | - React-Core/RCTSettingsHeaders (0.66.3): 201 | - glog 202 | - RCT-Folly (= 2021.06.28.00-v2) 203 | - React-Core/Default 204 | - React-cxxreact (= 0.66.3) 205 | - React-jsi (= 0.66.3) 206 | - React-jsiexecutor (= 0.66.3) 207 | - React-perflogger (= 0.66.3) 208 | - Yoga 209 | - React-Core/RCTTextHeaders (0.66.3): 210 | - glog 211 | - RCT-Folly (= 2021.06.28.00-v2) 212 | - React-Core/Default 213 | - React-cxxreact (= 0.66.3) 214 | - React-jsi (= 0.66.3) 215 | - React-jsiexecutor (= 0.66.3) 216 | - React-perflogger (= 0.66.3) 217 | - Yoga 218 | - React-Core/RCTVibrationHeaders (0.66.3): 219 | - glog 220 | - RCT-Folly (= 2021.06.28.00-v2) 221 | - React-Core/Default 222 | - React-cxxreact (= 0.66.3) 223 | - React-jsi (= 0.66.3) 224 | - React-jsiexecutor (= 0.66.3) 225 | - React-perflogger (= 0.66.3) 226 | - Yoga 227 | - React-Core/RCTWebSocket (0.66.3): 228 | - glog 229 | - RCT-Folly (= 2021.06.28.00-v2) 230 | - React-Core/Default (= 0.66.3) 231 | - React-cxxreact (= 0.66.3) 232 | - React-jsi (= 0.66.3) 233 | - React-jsiexecutor (= 0.66.3) 234 | - React-perflogger (= 0.66.3) 235 | - Yoga 236 | - React-CoreModules (0.66.3): 237 | - FBReactNativeSpec (= 0.66.3) 238 | - RCT-Folly (= 2021.06.28.00-v2) 239 | - RCTTypeSafety (= 0.66.3) 240 | - React-Core/CoreModulesHeaders (= 0.66.3) 241 | - React-jsi (= 0.66.3) 242 | - React-RCTImage (= 0.66.3) 243 | - ReactCommon/turbomodule/core (= 0.66.3) 244 | - React-cxxreact (0.66.3): 245 | - boost (= 1.76.0) 246 | - DoubleConversion 247 | - glog 248 | - RCT-Folly (= 2021.06.28.00-v2) 249 | - React-callinvoker (= 0.66.3) 250 | - React-jsi (= 0.66.3) 251 | - React-jsinspector (= 0.66.3) 252 | - React-logger (= 0.66.3) 253 | - React-perflogger (= 0.66.3) 254 | - React-runtimeexecutor (= 0.66.3) 255 | - React-jsi (0.66.3): 256 | - boost (= 1.76.0) 257 | - DoubleConversion 258 | - glog 259 | - RCT-Folly (= 2021.06.28.00-v2) 260 | - React-jsi/Default (= 0.66.3) 261 | - React-jsi/Default (0.66.3): 262 | - boost (= 1.76.0) 263 | - DoubleConversion 264 | - glog 265 | - RCT-Folly (= 2021.06.28.00-v2) 266 | - React-jsiexecutor (0.66.3): 267 | - DoubleConversion 268 | - glog 269 | - RCT-Folly (= 2021.06.28.00-v2) 270 | - React-cxxreact (= 0.66.3) 271 | - React-jsi (= 0.66.3) 272 | - React-perflogger (= 0.66.3) 273 | - React-jsinspector (0.66.3) 274 | - React-logger (0.66.3): 275 | - glog 276 | - React-perflogger (0.66.3) 277 | - React-RCTActionSheet (0.66.3): 278 | - React-Core/RCTActionSheetHeaders (= 0.66.3) 279 | - React-RCTAnimation (0.66.3): 280 | - FBReactNativeSpec (= 0.66.3) 281 | - RCT-Folly (= 2021.06.28.00-v2) 282 | - RCTTypeSafety (= 0.66.3) 283 | - React-Core/RCTAnimationHeaders (= 0.66.3) 284 | - React-jsi (= 0.66.3) 285 | - ReactCommon/turbomodule/core (= 0.66.3) 286 | - React-RCTBlob (0.66.3): 287 | - FBReactNativeSpec (= 0.66.3) 288 | - RCT-Folly (= 2021.06.28.00-v2) 289 | - React-Core/RCTBlobHeaders (= 0.66.3) 290 | - React-Core/RCTWebSocket (= 0.66.3) 291 | - React-jsi (= 0.66.3) 292 | - React-RCTNetwork (= 0.66.3) 293 | - ReactCommon/turbomodule/core (= 0.66.3) 294 | - React-RCTImage (0.66.3): 295 | - FBReactNativeSpec (= 0.66.3) 296 | - RCT-Folly (= 2021.06.28.00-v2) 297 | - RCTTypeSafety (= 0.66.3) 298 | - React-Core/RCTImageHeaders (= 0.66.3) 299 | - React-jsi (= 0.66.3) 300 | - React-RCTNetwork (= 0.66.3) 301 | - ReactCommon/turbomodule/core (= 0.66.3) 302 | - React-RCTLinking (0.66.3): 303 | - FBReactNativeSpec (= 0.66.3) 304 | - React-Core/RCTLinkingHeaders (= 0.66.3) 305 | - React-jsi (= 0.66.3) 306 | - ReactCommon/turbomodule/core (= 0.66.3) 307 | - React-RCTNetwork (0.66.3): 308 | - FBReactNativeSpec (= 0.66.3) 309 | - RCT-Folly (= 2021.06.28.00-v2) 310 | - RCTTypeSafety (= 0.66.3) 311 | - React-Core/RCTNetworkHeaders (= 0.66.3) 312 | - React-jsi (= 0.66.3) 313 | - ReactCommon/turbomodule/core (= 0.66.3) 314 | - React-RCTSettings (0.66.3): 315 | - FBReactNativeSpec (= 0.66.3) 316 | - RCT-Folly (= 2021.06.28.00-v2) 317 | - RCTTypeSafety (= 0.66.3) 318 | - React-Core/RCTSettingsHeaders (= 0.66.3) 319 | - React-jsi (= 0.66.3) 320 | - ReactCommon/turbomodule/core (= 0.66.3) 321 | - React-RCTText (0.66.3): 322 | - React-Core/RCTTextHeaders (= 0.66.3) 323 | - React-RCTVibration (0.66.3): 324 | - FBReactNativeSpec (= 0.66.3) 325 | - RCT-Folly (= 2021.06.28.00-v2) 326 | - React-Core/RCTVibrationHeaders (= 0.66.3) 327 | - React-jsi (= 0.66.3) 328 | - ReactCommon/turbomodule/core (= 0.66.3) 329 | - React-runtimeexecutor (0.66.3): 330 | - React-jsi (= 0.66.3) 331 | - ReactCommon/turbomodule/core (0.66.3): 332 | - DoubleConversion 333 | - glog 334 | - RCT-Folly (= 2021.06.28.00-v2) 335 | - React-callinvoker (= 0.66.3) 336 | - React-Core (= 0.66.3) 337 | - React-cxxreact (= 0.66.3) 338 | - React-jsi (= 0.66.3) 339 | - React-logger (= 0.66.3) 340 | - React-perflogger (= 0.66.3) 341 | - RNVideoEditorSDK (2.13.1): 342 | - React 343 | - React-RCTImage 344 | - VideoEditorSDK (~> 10.29) 345 | - VideoEditorSDK (10.30.0): 346 | - imglyKit (= 10.30.0) 347 | - Yoga (1.14.0) 348 | - YogaKit (1.18.1): 349 | - Yoga (~> 1.14) 350 | 351 | DEPENDENCIES: 352 | - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) 353 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) 354 | - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) 355 | - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) 356 | - Flipper (= 0.99.0) 357 | - Flipper-Boost-iOSX (= 1.76.0.1.11) 358 | - Flipper-DoubleConversion (= 3.1.7) 359 | - Flipper-Fmt (= 7.1.7) 360 | - Flipper-Folly (= 2.6.7) 361 | - Flipper-Glog (= 0.3.6) 362 | - Flipper-PeerTalk (= 0.0.4) 363 | - Flipper-RSocket (= 1.4.3) 364 | - FlipperKit (= 0.99.0) 365 | - FlipperKit/Core (= 0.99.0) 366 | - FlipperKit/CppBridge (= 0.99.0) 367 | - FlipperKit/FBCxxFollyDynamicConvert (= 0.99.0) 368 | - FlipperKit/FBDefines (= 0.99.0) 369 | - FlipperKit/FKPortForwarding (= 0.99.0) 370 | - FlipperKit/FlipperKitHighlightOverlay (= 0.99.0) 371 | - FlipperKit/FlipperKitLayoutPlugin (= 0.99.0) 372 | - FlipperKit/FlipperKitLayoutTextSearchable (= 0.99.0) 373 | - FlipperKit/FlipperKitNetworkPlugin (= 0.99.0) 374 | - FlipperKit/FlipperKitReactPlugin (= 0.99.0) 375 | - FlipperKit/FlipperKitUserDefaultsPlugin (= 0.99.0) 376 | - FlipperKit/SKIOSNetworkPlugin (= 0.99.0) 377 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) 378 | - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) 379 | - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) 380 | - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) 381 | - React (from `../node_modules/react-native/`) 382 | - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) 383 | - React-Core (from `../node_modules/react-native/`) 384 | - React-Core/DevSupport (from `../node_modules/react-native/`) 385 | - React-Core/RCTWebSocket (from `../node_modules/react-native/`) 386 | - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) 387 | - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) 388 | - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) 389 | - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) 390 | - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) 391 | - React-logger (from `../node_modules/react-native/ReactCommon/logger`) 392 | - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) 393 | - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) 394 | - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) 395 | - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) 396 | - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) 397 | - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) 398 | - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) 399 | - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) 400 | - React-RCTText (from `../node_modules/react-native/Libraries/Text`) 401 | - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) 402 | - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) 403 | - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) 404 | - RNVideoEditorSDK (from `../node_modules/react-native-videoeditorsdk`) 405 | - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) 406 | 407 | SPEC REPOS: 408 | trunk: 409 | - CocoaAsyncSocket 410 | - Flipper 411 | - Flipper-Boost-iOSX 412 | - Flipper-DoubleConversion 413 | - Flipper-Fmt 414 | - Flipper-Folly 415 | - Flipper-Glog 416 | - Flipper-PeerTalk 417 | - Flipper-RSocket 418 | - FlipperKit 419 | - fmt 420 | - imglyKit 421 | - libevent 422 | - OpenSSL-Universal 423 | - VideoEditorSDK 424 | - YogaKit 425 | 426 | EXTERNAL SOURCES: 427 | boost: 428 | :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" 429 | DoubleConversion: 430 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" 431 | FBLazyVector: 432 | :path: "../node_modules/react-native/Libraries/FBLazyVector" 433 | FBReactNativeSpec: 434 | :path: "../node_modules/react-native/React/FBReactNativeSpec" 435 | glog: 436 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" 437 | RCT-Folly: 438 | :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" 439 | RCTRequired: 440 | :path: "../node_modules/react-native/Libraries/RCTRequired" 441 | RCTTypeSafety: 442 | :path: "../node_modules/react-native/Libraries/TypeSafety" 443 | React: 444 | :path: "../node_modules/react-native/" 445 | React-callinvoker: 446 | :path: "../node_modules/react-native/ReactCommon/callinvoker" 447 | React-Core: 448 | :path: "../node_modules/react-native/" 449 | React-CoreModules: 450 | :path: "../node_modules/react-native/React/CoreModules" 451 | React-cxxreact: 452 | :path: "../node_modules/react-native/ReactCommon/cxxreact" 453 | React-jsi: 454 | :path: "../node_modules/react-native/ReactCommon/jsi" 455 | React-jsiexecutor: 456 | :path: "../node_modules/react-native/ReactCommon/jsiexecutor" 457 | React-jsinspector: 458 | :path: "../node_modules/react-native/ReactCommon/jsinspector" 459 | React-logger: 460 | :path: "../node_modules/react-native/ReactCommon/logger" 461 | React-perflogger: 462 | :path: "../node_modules/react-native/ReactCommon/reactperflogger" 463 | React-RCTActionSheet: 464 | :path: "../node_modules/react-native/Libraries/ActionSheetIOS" 465 | React-RCTAnimation: 466 | :path: "../node_modules/react-native/Libraries/NativeAnimation" 467 | React-RCTBlob: 468 | :path: "../node_modules/react-native/Libraries/Blob" 469 | React-RCTImage: 470 | :path: "../node_modules/react-native/Libraries/Image" 471 | React-RCTLinking: 472 | :path: "../node_modules/react-native/Libraries/LinkingIOS" 473 | React-RCTNetwork: 474 | :path: "../node_modules/react-native/Libraries/Network" 475 | React-RCTSettings: 476 | :path: "../node_modules/react-native/Libraries/Settings" 477 | React-RCTText: 478 | :path: "../node_modules/react-native/Libraries/Text" 479 | React-RCTVibration: 480 | :path: "../node_modules/react-native/Libraries/Vibration" 481 | React-runtimeexecutor: 482 | :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" 483 | ReactCommon: 484 | :path: "../node_modules/react-native/ReactCommon" 485 | RNVideoEditorSDK: 486 | :path: "../node_modules/react-native-videoeditorsdk" 487 | Yoga: 488 | :path: "../node_modules/react-native/ReactCommon/yoga" 489 | 490 | SPEC CHECKSUMS: 491 | boost: a7c83b31436843459a1961bfd74b96033dc77234 492 | CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 493 | DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662 494 | FBLazyVector: de148e8310b8b878db304ceea2fec13f2c02e3a0 495 | FBReactNativeSpec: 6192956c9e346013d5f1809ba049af720b11c6a4 496 | Flipper: 30e8eeeed6abdc98edaf32af0cda2f198be4b733 497 | Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c 498 | Flipper-DoubleConversion: 57ffbe81ef95306cc9e69c4aa3aeeeeb58a6a28c 499 | Flipper-Fmt: 60cbdd92fc254826e61d669a5d87ef7015396a9b 500 | Flipper-Folly: 83af37379faa69497529e414bd43fbfc7cae259a 501 | Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6 502 | Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9 503 | Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541 504 | FlipperKit: d8d346844eca5d9120c17d441a2f38596e8ed2b9 505 | fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 506 | glog: 5337263514dd6f09803962437687240c5dc39aa4 507 | imglyKit: d5f3091f9980b97728c05b4144513b139313d8d7 508 | libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 509 | OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b 510 | RCT-Folly: a21c126816d8025b547704b777a2ba552f3d9fa9 511 | RCTRequired: 59d2b744d8c2bf2d9bc7032a9f654809adcf7d50 512 | RCTTypeSafety: d0aaf7ccae5c70a4aaa3a5c3e9e0db97efae760e 513 | React: fbe655dd1d12c052299b61abdc576720098d80fc 514 | React-callinvoker: a535746608d9bc8b1dea7095ed4d8d3d7aae9a05 515 | React-Core: 008d2638c4f80b189c8e170ff2d241027ec517fd 516 | React-CoreModules: 91c9a03f4e1b74494c087d9c9a29e89a3145c228 517 | React-cxxreact: 9c462fb6d59f865855e2dee2097c7d87b3d2de49 518 | React-jsi: 4de8b8d70ba4ed841eb9b772bdb719f176387e21 519 | React-jsiexecutor: 433a691aee158533a6a6ee9c86cb4a1684fa2853 520 | React-jsinspector: d9c8eb0b53f0da206fed56612b289fec84991157 521 | React-logger: e522e76fa3e9ec3e7d7115b49485cc065cf4ae06 522 | React-perflogger: 73732888d37d4f5065198727b167846743232882 523 | React-RCTActionSheet: 96c6d774fa89b1f7c59fc460adc3245ba2d7fd79 524 | React-RCTAnimation: 8940cfd3a8640bd6f6372150dbdb83a79bcbae6c 525 | React-RCTBlob: e80de5fdf952a4f226a00fc54f3db526809f92f7 526 | React-RCTImage: f990d6b272c7e89ff864caf0bccfb620ab3ca5d0 527 | React-RCTLinking: 2280ed0d5ffb78954b484b90228d597b5f941c5f 528 | React-RCTNetwork: 1359fa853c216616e711b810dcb8682a6a8e7564 529 | React-RCTSettings: 84958860aaa3639f0249e751ea7702c62eb67188 530 | React-RCTText: 196cf06b8cb6229d8c6dd9fc9057bdf97db5d3fb 531 | React-RCTVibration: 50cfe7049167cfc7e83ac5542c6fff0c76791a9b 532 | React-runtimeexecutor: bbbdb3d8fcf327c6e2249ee71b6ef1764b7dc266 533 | ReactCommon: 9bac022ab71596f2b0fde1268272543184c63971 534 | RNVideoEditorSDK: 98a74195e4ada38114bc544442834ccd1a176983 535 | VideoEditorSDK: beec18f11c5564c6910d05eea945126e01e6f389 536 | Yoga: 32a18c0e845e185f4a2a66ec76e1fd1f958f22fa 537 | YogaKit: f782866e155069a2cca2517aafea43200b01fd5a 538 | 539 | PODFILE CHECKSUM: 50898bd1f51c80dbbb35a19ac51009f84ed381c1 540 | 541 | COCOAPODS: 1.11.2 542 | -------------------------------------------------------------------------------- /ios/VESDKExample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00E356F31AD99517003FC87E /* VESDKExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* VESDKExampleTests.m */; }; 11 | 02A52AD4CA0B13022507740C /* libPods-VESDKExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 903D1C04F5BB10CE5F2EBAA2 /* libPods-VESDKExample.a */; }; 12 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 13 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 14 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 15 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; 16 | CEAA458A28B981620E36F22A /* libPods-VESDKExample-VESDKExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FB355BAD87B3B2251C611660 /* libPods-VESDKExample-VESDKExampleTests.a */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 25 | remoteInfo = VESDKExample; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 00E356EE1AD99517003FC87E /* VESDKExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = VESDKExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 32 | 00E356F21AD99517003FC87E /* VESDKExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VESDKExampleTests.m; sourceTree = ""; }; 33 | 13B07F961A680F5B00A75B9A /* VESDKExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VESDKExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = VESDKExample/AppDelegate.h; sourceTree = ""; }; 35 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = VESDKExample/AppDelegate.m; sourceTree = ""; }; 36 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = VESDKExample/Images.xcassets; sourceTree = ""; }; 37 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = VESDKExample/Info.plist; sourceTree = ""; }; 38 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = VESDKExample/main.m; sourceTree = ""; }; 39 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = VESDKExample/LaunchScreen.storyboard; sourceTree = ""; }; 40 | 903D1C04F5BB10CE5F2EBAA2 /* libPods-VESDKExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-VESDKExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 9737FF9C8D752F7A0BED8525 /* Pods-VESDKExample-VESDKExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VESDKExample-VESDKExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-VESDKExample-VESDKExampleTests/Pods-VESDKExample-VESDKExampleTests.debug.xcconfig"; sourceTree = ""; }; 42 | A0B30C61D6C4189D21B4A02D /* Pods-VESDKExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VESDKExample.release.xcconfig"; path = "Target Support Files/Pods-VESDKExample/Pods-VESDKExample.release.xcconfig"; sourceTree = ""; }; 43 | D581929438A5B0213106FE37 /* Pods-VESDKExample-VESDKExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VESDKExample-VESDKExampleTests.release.xcconfig"; path = "Target Support Files/Pods-VESDKExample-VESDKExampleTests/Pods-VESDKExample-VESDKExampleTests.release.xcconfig"; sourceTree = ""; }; 44 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 45 | FB355BAD87B3B2251C611660 /* libPods-VESDKExample-VESDKExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-VESDKExample-VESDKExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | FFBAC712E30CA63114818D8B /* Pods-VESDKExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VESDKExample.debug.xcconfig"; path = "Target Support Files/Pods-VESDKExample/Pods-VESDKExample.debug.xcconfig"; sourceTree = ""; }; 47 | /* End PBXFileReference section */ 48 | 49 | /* Begin PBXFrameworksBuildPhase section */ 50 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 51 | isa = PBXFrameworksBuildPhase; 52 | buildActionMask = 2147483647; 53 | files = ( 54 | CEAA458A28B981620E36F22A /* libPods-VESDKExample-VESDKExampleTests.a in Frameworks */, 55 | ); 56 | runOnlyForDeploymentPostprocessing = 0; 57 | }; 58 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 59 | isa = PBXFrameworksBuildPhase; 60 | buildActionMask = 2147483647; 61 | files = ( 62 | 02A52AD4CA0B13022507740C /* libPods-VESDKExample.a in Frameworks */, 63 | ); 64 | runOnlyForDeploymentPostprocessing = 0; 65 | }; 66 | /* End PBXFrameworksBuildPhase section */ 67 | 68 | /* Begin PBXGroup section */ 69 | 00E356EF1AD99517003FC87E /* VESDKExampleTests */ = { 70 | isa = PBXGroup; 71 | children = ( 72 | 00E356F21AD99517003FC87E /* VESDKExampleTests.m */, 73 | 00E356F01AD99517003FC87E /* Supporting Files */, 74 | ); 75 | path = VESDKExampleTests; 76 | sourceTree = ""; 77 | }; 78 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 00E356F11AD99517003FC87E /* Info.plist */, 82 | ); 83 | name = "Supporting Files"; 84 | sourceTree = ""; 85 | }; 86 | 0CEBF433076ECE0725ED31D4 /* Pods */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | FFBAC712E30CA63114818D8B /* Pods-VESDKExample.debug.xcconfig */, 90 | A0B30C61D6C4189D21B4A02D /* Pods-VESDKExample.release.xcconfig */, 91 | 9737FF9C8D752F7A0BED8525 /* Pods-VESDKExample-VESDKExampleTests.debug.xcconfig */, 92 | D581929438A5B0213106FE37 /* Pods-VESDKExample-VESDKExampleTests.release.xcconfig */, 93 | ); 94 | name = Pods; 95 | path = Pods; 96 | sourceTree = ""; 97 | }; 98 | 13B07FAE1A68108700A75B9A /* VESDKExample */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 102 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 103 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 104 | 13B07FB61A68108700A75B9A /* Info.plist */, 105 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 106 | 13B07FB71A68108700A75B9A /* main.m */, 107 | ); 108 | name = VESDKExample; 109 | sourceTree = ""; 110 | }; 111 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 112 | isa = PBXGroup; 113 | children = ( 114 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 115 | 903D1C04F5BB10CE5F2EBAA2 /* libPods-VESDKExample.a */, 116 | FB355BAD87B3B2251C611660 /* libPods-VESDKExample-VESDKExampleTests.a */, 117 | ); 118 | name = Frameworks; 119 | sourceTree = ""; 120 | }; 121 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | ); 125 | name = Libraries; 126 | sourceTree = ""; 127 | }; 128 | 83CBB9F61A601CBA00E9B192 = { 129 | isa = PBXGroup; 130 | children = ( 131 | 13B07FAE1A68108700A75B9A /* VESDKExample */, 132 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 133 | 00E356EF1AD99517003FC87E /* VESDKExampleTests */, 134 | 83CBBA001A601CBA00E9B192 /* Products */, 135 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 136 | 0CEBF433076ECE0725ED31D4 /* Pods */, 137 | ); 138 | indentWidth = 2; 139 | sourceTree = ""; 140 | tabWidth = 2; 141 | usesTabs = 0; 142 | }; 143 | 83CBBA001A601CBA00E9B192 /* Products */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 13B07F961A680F5B00A75B9A /* VESDKExample.app */, 147 | 00E356EE1AD99517003FC87E /* VESDKExampleTests.xctest */, 148 | ); 149 | name = Products; 150 | sourceTree = ""; 151 | }; 152 | /* End PBXGroup section */ 153 | 154 | /* Begin PBXNativeTarget section */ 155 | 00E356ED1AD99517003FC87E /* VESDKExampleTests */ = { 156 | isa = PBXNativeTarget; 157 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "VESDKExampleTests" */; 158 | buildPhases = ( 159 | 614F9D067443F249288C193B /* [CP] Check Pods Manifest.lock */, 160 | 00E356EA1AD99517003FC87E /* Sources */, 161 | 00E356EB1AD99517003FC87E /* Frameworks */, 162 | 00E356EC1AD99517003FC87E /* Resources */, 163 | 86F77C1ABCF5CF236B6334BC /* [CP] Embed Pods Frameworks */, 164 | 3782FC41D2BC4E87C6E8EAA3 /* [CP] Copy Pods Resources */, 165 | ); 166 | buildRules = ( 167 | ); 168 | dependencies = ( 169 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 170 | ); 171 | name = VESDKExampleTests; 172 | productName = VESDKExampleTests; 173 | productReference = 00E356EE1AD99517003FC87E /* VESDKExampleTests.xctest */; 174 | productType = "com.apple.product-type.bundle.unit-test"; 175 | }; 176 | 13B07F861A680F5B00A75B9A /* VESDKExample */ = { 177 | isa = PBXNativeTarget; 178 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "VESDKExample" */; 179 | buildPhases = ( 180 | 73D0F252F6294FA75188A514 /* [CP] Check Pods Manifest.lock */, 181 | FD10A7F022414F080027D42C /* Start Packager */, 182 | 13B07F871A680F5B00A75B9A /* Sources */, 183 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 184 | 13B07F8E1A680F5B00A75B9A /* Resources */, 185 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 186 | 4F312412E0382723B75092D3 /* [CP] Embed Pods Frameworks */, 187 | 0005EF0160CA59BC785F7473 /* [CP] Copy Pods Resources */, 188 | ); 189 | buildRules = ( 190 | ); 191 | dependencies = ( 192 | ); 193 | name = VESDKExample; 194 | productName = VESDKExample; 195 | productReference = 13B07F961A680F5B00A75B9A /* VESDKExample.app */; 196 | productType = "com.apple.product-type.application"; 197 | }; 198 | /* End PBXNativeTarget section */ 199 | 200 | /* Begin PBXProject section */ 201 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 202 | isa = PBXProject; 203 | attributes = { 204 | LastUpgradeCheck = 1210; 205 | TargetAttributes = { 206 | 00E356ED1AD99517003FC87E = { 207 | CreatedOnToolsVersion = 6.2; 208 | TestTargetID = 13B07F861A680F5B00A75B9A; 209 | }; 210 | 13B07F861A680F5B00A75B9A = { 211 | LastSwiftMigration = 1120; 212 | }; 213 | }; 214 | }; 215 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "VESDKExample" */; 216 | compatibilityVersion = "Xcode 12.0"; 217 | developmentRegion = en; 218 | hasScannedForEncodings = 0; 219 | knownRegions = ( 220 | en, 221 | Base, 222 | ); 223 | mainGroup = 83CBB9F61A601CBA00E9B192; 224 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 225 | projectDirPath = ""; 226 | projectRoot = ""; 227 | targets = ( 228 | 13B07F861A680F5B00A75B9A /* VESDKExample */, 229 | 00E356ED1AD99517003FC87E /* VESDKExampleTests */, 230 | ); 231 | }; 232 | /* End PBXProject section */ 233 | 234 | /* Begin PBXResourcesBuildPhase section */ 235 | 00E356EC1AD99517003FC87E /* Resources */ = { 236 | isa = PBXResourcesBuildPhase; 237 | buildActionMask = 2147483647; 238 | files = ( 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 243 | isa = PBXResourcesBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, 247 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 248 | ); 249 | runOnlyForDeploymentPostprocessing = 0; 250 | }; 251 | /* End PBXResourcesBuildPhase section */ 252 | 253 | /* Begin PBXShellScriptBuildPhase section */ 254 | 0005EF0160CA59BC785F7473 /* [CP] Copy Pods Resources */ = { 255 | isa = PBXShellScriptBuildPhase; 256 | buildActionMask = 2147483647; 257 | files = ( 258 | ); 259 | inputFileListPaths = ( 260 | "${PODS_ROOT}/Target Support Files/Pods-VESDKExample/Pods-VESDKExample-resources-${CONFIGURATION}-input-files.xcfilelist", 261 | ); 262 | name = "[CP] Copy Pods Resources"; 263 | outputFileListPaths = ( 264 | "${PODS_ROOT}/Target Support Files/Pods-VESDKExample/Pods-VESDKExample-resources-${CONFIGURATION}-output-files.xcfilelist", 265 | ); 266 | runOnlyForDeploymentPostprocessing = 0; 267 | shellPath = /bin/sh; 268 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-VESDKExample/Pods-VESDKExample-resources.sh\"\n"; 269 | showEnvVarsInLog = 0; 270 | }; 271 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 272 | isa = PBXShellScriptBuildPhase; 273 | buildActionMask = 2147483647; 274 | files = ( 275 | ); 276 | inputPaths = ( 277 | ); 278 | name = "Bundle React Native code and images"; 279 | outputPaths = ( 280 | ); 281 | runOnlyForDeploymentPostprocessing = 0; 282 | shellPath = /bin/sh; 283 | shellScript = "set -e\n\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n"; 284 | }; 285 | 3782FC41D2BC4E87C6E8EAA3 /* [CP] Copy Pods Resources */ = { 286 | isa = PBXShellScriptBuildPhase; 287 | buildActionMask = 2147483647; 288 | files = ( 289 | ); 290 | inputFileListPaths = ( 291 | "${PODS_ROOT}/Target Support Files/Pods-VESDKExample-VESDKExampleTests/Pods-VESDKExample-VESDKExampleTests-resources-${CONFIGURATION}-input-files.xcfilelist", 292 | ); 293 | name = "[CP] Copy Pods Resources"; 294 | outputFileListPaths = ( 295 | "${PODS_ROOT}/Target Support Files/Pods-VESDKExample-VESDKExampleTests/Pods-VESDKExample-VESDKExampleTests-resources-${CONFIGURATION}-output-files.xcfilelist", 296 | ); 297 | runOnlyForDeploymentPostprocessing = 0; 298 | shellPath = /bin/sh; 299 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-VESDKExample-VESDKExampleTests/Pods-VESDKExample-VESDKExampleTests-resources.sh\"\n"; 300 | showEnvVarsInLog = 0; 301 | }; 302 | 4F312412E0382723B75092D3 /* [CP] Embed Pods Frameworks */ = { 303 | isa = PBXShellScriptBuildPhase; 304 | buildActionMask = 2147483647; 305 | files = ( 306 | ); 307 | inputFileListPaths = ( 308 | "${PODS_ROOT}/Target Support Files/Pods-VESDKExample/Pods-VESDKExample-frameworks-${CONFIGURATION}-input-files.xcfilelist", 309 | ); 310 | name = "[CP] Embed Pods Frameworks"; 311 | outputFileListPaths = ( 312 | "${PODS_ROOT}/Target Support Files/Pods-VESDKExample/Pods-VESDKExample-frameworks-${CONFIGURATION}-output-files.xcfilelist", 313 | ); 314 | runOnlyForDeploymentPostprocessing = 0; 315 | shellPath = /bin/sh; 316 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-VESDKExample/Pods-VESDKExample-frameworks.sh\"\n"; 317 | showEnvVarsInLog = 0; 318 | }; 319 | 614F9D067443F249288C193B /* [CP] Check Pods Manifest.lock */ = { 320 | isa = PBXShellScriptBuildPhase; 321 | buildActionMask = 2147483647; 322 | files = ( 323 | ); 324 | inputFileListPaths = ( 325 | ); 326 | inputPaths = ( 327 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 328 | "${PODS_ROOT}/Manifest.lock", 329 | ); 330 | name = "[CP] Check Pods Manifest.lock"; 331 | outputFileListPaths = ( 332 | ); 333 | outputPaths = ( 334 | "$(DERIVED_FILE_DIR)/Pods-VESDKExample-VESDKExampleTests-checkManifestLockResult.txt", 335 | ); 336 | runOnlyForDeploymentPostprocessing = 0; 337 | shellPath = /bin/sh; 338 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 339 | showEnvVarsInLog = 0; 340 | }; 341 | 73D0F252F6294FA75188A514 /* [CP] Check Pods Manifest.lock */ = { 342 | isa = PBXShellScriptBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | ); 346 | inputFileListPaths = ( 347 | ); 348 | inputPaths = ( 349 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 350 | "${PODS_ROOT}/Manifest.lock", 351 | ); 352 | name = "[CP] Check Pods Manifest.lock"; 353 | outputFileListPaths = ( 354 | ); 355 | outputPaths = ( 356 | "$(DERIVED_FILE_DIR)/Pods-VESDKExample-checkManifestLockResult.txt", 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | shellPath = /bin/sh; 360 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 361 | showEnvVarsInLog = 0; 362 | }; 363 | 86F77C1ABCF5CF236B6334BC /* [CP] Embed Pods Frameworks */ = { 364 | isa = PBXShellScriptBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | ); 368 | inputFileListPaths = ( 369 | "${PODS_ROOT}/Target Support Files/Pods-VESDKExample-VESDKExampleTests/Pods-VESDKExample-VESDKExampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", 370 | ); 371 | name = "[CP] Embed Pods Frameworks"; 372 | outputFileListPaths = ( 373 | "${PODS_ROOT}/Target Support Files/Pods-VESDKExample-VESDKExampleTests/Pods-VESDKExample-VESDKExampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | shellPath = /bin/sh; 377 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-VESDKExample-VESDKExampleTests/Pods-VESDKExample-VESDKExampleTests-frameworks.sh\"\n"; 378 | showEnvVarsInLog = 0; 379 | }; 380 | FD10A7F022414F080027D42C /* Start Packager */ = { 381 | isa = PBXShellScriptBuildPhase; 382 | buildActionMask = 2147483647; 383 | files = ( 384 | ); 385 | inputFileListPaths = ( 386 | ); 387 | inputPaths = ( 388 | ); 389 | name = "Start Packager"; 390 | outputFileListPaths = ( 391 | ); 392 | outputPaths = ( 393 | ); 394 | runOnlyForDeploymentPostprocessing = 0; 395 | shellPath = /bin/sh; 396 | shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n"; 397 | showEnvVarsInLog = 0; 398 | }; 399 | /* End PBXShellScriptBuildPhase section */ 400 | 401 | /* Begin PBXSourcesBuildPhase section */ 402 | 00E356EA1AD99517003FC87E /* Sources */ = { 403 | isa = PBXSourcesBuildPhase; 404 | buildActionMask = 2147483647; 405 | files = ( 406 | 00E356F31AD99517003FC87E /* VESDKExampleTests.m in Sources */, 407 | ); 408 | runOnlyForDeploymentPostprocessing = 0; 409 | }; 410 | 13B07F871A680F5B00A75B9A /* Sources */ = { 411 | isa = PBXSourcesBuildPhase; 412 | buildActionMask = 2147483647; 413 | files = ( 414 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 415 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 416 | ); 417 | runOnlyForDeploymentPostprocessing = 0; 418 | }; 419 | /* End PBXSourcesBuildPhase section */ 420 | 421 | /* Begin PBXTargetDependency section */ 422 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 423 | isa = PBXTargetDependency; 424 | target = 13B07F861A680F5B00A75B9A /* VESDKExample */; 425 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 426 | }; 427 | /* End PBXTargetDependency section */ 428 | 429 | /* Begin XCBuildConfiguration section */ 430 | 00E356F61AD99517003FC87E /* Debug */ = { 431 | isa = XCBuildConfiguration; 432 | baseConfigurationReference = 9737FF9C8D752F7A0BED8525 /* Pods-VESDKExample-VESDKExampleTests.debug.xcconfig */; 433 | buildSettings = { 434 | BUNDLE_LOADER = "$(TEST_HOST)"; 435 | GCC_PREPROCESSOR_DEFINITIONS = ( 436 | "DEBUG=1", 437 | "$(inherited)", 438 | ); 439 | INFOPLIST_FILE = VESDKExampleTests/Info.plist; 440 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 441 | LD_RUNPATH_SEARCH_PATHS = ( 442 | "$(inherited)", 443 | "@executable_path/Frameworks", 444 | "@loader_path/Frameworks", 445 | ); 446 | OTHER_LDFLAGS = ( 447 | "-ObjC", 448 | "-lc++", 449 | "$(inherited)", 450 | ); 451 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 452 | PRODUCT_NAME = "$(TARGET_NAME)"; 453 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/VESDKExample.app/VESDKExample"; 454 | }; 455 | name = Debug; 456 | }; 457 | 00E356F71AD99517003FC87E /* Release */ = { 458 | isa = XCBuildConfiguration; 459 | baseConfigurationReference = D581929438A5B0213106FE37 /* Pods-VESDKExample-VESDKExampleTests.release.xcconfig */; 460 | buildSettings = { 461 | BUNDLE_LOADER = "$(TEST_HOST)"; 462 | COPY_PHASE_STRIP = NO; 463 | INFOPLIST_FILE = VESDKExampleTests/Info.plist; 464 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 465 | LD_RUNPATH_SEARCH_PATHS = ( 466 | "$(inherited)", 467 | "@executable_path/Frameworks", 468 | "@loader_path/Frameworks", 469 | ); 470 | OTHER_LDFLAGS = ( 471 | "-ObjC", 472 | "-lc++", 473 | "$(inherited)", 474 | ); 475 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 476 | PRODUCT_NAME = "$(TARGET_NAME)"; 477 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/VESDKExample.app/VESDKExample"; 478 | }; 479 | name = Release; 480 | }; 481 | 13B07F941A680F5B00A75B9A /* Debug */ = { 482 | isa = XCBuildConfiguration; 483 | baseConfigurationReference = FFBAC712E30CA63114818D8B /* Pods-VESDKExample.debug.xcconfig */; 484 | buildSettings = { 485 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 486 | CLANG_ENABLE_MODULES = YES; 487 | CURRENT_PROJECT_VERSION = 1; 488 | ENABLE_BITCODE = NO; 489 | INFOPLIST_FILE = VESDKExample/Info.plist; 490 | LD_RUNPATH_SEARCH_PATHS = ( 491 | "$(inherited)", 492 | "@executable_path/Frameworks", 493 | ); 494 | OTHER_LDFLAGS = ( 495 | "$(inherited)", 496 | "-ObjC", 497 | "-lc++", 498 | ); 499 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 500 | PRODUCT_NAME = VESDKExample; 501 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 502 | SWIFT_VERSION = 5.0; 503 | VERSIONING_SYSTEM = "apple-generic"; 504 | }; 505 | name = Debug; 506 | }; 507 | 13B07F951A680F5B00A75B9A /* Release */ = { 508 | isa = XCBuildConfiguration; 509 | baseConfigurationReference = A0B30C61D6C4189D21B4A02D /* Pods-VESDKExample.release.xcconfig */; 510 | buildSettings = { 511 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 512 | CLANG_ENABLE_MODULES = YES; 513 | CURRENT_PROJECT_VERSION = 1; 514 | INFOPLIST_FILE = VESDKExample/Info.plist; 515 | LD_RUNPATH_SEARCH_PATHS = ( 516 | "$(inherited)", 517 | "@executable_path/Frameworks", 518 | ); 519 | OTHER_LDFLAGS = ( 520 | "$(inherited)", 521 | "-ObjC", 522 | "-lc++", 523 | ); 524 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 525 | PRODUCT_NAME = VESDKExample; 526 | SWIFT_VERSION = 5.0; 527 | VERSIONING_SYSTEM = "apple-generic"; 528 | }; 529 | name = Release; 530 | }; 531 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 532 | isa = XCBuildConfiguration; 533 | buildSettings = { 534 | ALWAYS_SEARCH_USER_PATHS = NO; 535 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 536 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 537 | CLANG_CXX_LIBRARY = "libc++"; 538 | CLANG_ENABLE_MODULES = YES; 539 | CLANG_ENABLE_OBJC_ARC = YES; 540 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 541 | CLANG_WARN_BOOL_CONVERSION = YES; 542 | CLANG_WARN_COMMA = YES; 543 | CLANG_WARN_CONSTANT_CONVERSION = YES; 544 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 545 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 546 | CLANG_WARN_EMPTY_BODY = YES; 547 | CLANG_WARN_ENUM_CONVERSION = YES; 548 | CLANG_WARN_INFINITE_RECURSION = YES; 549 | CLANG_WARN_INT_CONVERSION = YES; 550 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 551 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 552 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 553 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 554 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 555 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 556 | CLANG_WARN_STRICT_PROTOTYPES = YES; 557 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 558 | CLANG_WARN_UNREACHABLE_CODE = YES; 559 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 560 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 561 | COPY_PHASE_STRIP = NO; 562 | ENABLE_STRICT_OBJC_MSGSEND = YES; 563 | ENABLE_TESTABILITY = YES; 564 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 "; 565 | GCC_C_LANGUAGE_STANDARD = gnu99; 566 | GCC_DYNAMIC_NO_PIC = NO; 567 | GCC_NO_COMMON_BLOCKS = YES; 568 | GCC_OPTIMIZATION_LEVEL = 0; 569 | GCC_PREPROCESSOR_DEFINITIONS = ( 570 | "DEBUG=1", 571 | "$(inherited)", 572 | ); 573 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 574 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 575 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 576 | GCC_WARN_UNDECLARED_SELECTOR = YES; 577 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 578 | GCC_WARN_UNUSED_FUNCTION = YES; 579 | GCC_WARN_UNUSED_VARIABLE = YES; 580 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 581 | LD_RUNPATH_SEARCH_PATHS = ( 582 | /usr/lib/swift, 583 | "$(inherited)", 584 | ); 585 | LIBRARY_SEARCH_PATHS = ( 586 | "\"$(SDKROOT)/usr/lib/swift\"", 587 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", 588 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"", 589 | "\"$(inherited)\"", 590 | ); 591 | MTL_ENABLE_DEBUG_INFO = YES; 592 | ONLY_ACTIVE_ARCH = YES; 593 | SDKROOT = iphoneos; 594 | }; 595 | name = Debug; 596 | }; 597 | 83CBBA211A601CBA00E9B192 /* Release */ = { 598 | isa = XCBuildConfiguration; 599 | buildSettings = { 600 | ALWAYS_SEARCH_USER_PATHS = NO; 601 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 602 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 603 | CLANG_CXX_LIBRARY = "libc++"; 604 | CLANG_ENABLE_MODULES = YES; 605 | CLANG_ENABLE_OBJC_ARC = YES; 606 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 607 | CLANG_WARN_BOOL_CONVERSION = YES; 608 | CLANG_WARN_COMMA = YES; 609 | CLANG_WARN_CONSTANT_CONVERSION = YES; 610 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 611 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 612 | CLANG_WARN_EMPTY_BODY = YES; 613 | CLANG_WARN_ENUM_CONVERSION = YES; 614 | CLANG_WARN_INFINITE_RECURSION = YES; 615 | CLANG_WARN_INT_CONVERSION = YES; 616 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 617 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 618 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 619 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 620 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 621 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 622 | CLANG_WARN_STRICT_PROTOTYPES = YES; 623 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 624 | CLANG_WARN_UNREACHABLE_CODE = YES; 625 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 626 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 627 | COPY_PHASE_STRIP = YES; 628 | ENABLE_NS_ASSERTIONS = NO; 629 | ENABLE_STRICT_OBJC_MSGSEND = YES; 630 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 "; 631 | GCC_C_LANGUAGE_STANDARD = gnu99; 632 | GCC_NO_COMMON_BLOCKS = YES; 633 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 634 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 635 | GCC_WARN_UNDECLARED_SELECTOR = YES; 636 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 637 | GCC_WARN_UNUSED_FUNCTION = YES; 638 | GCC_WARN_UNUSED_VARIABLE = YES; 639 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 640 | LD_RUNPATH_SEARCH_PATHS = ( 641 | /usr/lib/swift, 642 | "$(inherited)", 643 | ); 644 | LIBRARY_SEARCH_PATHS = ( 645 | "\"$(SDKROOT)/usr/lib/swift\"", 646 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", 647 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"", 648 | "\"$(inherited)\"", 649 | ); 650 | MTL_ENABLE_DEBUG_INFO = NO; 651 | SDKROOT = iphoneos; 652 | VALIDATE_PRODUCT = YES; 653 | }; 654 | name = Release; 655 | }; 656 | /* End XCBuildConfiguration section */ 657 | 658 | /* Begin XCConfigurationList section */ 659 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "VESDKExampleTests" */ = { 660 | isa = XCConfigurationList; 661 | buildConfigurations = ( 662 | 00E356F61AD99517003FC87E /* Debug */, 663 | 00E356F71AD99517003FC87E /* Release */, 664 | ); 665 | defaultConfigurationIsVisible = 0; 666 | defaultConfigurationName = Release; 667 | }; 668 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "VESDKExample" */ = { 669 | isa = XCConfigurationList; 670 | buildConfigurations = ( 671 | 13B07F941A680F5B00A75B9A /* Debug */, 672 | 13B07F951A680F5B00A75B9A /* Release */, 673 | ); 674 | defaultConfigurationIsVisible = 0; 675 | defaultConfigurationName = Release; 676 | }; 677 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "VESDKExample" */ = { 678 | isa = XCConfigurationList; 679 | buildConfigurations = ( 680 | 83CBBA201A601CBA00E9B192 /* Debug */, 681 | 83CBBA211A601CBA00E9B192 /* Release */, 682 | ); 683 | defaultConfigurationIsVisible = 0; 684 | defaultConfigurationName = Release; 685 | }; 686 | /* End XCConfigurationList section */ 687 | }; 688 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 689 | } 690 | -------------------------------------------------------------------------------- /ios/VESDKExample.xcodeproj/xcshareddata/xcschemes/VESDKExample.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 53 | 55 | 61 | 62 | 63 | 64 | 70 | 72 | 78 | 79 | 80 | 81 | 83 | 84 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /ios/VESDKExample.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/VESDKExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/VESDKExample/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : UIResponder 5 | 6 | @property (nonatomic, strong) UIWindow *window; 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /ios/VESDKExample/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | 3 | #import 4 | #import 5 | #import 6 | 7 | #import 8 | 9 | #ifdef FB_SONARKIT_ENABLED 10 | #import 11 | #import 12 | #import 13 | #import 14 | #import 15 | #import 16 | 17 | static void InitializeFlipper(UIApplication *application) { 18 | FlipperClient *client = [FlipperClient sharedClient]; 19 | SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults]; 20 | [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]]; 21 | [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]]; 22 | [client addPlugin:[FlipperKitReactPlugin new]]; 23 | [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]]; 24 | [client start]; 25 | } 26 | #endif 27 | 28 | @implementation AppDelegate 29 | 30 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 31 | { 32 | #ifdef FB_SONARKIT_ENABLED 33 | InitializeFlipper(application); 34 | #endif 35 | 36 | // Configure and customize VideoEditor SDK beyond the configuration options exposed to JavaScript 37 | RNVideoEditorSDK.configureWithBuilder = ^(PESDKConfigurationBuilder * _Nonnull builder) { 38 | // Disable the color pipette for the text color selection tool 39 | [builder configureTextColorToolController:^(PESDKTextColorToolControllerOptionsBuilder * _Nonnull options) { 40 | NSMutableArray *colors = [options.availableColors mutableCopy]; 41 | [colors removeObjectAtIndex:0]; // Remove first color item which is the color pipette 42 | options.availableColors = colors; 43 | }]; 44 | }; 45 | RNVideoEditorSDK.willPresentVideoEditViewController = ^(PESDKVideoEditViewController * _Nonnull videoEditViewController) { 46 | NSLog(@"willPresent: %@", videoEditViewController); 47 | }; 48 | 49 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 50 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 51 | moduleName:@"VESDKExample" 52 | initialProperties:nil]; 53 | 54 | if (@available(iOS 13.0, *)) { 55 | rootView.backgroundColor = [UIColor systemBackgroundColor]; 56 | } else { 57 | rootView.backgroundColor = [UIColor whiteColor]; 58 | } 59 | 60 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 61 | UIViewController *rootViewController = [UIViewController new]; 62 | rootViewController.view = rootView; 63 | self.window.rootViewController = rootViewController; 64 | [self.window makeKeyAndVisible]; 65 | return YES; 66 | } 67 | 68 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 69 | { 70 | #if DEBUG 71 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 72 | #else 73 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 74 | #endif 75 | } 76 | 77 | @end 78 | -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/AppIcon.appiconset/App_store_1024_1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/ios/VESDKExample/Images.xcassets/AppIcon.appiconset/App_store_1024_1x.png -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "iPhone_Notifications_20_2x.png", 5 | "idiom" : "iphone", 6 | "scale" : "2x", 7 | "size" : "20x20" 8 | }, 9 | { 10 | "filename" : "iPhone_Notifications_20_3x.png", 11 | "idiom" : "iphone", 12 | "scale" : "3x", 13 | "size" : "20x20" 14 | }, 15 | { 16 | "filename" : "iPhone_Settings_29_2x.png", 17 | "idiom" : "iphone", 18 | "scale" : "2x", 19 | "size" : "29x29" 20 | }, 21 | { 22 | "filename" : "iPhone_Settings_29_3x.png", 23 | "idiom" : "iphone", 24 | "scale" : "3x", 25 | "size" : "29x29" 26 | }, 27 | { 28 | "filename" : "iPhone_Spotlight_40_2x.png", 29 | "idiom" : "iphone", 30 | "scale" : "2x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "filename" : "iPhone_Spotlight_40_3x.png", 35 | "idiom" : "iphone", 36 | "scale" : "3x", 37 | "size" : "40x40" 38 | }, 39 | { 40 | "filename" : "iPhone_App_60_2x.png", 41 | "idiom" : "iphone", 42 | "scale" : "2x", 43 | "size" : "60x60" 44 | }, 45 | { 46 | "filename" : "iPhone_App_60_3x.png", 47 | "idiom" : "iphone", 48 | "scale" : "3x", 49 | "size" : "60x60" 50 | }, 51 | { 52 | "filename" : "App_store_1024_1x.png", 53 | "idiom" : "ios-marketing", 54 | "scale" : "1x", 55 | "size" : "1024x1024" 56 | } 57 | ], 58 | "info" : { 59 | "author" : "xcode", 60 | "version" : 1 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_App_60_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_App_60_2x.png -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_App_60_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_App_60_3x.png -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Notifications_20_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Notifications_20_2x.png -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Notifications_20_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Notifications_20_3x.png -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Settings_29_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Settings_29_2x.png -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Settings_29_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Settings_29_3x.png -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Spotlight_40_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Spotlight_40_2x.png -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Spotlight_40_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imgly/vesdk-react-native-demo/3933d15559ff041f1deca5bc28db2093fc769f1d/ios/VESDKExample/Images.xcassets/AppIcon.appiconset/iPhone_Spotlight_40_3x.png -------------------------------------------------------------------------------- /ios/VESDKExample/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/VESDKExample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | VESDKExample 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSAllowsArbitraryLoads 30 | 31 | NSExceptionDomains 32 | 33 | localhost 34 | 35 | NSExceptionAllowsInsecureHTTPLoads 36 | 37 | 38 | 39 | 40 | NSLocationWhenInUseUsageDescription 41 | 42 | UILaunchStoryboardName 43 | LaunchScreen 44 | UIRequiredDeviceCapabilities 45 | 46 | armv7 47 | 48 | UISupportedInterfaceOrientations 49 | 50 | UIInterfaceOrientationPortrait 51 | UIInterfaceOrientationLandscapeLeft 52 | UIInterfaceOrientationLandscapeRight 53 | 54 | UIViewControllerBasedStatusBarAppearance 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /ios/VESDKExample/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 24 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ios/VESDKExample/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char * argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ios/VESDKExampleTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/VESDKExampleTests/VESDKExampleTests.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | #import 5 | #import 6 | 7 | #define TIMEOUT_SECONDS 600 8 | #define TEXT_TO_LOOK_FOR @"Welcome to React" 9 | 10 | @interface VESDKExampleTests : XCTestCase 11 | 12 | @end 13 | 14 | @implementation VESDKExampleTests 15 | 16 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 17 | { 18 | if (test(view)) { 19 | return YES; 20 | } 21 | for (UIView *subview in [view subviews]) { 22 | if ([self findSubviewInView:subview matching:test]) { 23 | return YES; 24 | } 25 | } 26 | return NO; 27 | } 28 | 29 | - (void)testRendersWelcomeScreen 30 | { 31 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 32 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 33 | BOOL foundElement = NO; 34 | 35 | __block NSString *redboxError = nil; 36 | #ifdef DEBUG 37 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 38 | if (level >= RCTLogLevelError) { 39 | redboxError = message; 40 | } 41 | }); 42 | #endif 43 | 44 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 45 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 46 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 47 | 48 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 49 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 50 | return YES; 51 | } 52 | return NO; 53 | }]; 54 | } 55 | 56 | #ifdef DEBUG 57 | RCTSetLogFunction(RCTDefaultLogFunction); 58 | #endif 59 | 60 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 61 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 62 | } 63 | 64 | 65 | @end 66 | -------------------------------------------------------------------------------- /metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: true, 14 | }, 15 | }), 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VESDKExample", 3 | "version": "1.6.0", 4 | "private": true, 5 | "scripts": { 6 | "android": "react-native run-android", 7 | "ios": "react-native run-ios", 8 | "start": "react-native start", 9 | "test": "jest", 10 | "lint": "eslint ." 11 | }, 12 | "dependencies": { 13 | "react": "17.0.2", 14 | "react-native": "0.66.3", 15 | "react-native-videoeditorsdk": "^2.13.1" 16 | }, 17 | "devDependencies": { 18 | "@babel/core": "^7.12.9", 19 | "@babel/runtime": "^7.12.5", 20 | "@react-native-community/eslint-config": "^2.0.0", 21 | "babel-jest": "^26.6.3", 22 | "eslint": "7.14.0", 23 | "jest": "^26.6.3", 24 | "metro-react-native-babel-preset": "^0.66.2", 25 | "react-test-renderer": "17.0.2" 26 | }, 27 | "jest": { 28 | "preset": "react-native" 29 | } 30 | } 31 | --------------------------------------------------------------------------------