├── .editorconfig ├── .gitattributes ├── .github ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── build.yml │ ├── npm.yml │ └── pages.yml ├── .gitignore ├── .watchmanconfig ├── .yarn ├── plugins │ └── @yarnpkg │ │ ├── plugin-interactive-tools.cjs │ │ ├── plugin-version.cjs │ │ └── plugin-workspace-tools.cjs ├── releases │ └── yarn-3.6.1.cjs └── versions │ ├── 47500c27.yml │ └── bb9e8b5c.yml ├── .yarnrc.yml ├── LICENSE ├── README.md ├── android ├── build.gradle ├── gradle.properties └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── snap │ │ └── camerakit │ │ └── reactnative │ │ ├── CameraImageProcessorModule.kt │ │ ├── CameraKitContextModule.kt │ │ ├── CameraKitEventEmitter.kt │ │ ├── CameraKitReactNativePackage.kt │ │ ├── CameraPreview.kt │ │ ├── CameraPreviewManager.kt │ │ └── TouchViewContainer.kt │ └── res │ └── layout │ ├── camera_kit_touch.xml │ └── camera_kit_view.xml ├── babel.config.js ├── camera-kit-react-native.podspec ├── docs ├── .nojekyll ├── assets │ ├── highlight.css │ ├── icons.js │ ├── icons.svg │ ├── main.js │ ├── navigation.js │ ├── search.js │ └── style.css ├── classes │ ├── Logger.html │ └── NativeEventEmitter.html ├── functions │ ├── CameraKitContext.html │ ├── CameraPreviewView.html │ ├── getNativeModule.html │ ├── getNativeViewManager.html │ ├── isCameraKitError.html │ ├── isNativeError.html │ ├── isSupportedImageFormat.html │ ├── isValidLaunchParam.html │ ├── useCameraKit.html │ ├── useCameraPermissions.html │ └── useIsMounted.html ├── index.html ├── interfaces │ ├── CameraKitContextProps.html │ ├── CameraKitError.html │ ├── CameraKitState.html │ ├── CameraOptions.html │ ├── EmitterSubscription.html │ ├── Lens.html │ ├── LensLaunchData.html │ ├── Media.html │ ├── NativeError.html │ ├── Snapcode.html │ └── VideoRecording.html ├── modules.html ├── types │ ├── ImageFormats.html │ ├── LogEntry.html │ ├── LogLevel.html │ ├── NativeCameraViewProps.html │ ├── NativeModule.html │ └── Rect.html └── variables │ ├── CameraKitReactNative.html │ ├── CameraKitStateContext.html │ ├── NativeView.html │ └── cameraKitLogEvents.html ├── example ├── .bundle │ └── config ├── .watchmanconfig ├── Gemfile ├── README.md ├── android │ ├── app │ │ ├── build.gradle │ │ ├── debug.keystore │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── snap │ │ │ │ │ └── camerakit │ │ │ │ │ └── reactnative │ │ │ │ │ └── example │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ └── MainApplication.kt │ │ │ └── res │ │ │ │ ├── drawable │ │ │ │ └── rn_edit_text_material.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ └── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── release │ │ │ └── java │ │ │ └── com │ │ │ └── camerakitreactnativeexample │ │ │ └── ReactNativeFlipper.java │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── app.json ├── babel.config.js ├── index.js ├── ios │ ├── .xcode.env │ ├── CameraKitReactNativeExample-Bridging-Header.h │ ├── CameraKitReactNativeExample.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── CameraKitReactNativeExample.xcscheme │ ├── CameraKitReactNativeExample.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ ├── CameraKitReactNativeExample │ │ ├── AppDelegate.h │ │ ├── AppDelegate.mm │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ ├── LaunchScreen.storyboard │ │ ├── PrivacyInfo.xcprivacy │ │ └── main.m │ ├── CameraKitReactNativeExampleTests │ │ ├── CameraKitReactNativeExampleTests.m │ │ └── Info.plist │ ├── File.swift │ ├── Podfile │ └── Podfile.lock ├── jest.config.js ├── metro.config.js ├── package.json ├── react-native.config.js └── src │ ├── App.tsx │ ├── Button.tsx │ ├── CameraPreview.tsx │ ├── CameraStateContext.tsx │ ├── Lenses.tsx │ ├── capture-preview │ ├── Hint.tsx │ ├── ImagePreview.tsx │ └── VideoPreview.tsx │ └── globalStyles.tsx ├── ios ├── CameraKitContextModule.mm ├── CameraKitContextModule.swift ├── CameraKitEventEmitter.m ├── CameraKitEventEmitter.swift ├── CameraKitReactNative-Bridging-Header.h ├── CameraPreviewManager.m ├── CameraPreviewManager.swift └── CameraPreviewView.swift ├── package.json ├── scripts └── pod-install.cjs ├── src ├── CameraKitContext.tsx ├── CameraKitContextModule.ts ├── CameraPreviewView.tsx ├── Errors.ts ├── NativeView.ts ├── TypeGuards.ts ├── __tests__ │ └── index.test.tsx ├── index.tsx ├── logger │ ├── Logger.ts │ └── cameraKitLogEvents.tsx ├── useCameraPermissions.tsx ├── useIsMounted.ts └── verifyNativeModule.tsx ├── tsconfig.build.json ├── tsconfig.json ├── turbo.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/npm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.github/workflows/npm.yml -------------------------------------------------------------------------------- /.github/workflows/pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.github/workflows/pages.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.gitignore -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-version.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.yarn/plugins/@yarnpkg/plugin-version.cjs -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs -------------------------------------------------------------------------------- /.yarn/releases/yarn-3.6.1.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.yarn/releases/yarn-3.6.1.cjs -------------------------------------------------------------------------------- /.yarn/versions/47500c27.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.yarn/versions/bb9e8b5c.yml: -------------------------------------------------------------------------------- 1 | undecided: 2 | - camera-kit-react-native-example 3 | -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/README.md -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/build.gradle -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/gradle.properties -------------------------------------------------------------------------------- /android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /android/src/main/java/com/snap/camerakit/reactnative/CameraImageProcessorModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/src/main/java/com/snap/camerakit/reactnative/CameraImageProcessorModule.kt -------------------------------------------------------------------------------- /android/src/main/java/com/snap/camerakit/reactnative/CameraKitContextModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/src/main/java/com/snap/camerakit/reactnative/CameraKitContextModule.kt -------------------------------------------------------------------------------- /android/src/main/java/com/snap/camerakit/reactnative/CameraKitEventEmitter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/src/main/java/com/snap/camerakit/reactnative/CameraKitEventEmitter.kt -------------------------------------------------------------------------------- /android/src/main/java/com/snap/camerakit/reactnative/CameraKitReactNativePackage.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/src/main/java/com/snap/camerakit/reactnative/CameraKitReactNativePackage.kt -------------------------------------------------------------------------------- /android/src/main/java/com/snap/camerakit/reactnative/CameraPreview.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/src/main/java/com/snap/camerakit/reactnative/CameraPreview.kt -------------------------------------------------------------------------------- /android/src/main/java/com/snap/camerakit/reactnative/CameraPreviewManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/src/main/java/com/snap/camerakit/reactnative/CameraPreviewManager.kt -------------------------------------------------------------------------------- /android/src/main/java/com/snap/camerakit/reactnative/TouchViewContainer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/src/main/java/com/snap/camerakit/reactnative/TouchViewContainer.kt -------------------------------------------------------------------------------- /android/src/main/res/layout/camera_kit_touch.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/src/main/res/layout/camera_kit_touch.xml -------------------------------------------------------------------------------- /android/src/main/res/layout/camera_kit_view.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/android/src/main/res/layout/camera_kit_view.xml -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/babel.config.js -------------------------------------------------------------------------------- /camera-kit-react-native.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/camera-kit-react-native.podspec -------------------------------------------------------------------------------- /docs/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/.nojekyll -------------------------------------------------------------------------------- /docs/assets/highlight.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/assets/highlight.css -------------------------------------------------------------------------------- /docs/assets/icons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/assets/icons.js -------------------------------------------------------------------------------- /docs/assets/icons.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/assets/icons.svg -------------------------------------------------------------------------------- /docs/assets/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/assets/main.js -------------------------------------------------------------------------------- /docs/assets/navigation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/assets/navigation.js -------------------------------------------------------------------------------- /docs/assets/search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/assets/search.js -------------------------------------------------------------------------------- /docs/assets/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/assets/style.css -------------------------------------------------------------------------------- /docs/classes/Logger.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/classes/Logger.html -------------------------------------------------------------------------------- /docs/classes/NativeEventEmitter.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/classes/NativeEventEmitter.html -------------------------------------------------------------------------------- /docs/functions/CameraKitContext.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/CameraKitContext.html -------------------------------------------------------------------------------- /docs/functions/CameraPreviewView.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/CameraPreviewView.html -------------------------------------------------------------------------------- /docs/functions/getNativeModule.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/getNativeModule.html -------------------------------------------------------------------------------- /docs/functions/getNativeViewManager.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/getNativeViewManager.html -------------------------------------------------------------------------------- /docs/functions/isCameraKitError.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/isCameraKitError.html -------------------------------------------------------------------------------- /docs/functions/isNativeError.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/isNativeError.html -------------------------------------------------------------------------------- /docs/functions/isSupportedImageFormat.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/isSupportedImageFormat.html -------------------------------------------------------------------------------- /docs/functions/isValidLaunchParam.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/isValidLaunchParam.html -------------------------------------------------------------------------------- /docs/functions/useCameraKit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/useCameraKit.html -------------------------------------------------------------------------------- /docs/functions/useCameraPermissions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/useCameraPermissions.html -------------------------------------------------------------------------------- /docs/functions/useIsMounted.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/functions/useIsMounted.html -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/interfaces/CameraKitContextProps.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/CameraKitContextProps.html -------------------------------------------------------------------------------- /docs/interfaces/CameraKitError.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/CameraKitError.html -------------------------------------------------------------------------------- /docs/interfaces/CameraKitState.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/CameraKitState.html -------------------------------------------------------------------------------- /docs/interfaces/CameraOptions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/CameraOptions.html -------------------------------------------------------------------------------- /docs/interfaces/EmitterSubscription.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/EmitterSubscription.html -------------------------------------------------------------------------------- /docs/interfaces/Lens.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/Lens.html -------------------------------------------------------------------------------- /docs/interfaces/LensLaunchData.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/LensLaunchData.html -------------------------------------------------------------------------------- /docs/interfaces/Media.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/Media.html -------------------------------------------------------------------------------- /docs/interfaces/NativeError.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/NativeError.html -------------------------------------------------------------------------------- /docs/interfaces/Snapcode.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/Snapcode.html -------------------------------------------------------------------------------- /docs/interfaces/VideoRecording.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/interfaces/VideoRecording.html -------------------------------------------------------------------------------- /docs/modules.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/modules.html -------------------------------------------------------------------------------- /docs/types/ImageFormats.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/types/ImageFormats.html -------------------------------------------------------------------------------- /docs/types/LogEntry.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/types/LogEntry.html -------------------------------------------------------------------------------- /docs/types/LogLevel.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/types/LogLevel.html -------------------------------------------------------------------------------- /docs/types/NativeCameraViewProps.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/types/NativeCameraViewProps.html -------------------------------------------------------------------------------- /docs/types/NativeModule.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/types/NativeModule.html -------------------------------------------------------------------------------- /docs/types/Rect.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/types/Rect.html -------------------------------------------------------------------------------- /docs/variables/CameraKitReactNative.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/variables/CameraKitReactNative.html -------------------------------------------------------------------------------- /docs/variables/CameraKitStateContext.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/variables/CameraKitStateContext.html -------------------------------------------------------------------------------- /docs/variables/NativeView.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/variables/NativeView.html -------------------------------------------------------------------------------- /docs/variables/cameraKitLogEvents.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/docs/variables/cameraKitLogEvents.html -------------------------------------------------------------------------------- /example/.bundle/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/.bundle/config -------------------------------------------------------------------------------- /example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /example/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/Gemfile -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/README.md -------------------------------------------------------------------------------- /example/android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/build.gradle -------------------------------------------------------------------------------- /example/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/debug.keystore -------------------------------------------------------------------------------- /example/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/snap/camerakit/reactnative/example/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/java/com/snap/camerakit/reactnative/example/MainActivity.java -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/snap/camerakit/reactnative/example/MainApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/java/com/snap/camerakit/reactnative/example/MainApplication.kt -------------------------------------------------------------------------------- /example/android/app/src/main/res/drawable/rn_edit_text_material.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/drawable/rn_edit_text_material.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /example/android/app/src/release/java/com/camerakitreactnativeexample/ReactNativeFlipper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/app/src/release/java/com/camerakitreactnativeexample/ReactNativeFlipper.java -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/build.gradle -------------------------------------------------------------------------------- /example/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/gradle.properties -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /example/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/gradlew -------------------------------------------------------------------------------- /example/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/gradlew.bat -------------------------------------------------------------------------------- /example/android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/android/settings.gradle -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/app.json -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/babel.config.js -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/index.js -------------------------------------------------------------------------------- /example/ios/.xcode.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/.xcode.env -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample-Bridging-Header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample-Bridging-Header.h -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample.xcodeproj/xcshareddata/xcschemes/CameraKitReactNativeExample.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample.xcodeproj/xcshareddata/xcschemes/CameraKitReactNativeExample.xcscheme -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample/AppDelegate.h -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample/AppDelegate.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample/AppDelegate.mm -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample/Images.xcassets/Contents.json -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample/Info.plist -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample/LaunchScreen.storyboard -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample/PrivacyInfo.xcprivacy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample/PrivacyInfo.xcprivacy -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExample/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExample/main.m -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExampleTests/CameraKitReactNativeExampleTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExampleTests/CameraKitReactNativeExampleTests.m -------------------------------------------------------------------------------- /example/ios/CameraKitReactNativeExampleTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/CameraKitReactNativeExampleTests/Info.plist -------------------------------------------------------------------------------- /example/ios/File.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/File.swift -------------------------------------------------------------------------------- /example/ios/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/Podfile -------------------------------------------------------------------------------- /example/ios/Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/ios/Podfile.lock -------------------------------------------------------------------------------- /example/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'react-native', 3 | }; 4 | -------------------------------------------------------------------------------- /example/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/metro.config.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/package.json -------------------------------------------------------------------------------- /example/react-native.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/react-native.config.js -------------------------------------------------------------------------------- /example/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/src/App.tsx -------------------------------------------------------------------------------- /example/src/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/src/Button.tsx -------------------------------------------------------------------------------- /example/src/CameraPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/src/CameraPreview.tsx -------------------------------------------------------------------------------- /example/src/CameraStateContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/src/CameraStateContext.tsx -------------------------------------------------------------------------------- /example/src/Lenses.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/src/Lenses.tsx -------------------------------------------------------------------------------- /example/src/capture-preview/Hint.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/src/capture-preview/Hint.tsx -------------------------------------------------------------------------------- /example/src/capture-preview/ImagePreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/src/capture-preview/ImagePreview.tsx -------------------------------------------------------------------------------- /example/src/capture-preview/VideoPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/src/capture-preview/VideoPreview.tsx -------------------------------------------------------------------------------- /example/src/globalStyles.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/example/src/globalStyles.tsx -------------------------------------------------------------------------------- /ios/CameraKitContextModule.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/ios/CameraKitContextModule.mm -------------------------------------------------------------------------------- /ios/CameraKitContextModule.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/ios/CameraKitContextModule.swift -------------------------------------------------------------------------------- /ios/CameraKitEventEmitter.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/ios/CameraKitEventEmitter.m -------------------------------------------------------------------------------- /ios/CameraKitEventEmitter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/ios/CameraKitEventEmitter.swift -------------------------------------------------------------------------------- /ios/CameraKitReactNative-Bridging-Header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/ios/CameraKitReactNative-Bridging-Header.h -------------------------------------------------------------------------------- /ios/CameraPreviewManager.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/ios/CameraPreviewManager.m -------------------------------------------------------------------------------- /ios/CameraPreviewManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/ios/CameraPreviewManager.swift -------------------------------------------------------------------------------- /ios/CameraPreviewView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/ios/CameraPreviewView.swift -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/package.json -------------------------------------------------------------------------------- /scripts/pod-install.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/scripts/pod-install.cjs -------------------------------------------------------------------------------- /src/CameraKitContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/CameraKitContext.tsx -------------------------------------------------------------------------------- /src/CameraKitContextModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/CameraKitContextModule.ts -------------------------------------------------------------------------------- /src/CameraPreviewView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/CameraPreviewView.tsx -------------------------------------------------------------------------------- /src/Errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/Errors.ts -------------------------------------------------------------------------------- /src/NativeView.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/NativeView.ts -------------------------------------------------------------------------------- /src/TypeGuards.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/TypeGuards.ts -------------------------------------------------------------------------------- /src/__tests__/index.test.tsx: -------------------------------------------------------------------------------- 1 | it.todo('write a test'); 2 | -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/logger/Logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/logger/Logger.ts -------------------------------------------------------------------------------- /src/logger/cameraKitLogEvents.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/logger/cameraKitLogEvents.tsx -------------------------------------------------------------------------------- /src/useCameraPermissions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/useCameraPermissions.tsx -------------------------------------------------------------------------------- /src/useIsMounted.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/useIsMounted.ts -------------------------------------------------------------------------------- /src/verifyNativeModule.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/src/verifyNativeModule.tsx -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/tsconfig.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/turbo.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snapchat/camera-kit-react-native/HEAD/yarn.lock --------------------------------------------------------------------------------