shakebug-react-native 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -1
- package/VideoPlayer/index.js +37 -23
- package/android/build/.transforms/2560ecc35baf0ad99b25208b80f24632/results.bin +1 -0
- package/android/build/.transforms/2560ecc35baf0ad99b25208b80f24632/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/82877187ec1b098f68816d8773d41d06/results.bin +1 -0
- package/android/build/.transforms/82877187ec1b098f68816d8773d41d06/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/results.bin +1 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/fbreact/specs/NativeImagePickerSpec.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/fbreact/specs/NativeRNLocalizeSpec.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/AmazonFireDeviceConnectivityPoller$ConnectivityChangedCallback.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/AmazonFireDeviceConnectivityPoller$PollerTask.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/AmazonFireDeviceConnectivityPoller$Receiver.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/AmazonFireDeviceConnectivityPoller.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/BaseUtils.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/BroadcastReceiverConnectivityReceiver$ConnectivityBroadcastReceiver.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/BroadcastReceiverConnectivityReceiver.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/BuildConfig.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ConnectivityReceiver.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/CrashLoggerModule.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/CreateThumbnailModule.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/CustomMediaMetadataRetriever.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/DateUtil.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/DeviceType.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/DeviceUtil.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/DrawingView.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/DrawingViewManager.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/GetLocation$1.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/GetLocation$2.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/GetLocation.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ImageMetadata.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ImagePickerProvider.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/Metadata.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/NetInfoModule.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/NetInfoUtils.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/NetworkCallbackConnectivityReceiver$ConnectivityNetworkCallback.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/NetworkCallbackConnectivityReceiver.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/Options.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNDeviceModule$1.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNDeviceModule$2.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNDeviceModule.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNInstallReferrerClient$InstallReferrerStateListenerProxy.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNInstallReferrerClient.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNLocalizeModule.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNLocalizeModuleImpl.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ReactNativeGetLocationModule.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RecordScreenModule$1.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RecordScreenModule.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ScreenshotDetectorModule$1.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ScreenshotDetectorModule.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/SettingsUtil.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugPackage.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugSDKImagePickerModule$1.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugSDKImagePickerModule$2.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugSDKImagePickerModule.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugSDKImagePickerModuleImpl.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugSensors.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/SharedPreferencesModule.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/UnitConverter.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/Utility.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/Utils.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/VideoMetadata.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot$1.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot$2.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot$Formats.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot$Results.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot$ReusableByteArrayOutputStream.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/callback/SingleCallback.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/interfaces/IVideoTrimmerView.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/interfaces/VideoPlayerListner.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/interfaces/VideoTrimListener.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/resolver/DeviceIdResolver.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/resolver/DeviceTypeResolver.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/thread/BackgroundExecutor$Task.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/thread/BackgroundExecutor.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/thread/UiThreadExecutor$1.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/thread/UiThreadExecutor$Token.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/thread/UiThreadExecutor.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/types/CellularGeneration.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/types/ConnectionType.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/widgets/SpacesItemDecoration2.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/widgets/ZVideoView.dex +0 -0
- package/android/build/.transforms/e294dc86c128e7615c7b096f733c98c9/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/results.bin +1 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/fbreact/specs/NativeImagePickerSpec.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/fbreact/specs/NativeRNLocalizeSpec.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/fbreact/specs/NativeSafeAreaContextSpec.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/RNCSafeAreaProviderManagerDelegate.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/RNCSafeAreaProviderManagerInterface.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/RNCSafeAreaViewManagerDelegate.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/RNCSafeAreaViewManagerInterface.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/AmazonFireDeviceConnectivityPoller$ConnectivityChangedCallback.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/AmazonFireDeviceConnectivityPoller$PollerTask.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/AmazonFireDeviceConnectivityPoller$Receiver.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/AmazonFireDeviceConnectivityPoller.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/BaseUtils.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/BroadcastReceiverConnectivityReceiver$ConnectivityBroadcastReceiver.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/BroadcastReceiverConnectivityReceiver.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/BuildConfig.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ConnectivityReceiver.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/CrashLoggerModule.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/CreateThumbnailModule.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/CustomMediaMetadataRetriever.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/DateUtil.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/DeviceType.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/DeviceUtil.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/DrawingView.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/DrawingViewManager.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/GetLocation$1.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/GetLocation$2.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/GetLocation.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ImageMetadata.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ImagePickerProvider.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/Metadata.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/NetInfoModule.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/NetInfoUtils.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/NetworkCallbackConnectivityReceiver$ConnectivityNetworkCallback.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/NetworkCallbackConnectivityReceiver.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/Options.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNDeviceModule$1.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNDeviceModule$2.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNDeviceModule.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNInstallReferrerClient$InstallReferrerStateListenerProxy.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNInstallReferrerClient.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNLocalizeModule.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RNLocalizeModuleImpl.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ReactNativeGetLocationModule.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RecordScreenModule$1.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/RecordScreenModule.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ScreenshotDetectorModule$1.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ScreenshotDetectorModule.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/SettingsUtil.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugPackage.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugSDKImagePickerModule$1.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugSDKImagePickerModule$2.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugSDKImagePickerModule.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugSDKImagePickerModuleImpl.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ShakebugSensors.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/SharedPreferencesModule.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/UnitConverter.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/Utility.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/Utils.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/VideoMetadata.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot$1.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot$2.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot$Formats.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot$Results.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot$ReusableByteArrayOutputStream.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/ViewShot.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/callback/SingleCallback.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/interfaces/IVideoTrimmerView.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/interfaces/VideoPlayerListner.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/interfaces/VideoTrimListener.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/resolver/DeviceIdResolver.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/resolver/DeviceTypeResolver.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/thread/BackgroundExecutor$Task.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/thread/BackgroundExecutor.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/thread/UiThreadExecutor$1.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/thread/UiThreadExecutor$Token.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/thread/UiThreadExecutor.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/types/CellularGeneration.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/types/ConnectionType.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/widgets/SpacesItemDecoration2.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/shakebug/widgets/ZVideoView.dex +0 -0
- package/android/build/.transforms/f65493e2b085044ae64a6ae813f0f02a/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/shakebug/BuildConfig.java +10 -0
- package/android/build/generated/source/codegen/java/com/facebook/fbreact/specs/NativeImagePickerSpec.java +43 -0
- package/android/build/generated/source/codegen/java/com/facebook/fbreact/specs/NativeRNLocalizeSpec.java +80 -0
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +36 -0
- package/android/build/generated/source/codegen/jni/ShakebugReactNativeSpec-generated.cpp +110 -0
- package/android/build/generated/source/codegen/jni/ShakebugReactNativeSpec.h +39 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/ComponentDescriptors.cpp +22 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/ComponentDescriptors.h +24 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/EventEmitters.cpp +16 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/EventEmitters.h +17 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/Props.cpp +19 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/Props.h +18 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/ShadowNodes.cpp +17 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/ShadowNodes.h +23 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/ShakebugReactNativeSpecJSI-generated.cpp +110 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/ShakebugReactNativeSpecJSI.h +224 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/States.cpp +16 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/ShakebugReactNativeSpec/States.h +19 -0
- package/android/build/generated/source/codegen/schema.json +1 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +38 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +47 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/drawable_custom_progress.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/drawable_custom_thumb.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/drawable_ic_close_button.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/drawable_ic_video_pause_black.png.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/drawable_ic_video_play_black.png.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/drawable_ic_video_thumb_handle.png.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/drawable_icon_seek_bar.png.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_video_player_view.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_video_thumb_item_layout.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_video_trimmer_view.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/xml_imagepicker_provider_paths.xml.flat +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +12 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merged.dir/values/values.xml +25 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/fbreact/specs/NativeImagePickerSpec.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/fbreact/specs/NativeRNLocalizeSpec.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/AmazonFireDeviceConnectivityPoller$ConnectivityChangedCallback.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/AmazonFireDeviceConnectivityPoller$PollerTask.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/AmazonFireDeviceConnectivityPoller$Receiver.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/AmazonFireDeviceConnectivityPoller.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/BaseUtils.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/BroadcastReceiverConnectivityReceiver$ConnectivityBroadcastReceiver.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/BroadcastReceiverConnectivityReceiver.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ConnectivityReceiver.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/CrashLoggerModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/CreateThumbnailModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/CustomMediaMetadataRetriever.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/DateUtil.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/DeviceType.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/DeviceUtil.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/DrawingView.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/DrawingViewManager.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/GetLocation$1.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/GetLocation$2.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/GetLocation.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ImageMetadata.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ImagePickerProvider.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/Metadata.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/NetInfoModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/NetInfoUtils.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/NetworkCallbackConnectivityReceiver$ConnectivityNetworkCallback.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/NetworkCallbackConnectivityReceiver.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/Options.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/RNDeviceModule$1.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/RNDeviceModule$2.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/RNDeviceModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/RNInstallReferrerClient$InstallReferrerStateListenerProxy.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/RNInstallReferrerClient.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/RNLocalizeModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/RNLocalizeModuleImpl.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ReactNativeGetLocationModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/RecordScreenModule$1.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/RecordScreenModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ScreenshotDetectorModule$1.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ScreenshotDetectorModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/SettingsUtil.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ShakebugPackage.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ShakebugSDKImagePickerModule$1.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ShakebugSDKImagePickerModule$2.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ShakebugSDKImagePickerModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ShakebugSDKImagePickerModuleImpl.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ShakebugSensors.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/SharedPreferencesModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/UnitConverter.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/Utility.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/Utils.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/VideoMetadata.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ViewShot$1.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ViewShot$2.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ViewShot$Formats.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ViewShot$Results.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ViewShot$ReusableByteArrayOutputStream.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/ViewShot.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/callback/SingleCallback.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/interfaces/IVideoTrimmerView.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/interfaces/VideoPlayerListner.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/interfaces/VideoTrimListener.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/resolver/DeviceIdResolver.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/resolver/DeviceTypeResolver.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/thread/BackgroundExecutor$Task.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/thread/BackgroundExecutor.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/thread/UiThreadExecutor$1.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/thread/UiThreadExecutor$Token.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/thread/UiThreadExecutor.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/types/CellularGeneration.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/types/ConnectionType.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/widgets/SpacesItemDecoration2.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/shakebug/widgets/ZVideoView.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +49 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +70 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +38 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/drawable/custom_progress.xml +16 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/drawable/custom_thumb.xml +4 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/drawable/ic_close_button.xml +10 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/drawable/ic_video_pause_black.png +0 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/drawable/ic_video_play_black.png +0 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/drawable/ic_video_thumb_handle.png +0 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/drawable/icon_seek_bar.png +0 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/layout/video_player_view.xml +121 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/layout/video_thumb_item_layout.xml +16 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/layout/video_trimmer_view.xml +148 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/values/values.xml +25 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/xml/imagepicker_provider_paths.xml +4 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/fbreact/specs/NativeImagePickerSpec.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/fbreact/specs/NativeRNLocalizeSpec.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/AmazonFireDeviceConnectivityPoller$ConnectivityChangedCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/AmazonFireDeviceConnectivityPoller$PollerTask.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/AmazonFireDeviceConnectivityPoller$Receiver.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/AmazonFireDeviceConnectivityPoller.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/BaseUtils.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/BroadcastReceiverConnectivityReceiver$ConnectivityBroadcastReceiver.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/BroadcastReceiverConnectivityReceiver.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ConnectivityReceiver.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/CrashLoggerModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/CreateThumbnailModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/CustomMediaMetadataRetriever.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/DateUtil.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/DeviceType.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/DeviceUtil.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/DrawingView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/DrawingViewManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/GetLocation$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/GetLocation$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/GetLocation.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ImageMetadata.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ImagePickerProvider.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/Metadata.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/NetInfoModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/NetInfoUtils.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/NetworkCallbackConnectivityReceiver$ConnectivityNetworkCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/NetworkCallbackConnectivityReceiver.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/Options.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/RNDeviceModule$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/RNDeviceModule$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/RNDeviceModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/RNInstallReferrerClient$InstallReferrerStateListenerProxy.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/RNInstallReferrerClient.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/RNLocalizeModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/RNLocalizeModuleImpl.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ReactNativeGetLocationModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/RecordScreenModule$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/RecordScreenModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ScreenshotDetectorModule$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ScreenshotDetectorModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/SettingsUtil.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ShakebugPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ShakebugSDKImagePickerModule$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ShakebugSDKImagePickerModule$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ShakebugSDKImagePickerModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ShakebugSDKImagePickerModuleImpl.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ShakebugSensors.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/SharedPreferencesModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/UnitConverter.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/Utility.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/Utils.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/VideoMetadata.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ViewShot$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ViewShot$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ViewShot$Formats.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ViewShot$Results.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ViewShot$ReusableByteArrayOutputStream.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/ViewShot.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/callback/SingleCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/interfaces/IVideoTrimmerView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/interfaces/VideoPlayerListner.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/interfaces/VideoTrimListener.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/resolver/DeviceIdResolver.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/resolver/DeviceTypeResolver.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/thread/BackgroundExecutor$Task.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/thread/BackgroundExecutor.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/thread/UiThreadExecutor$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/thread/UiThreadExecutor$Token.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/thread/UiThreadExecutor.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/types/CellularGeneration.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/types/ConnectionType.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/widgets/SpacesItemDecoration2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/shakebug/widgets/ZVideoView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +48 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +81 -0
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/ShakebugPackage.class.uniqueId0 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build.gradle +0 -1
- package/android/src/main/java/com/shakebug/CreateThumbnailModule.java +217 -0
- package/android/src/main/java/com/shakebug/NetInfoModule.java +1 -2
- package/android/src/main/java/com/shakebug/RNDeviceModule.java +1 -3
- package/android/src/main/java/com/shakebug/ShakebugPackage.java +10 -10
- package/android/src/main/java/com/shakebug/{Shakebug.java → ShakebugSensors.java} +16 -22
- package/ios/GetLocals/ShakebugSDKRNLocalize.h +1 -0
- package/ios/Thumbnaill/{VideoThumbnailManager.h → CreateThumbnail.h} +2 -1
- package/ios/Thumbnaill/CreateThumbnail.m +82 -0
- package/package.json +2 -5
- package/shakebug-react-native.podspec +0 -1
- package/src/APIs/AddIssue.js +13 -4
- package/src/APIs/AddReview.js +46 -0
- package/src/APIs/CustomUserId.js +47 -0
- package/src/APIs/Event.js +8 -3
- package/src/APIs/StartSession.js +6 -8
- package/src/Assets/images/solar_star-bold.png +0 -0
- package/src/Assets/images/solar_star-line-duotone.png +0 -0
- package/src/Componanats/ReviewModal.js +171 -0
- package/src/Componanats/ShakeFunction.js +6 -3
- package/src/Screens/AddDetailsScreen.js +14 -10
- package/src/Screens/FirstScreen.js +2 -2
- package/src/Screens/Shakebug.js +63 -6
- package/src/Screens/TrimVideoScreen.js +13 -7
- package/src/index.tsx +8 -4
- package/android/src/main/java/com/shakebug/ShakebugSDKScreenShotModule.java +0 -196
- package/android/src/main/java/com/shakebug/VideoPlayerModule.java +0 -199
- package/android/src/main/java/com/shakebug/VideoThumbnailModule.java +0 -215
- package/android/src/main/java/com/shakebug/VideoTrimModule.java +0 -372
- package/android/src/main/java/com/shakebug/adapters/VideoTrimmerAdapter.java +0 -54
- package/android/src/main/java/com/shakebug/utils/StorageUtil.java +0 -139
- package/android/src/main/java/com/shakebug/utils/VideoTrimmerUtil.java +0 -89
- package/android/src/main/java/com/shakebug/widgets/RangeSeekBarView.java +0 -534
- package/android/src/main/java/com/shakebug/widgets/VideoPlayerView.java +0 -429
- package/android/src/main/java/com/shakebug/widgets/VideoTrimmerView.java +0 -477
- package/ios/Thumbnaill/VideoThumbnailManager.m +0 -73
- package/ios/TrimVideo/ShakebugSDKVideoTrim.swift +0 -372
- package/ios/TrimVideo/VideoTrim-Bridging-Header.h +0 -10
- package/ios/TrimVideo/VideoTrim.m +0 -23
- package/ios/TrimVideo/VideoTrimmer.swift +0 -810
- package/ios/TrimVideo/VideoTrimmerThumb.swift +0 -119
- package/ios/TrimVideo/VideoTrimmerViewController.swift +0 -301
|
@@ -1,372 +0,0 @@
|
|
|
1
|
-
package com.shakebug;
|
|
2
|
-
|
|
3
|
-
import static com.facebook.react.bridge.UiThreadUtil.runOnUiThread;
|
|
4
|
-
|
|
5
|
-
import android.app.Activity;
|
|
6
|
-
import android.content.res.ColorStateList;
|
|
7
|
-
import android.graphics.Color;
|
|
8
|
-
import android.media.MediaMetadataRetriever;
|
|
9
|
-
import android.net.Uri;
|
|
10
|
-
import android.os.Build;
|
|
11
|
-
import android.view.Gravity;
|
|
12
|
-
import android.view.ViewGroup;
|
|
13
|
-
import android.widget.LinearLayout;
|
|
14
|
-
import android.widget.ProgressBar;
|
|
15
|
-
import android.widget.TextView;
|
|
16
|
-
|
|
17
|
-
import androidx.annotation.NonNull;
|
|
18
|
-
import androidx.annotation.Nullable;
|
|
19
|
-
import androidx.appcompat.app.AlertDialog;
|
|
20
|
-
|
|
21
|
-
import com.facebook.react.bridge.Arguments;
|
|
22
|
-
import com.facebook.react.bridge.LifecycleEventListener;
|
|
23
|
-
import com.facebook.react.bridge.Promise;
|
|
24
|
-
import com.facebook.react.bridge.ReactApplicationContext;
|
|
25
|
-
import com.facebook.react.bridge.ReactContext;
|
|
26
|
-
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
27
|
-
import com.facebook.react.bridge.ReactMethod;
|
|
28
|
-
import com.facebook.react.bridge.ReadableMap;
|
|
29
|
-
import com.facebook.react.bridge.WritableMap;
|
|
30
|
-
import com.facebook.react.module.annotations.ReactModule;
|
|
31
|
-
import com.facebook.react.modules.core.DeviceEventManagerModule;
|
|
32
|
-
import com.shakebug.interfaces.VideoTrimListener;
|
|
33
|
-
import com.shakebug.utils.StorageUtil;
|
|
34
|
-
import com.shakebug.widgets.VideoTrimmerView;
|
|
35
|
-
|
|
36
|
-
import java.io.IOException;
|
|
37
|
-
|
|
38
|
-
@ReactModule(name = VideoTrimModule.NAME)
|
|
39
|
-
public class VideoTrimModule extends ReactContextBaseJavaModule implements VideoTrimListener, LifecycleEventListener {
|
|
40
|
-
public static final String NAME = "ShakebugSDKVideoTrim";
|
|
41
|
-
private static Boolean isInit = false;
|
|
42
|
-
private VideoTrimmerView trimmerView;
|
|
43
|
-
private AlertDialog alertDialog;
|
|
44
|
-
private AlertDialog mProgressDialog;
|
|
45
|
-
private ProgressBar mProgressBar;
|
|
46
|
-
private int listenerCount = 0;
|
|
47
|
-
|
|
48
|
-
private Promise showEditorPromise;
|
|
49
|
-
|
|
50
|
-
private boolean enableCancelDialog = true;
|
|
51
|
-
private String cancelDialogTitle = "Warning!";
|
|
52
|
-
private String cancelDialogMessage = "Are you sure want to cancel?";
|
|
53
|
-
private String cancelDialogCancelText = "Close";
|
|
54
|
-
private String cancelDialogConfirmText = "Proceed";
|
|
55
|
-
private boolean enableSaveDialog = true;
|
|
56
|
-
private String saveDialogTitle = "Confirmation!";
|
|
57
|
-
private String saveDialogMessage = "Are you sure want to save?";
|
|
58
|
-
private String saveDialogCancelText = "Close";
|
|
59
|
-
private String saveDialogConfirmText = "Proceed";
|
|
60
|
-
private String trimmingText = "Trimming video...";
|
|
61
|
-
|
|
62
|
-
public VideoTrimModule(ReactApplicationContext reactContext) {
|
|
63
|
-
super(reactContext);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@Override
|
|
67
|
-
@NonNull
|
|
68
|
-
public String getName() {
|
|
69
|
-
return NAME;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
@ReactMethod
|
|
74
|
-
public void showEditor(String videoPath, ReadableMap config, Promise promise) {
|
|
75
|
-
showEditorPromise = promise;
|
|
76
|
-
if (trimmerView != null || alertDialog != null) {
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
if (!isValidVideo(videoPath)) {
|
|
81
|
-
WritableMap map = Arguments.createMap();
|
|
82
|
-
map.putString("message", "File is not a valid video");
|
|
83
|
-
sendEvent(getReactApplicationContext(), "onError", map);
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
enableCancelDialog = config.hasKey("enableCancelDialog") ? config.getBoolean("enableCancelDialog") : true;
|
|
88
|
-
cancelDialogTitle = config.hasKey("cancelDialogTitle") ? config.getString("cancelDialogTitle") : "Warning!";
|
|
89
|
-
cancelDialogMessage = config.hasKey("cancelDialogMessage") ? config.getString("cancelDialogMessage") : "Are you sure want to cancel?";
|
|
90
|
-
cancelDialogCancelText = config.hasKey("cancelDialogCancelText") ? config.getString("cancelDialogCancelText") : "Close";
|
|
91
|
-
cancelDialogConfirmText = config.hasKey("cancelDialogConfirmText") ? config.getString("cancelDialogConfirmText") : "Proceed";
|
|
92
|
-
|
|
93
|
-
enableSaveDialog = config.hasKey("enableSaveDialog") ? config.getBoolean("enableSaveDialog") : true;
|
|
94
|
-
saveDialogTitle = config.hasKey("saveDialogTitle") ? config.getString("saveDialogTitle") : "Confirmation!";
|
|
95
|
-
saveDialogMessage = config.hasKey("saveDialogMessage") ? config.getString("saveDialogMessage") : "Are you sure want to save?";
|
|
96
|
-
saveDialogCancelText = config.hasKey("saveDialogCancelText") ? config.getString("saveDialogCancelText") : "Close";
|
|
97
|
-
saveDialogConfirmText = config.hasKey("saveDialogConfirmText") ? config.getString("saveDialogConfirmText") : "Proceed";
|
|
98
|
-
trimmingText = config.hasKey("trimmingText") ? config.getString("trimmingText") : "Trimming video...";
|
|
99
|
-
|
|
100
|
-
Activity activity = getReactApplicationContext().getCurrentActivity();
|
|
101
|
-
|
|
102
|
-
if (!isInit) {
|
|
103
|
-
init(activity);
|
|
104
|
-
isInit = true;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// here is NOT main thread, we need to create VideoTrimmerView on UI thread, so that later we can update it using same thread
|
|
108
|
-
|
|
109
|
-
runOnUiThread(() -> {
|
|
110
|
-
trimmerView = new VideoTrimmerView(getReactApplicationContext(), config, null);
|
|
111
|
-
trimmerView.setOnTrimVideoListener(this);
|
|
112
|
-
trimmerView.initVideoByURI(Uri.parse(videoPath));
|
|
113
|
-
|
|
114
|
-
AlertDialog.Builder builder = new AlertDialog.Builder(activity, android.R.style.Theme_Black_NoTitleBar_Fullscreen);
|
|
115
|
-
builder.setCancelable(false);
|
|
116
|
-
alertDialog = builder.create();
|
|
117
|
-
alertDialog.setView(trimmerView);
|
|
118
|
-
alertDialog.show();
|
|
119
|
-
|
|
120
|
-
// this is to ensure to release resource if dialog is dismissed in unexpected way (Eg. open control/notification center by dragging from top of screen)
|
|
121
|
-
alertDialog.setOnDismissListener(dialog -> {
|
|
122
|
-
// This is called in same thread as the trimmer view -> UI thread
|
|
123
|
-
if (trimmerView != null) {
|
|
124
|
-
trimmerView.onDestroy();
|
|
125
|
-
trimmerView = null;
|
|
126
|
-
}
|
|
127
|
-
hideDialog();
|
|
128
|
-
sendEvent(getReactApplicationContext(), "onHide", null);
|
|
129
|
-
});
|
|
130
|
-
sendEvent(getReactApplicationContext(), "onShow", null);
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
private void init(Activity activity) {
|
|
135
|
-
isInit = true;
|
|
136
|
-
// we have to init this before create videoTrimmerView
|
|
137
|
-
BaseUtils.init(getReactApplicationContext());
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
@Override
|
|
141
|
-
public void onHostResume() {
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
@Override
|
|
146
|
-
public void onHostPause() {
|
|
147
|
-
if (trimmerView != null) {
|
|
148
|
-
trimmerView.onVideoPause();
|
|
149
|
-
trimmerView.setRestoreState(true);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
@Override
|
|
154
|
-
public void onHostDestroy() {
|
|
155
|
-
hideDialog();
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
@Override public void onStartTrim() {
|
|
159
|
-
sendEvent(getReactApplicationContext(), "onStartTrimming", null);
|
|
160
|
-
runOnUiThread(() -> {
|
|
161
|
-
buildDialog();
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
@Override public void onTrimmingProgress(int percentage) {
|
|
166
|
-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
|
167
|
-
mProgressBar.setProgress(percentage, true);
|
|
168
|
-
} else {
|
|
169
|
-
mProgressBar.setProgress(percentage);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
@Override public void onFinishTrim(String in) {
|
|
175
|
-
runOnUiThread(() -> {
|
|
176
|
-
WritableMap map = Arguments.createMap();
|
|
177
|
-
map.putString("outputPath", in);
|
|
178
|
-
sendEvent(getReactApplicationContext(), "onFinishTrimming", map);
|
|
179
|
-
showEditorPromise.resolve(in);
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
@Override public void onError(String errorMessage) {
|
|
184
|
-
WritableMap map = Arguments.createMap();
|
|
185
|
-
map.putString("message", errorMessage);
|
|
186
|
-
sendEvent(getReactApplicationContext(), "onError", map);
|
|
187
|
-
this.hideDialog();
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
@Override public void onCancel() {
|
|
191
|
-
if (!enableCancelDialog) {
|
|
192
|
-
sendEvent(getReactApplicationContext(), "onCancelTrimming", null);
|
|
193
|
-
hideDialog();
|
|
194
|
-
return;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
AlertDialog.Builder builder = new AlertDialog.Builder(getReactApplicationContext().getCurrentActivity());
|
|
198
|
-
builder.setMessage(cancelDialogMessage);
|
|
199
|
-
builder.setTitle(cancelDialogTitle);
|
|
200
|
-
builder.setCancelable(false);
|
|
201
|
-
builder.setPositiveButton(cancelDialogConfirmText, (dialog, which) -> {
|
|
202
|
-
dialog.cancel();
|
|
203
|
-
sendEvent(getReactApplicationContext(), "onCancelTrimming", null);
|
|
204
|
-
hideDialog();
|
|
205
|
-
});
|
|
206
|
-
builder.setNegativeButton(cancelDialogCancelText, (dialog, which) -> {
|
|
207
|
-
dialog.cancel();
|
|
208
|
-
});
|
|
209
|
-
AlertDialog alertDialog = builder.create();
|
|
210
|
-
alertDialog.show();
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
@Override public void onSave() {
|
|
214
|
-
if (!enableSaveDialog) {
|
|
215
|
-
trimmerView.onSaveClicked();
|
|
216
|
-
return;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
AlertDialog.Builder builder = new AlertDialog.Builder(getReactApplicationContext().getCurrentActivity());
|
|
220
|
-
builder.setMessage(saveDialogMessage);
|
|
221
|
-
builder.setTitle(saveDialogTitle);
|
|
222
|
-
builder.setCancelable(false);
|
|
223
|
-
builder.setPositiveButton(saveDialogConfirmText, (dialog, which) -> {
|
|
224
|
-
dialog.cancel();
|
|
225
|
-
trimmerView.onSaveClicked();
|
|
226
|
-
});
|
|
227
|
-
builder.setNegativeButton(saveDialogCancelText, (dialog, which) -> {
|
|
228
|
-
dialog.cancel();
|
|
229
|
-
});
|
|
230
|
-
AlertDialog alertDialog = builder.create();
|
|
231
|
-
alertDialog.show();
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
@ReactMethod
|
|
235
|
-
private void hideDialog() {
|
|
236
|
-
if (mProgressDialog != null) {
|
|
237
|
-
if (mProgressDialog.isShowing()) mProgressDialog.dismiss();
|
|
238
|
-
mProgressBar = null;
|
|
239
|
-
mProgressDialog = null;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
if (alertDialog != null) {
|
|
243
|
-
if(alertDialog.isShowing()) {
|
|
244
|
-
alertDialog.dismiss();
|
|
245
|
-
}
|
|
246
|
-
alertDialog = null;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
private void buildDialog() {
|
|
251
|
-
Activity activity = getReactApplicationContext().getCurrentActivity();
|
|
252
|
-
// Create the parent layout for the dialog
|
|
253
|
-
LinearLayout layout = new LinearLayout(activity);
|
|
254
|
-
layout.setLayoutParams(new ViewGroup.LayoutParams(
|
|
255
|
-
ViewGroup.LayoutParams.WRAP_CONTENT,
|
|
256
|
-
ViewGroup.LayoutParams.WRAP_CONTENT
|
|
257
|
-
));
|
|
258
|
-
layout.setOrientation(LinearLayout.VERTICAL);
|
|
259
|
-
layout.setGravity(Gravity.CENTER_HORIZONTAL);
|
|
260
|
-
layout.setPadding(16, 32, 16, 32);
|
|
261
|
-
|
|
262
|
-
// Create and add the TextView
|
|
263
|
-
TextView textView = new TextView(activity);
|
|
264
|
-
textView.setLayoutParams(new ViewGroup.LayoutParams(
|
|
265
|
-
ViewGroup.LayoutParams.WRAP_CONTENT,
|
|
266
|
-
ViewGroup.LayoutParams.WRAP_CONTENT
|
|
267
|
-
));
|
|
268
|
-
textView.setText(trimmingText);
|
|
269
|
-
textView.setTextSize(18);
|
|
270
|
-
layout.addView(textView);
|
|
271
|
-
|
|
272
|
-
// Create and add the ProgressBar
|
|
273
|
-
mProgressBar = new ProgressBar(activity, null, android.R.attr.progressBarStyleHorizontal);
|
|
274
|
-
mProgressBar.setLayoutParams(new ViewGroup.LayoutParams(
|
|
275
|
-
ViewGroup.LayoutParams.MATCH_PARENT,
|
|
276
|
-
ViewGroup.LayoutParams.WRAP_CONTENT
|
|
277
|
-
));
|
|
278
|
-
mProgressBar.setProgressTintList(ColorStateList.valueOf(Color.parseColor("#2196F3")));
|
|
279
|
-
layout.addView(mProgressBar);
|
|
280
|
-
|
|
281
|
-
// Create the AlertDialog
|
|
282
|
-
AlertDialog.Builder builder = new AlertDialog.Builder(activity);
|
|
283
|
-
builder.setCancelable(false);
|
|
284
|
-
builder.setView(layout);
|
|
285
|
-
|
|
286
|
-
// Show the dialog
|
|
287
|
-
mProgressDialog = builder.create();
|
|
288
|
-
mProgressDialog.show();
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
@ReactMethod
|
|
292
|
-
public void addListener(String eventName) {
|
|
293
|
-
// This method is required by React
|
|
294
|
-
listenerCount += 1;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
@ReactMethod
|
|
298
|
-
public void removeListeners(Integer count) {
|
|
299
|
-
// This method is required by React
|
|
300
|
-
listenerCount -= count;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
private void sendEvent(ReactContext reactContext, String eventName, @Nullable WritableMap params) {
|
|
304
|
-
if (listenerCount > 0) {
|
|
305
|
-
WritableMap map = params != null ? params : Arguments.createMap();
|
|
306
|
-
map.putString("name", eventName);
|
|
307
|
-
reactContext
|
|
308
|
-
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
|
|
309
|
-
.emit("ShakebugSDKVideoTrim", map);
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
public boolean isValidVideo(String filePath) {
|
|
315
|
-
MediaMetadataRetriever retriever = new MediaMetadataRetriever();
|
|
316
|
-
|
|
317
|
-
try {
|
|
318
|
-
retriever.setDataSource(getReactApplicationContext(), Uri.parse(filePath));
|
|
319
|
-
} catch (Exception e){
|
|
320
|
-
e.printStackTrace();
|
|
321
|
-
return false;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
String hasVideo = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_HAS_VIDEO);
|
|
325
|
-
return "yes".equals(hasVideo);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
@ReactMethod
|
|
329
|
-
private void isValidVideo(String filePath, Promise promise) {
|
|
330
|
-
promise.resolve(isValidVideo(filePath));
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
@ReactMethod
|
|
334
|
-
private void saveVideo(String filePath, Promise promise) {
|
|
335
|
-
try {
|
|
336
|
-
StorageUtil.saveVideoToGallery(getReactApplicationContext(), filePath);
|
|
337
|
-
} catch (IOException e) {
|
|
338
|
-
e.printStackTrace();
|
|
339
|
-
WritableMap mapE = Arguments.createMap();
|
|
340
|
-
mapE.putString("message", "Fail while copying file to Gallery");
|
|
341
|
-
sendEvent(getReactApplicationContext(), "onError", mapE);
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
this.hideDialog();
|
|
345
|
-
promise.resolve(null);
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
@ReactMethod
|
|
349
|
-
private void listFiles(Promise promise) {
|
|
350
|
-
String[] files = StorageUtil.listFiles(getReactApplicationContext());
|
|
351
|
-
promise.resolve(Arguments.fromArray(files));
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
@ReactMethod
|
|
355
|
-
private void cleanFiles(Promise promise) {
|
|
356
|
-
String[] files = StorageUtil.listFiles(getReactApplicationContext());
|
|
357
|
-
int successCount = 0;
|
|
358
|
-
for (String file : files) {
|
|
359
|
-
boolean state = StorageUtil.deleteFile(file);
|
|
360
|
-
if (state) {
|
|
361
|
-
successCount++;
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
promise.resolve(successCount);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
@ReactMethod
|
|
368
|
-
private void deleteFile(String filePath, Promise promise) {
|
|
369
|
-
boolean state = StorageUtil.deleteFile(filePath);
|
|
370
|
-
promise.resolve(state);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
package com.shakebug.adapters;
|
|
2
|
-
|
|
3
|
-
import android.content.Context;
|
|
4
|
-
import android.graphics.Bitmap;
|
|
5
|
-
import android.view.LayoutInflater;
|
|
6
|
-
import android.view.View;
|
|
7
|
-
import android.view.ViewGroup;
|
|
8
|
-
import android.widget.ImageView;
|
|
9
|
-
import android.widget.LinearLayout;
|
|
10
|
-
import androidx.annotation.NonNull;
|
|
11
|
-
import androidx.recyclerview.widget.RecyclerView;
|
|
12
|
-
import com.shakebug.R;
|
|
13
|
-
import com.shakebug.utils.VideoTrimmerUtil;
|
|
14
|
-
import java.util.ArrayList;
|
|
15
|
-
import java.util.List;
|
|
16
|
-
|
|
17
|
-
public class VideoTrimmerAdapter extends RecyclerView.Adapter {
|
|
18
|
-
private final List<Bitmap> mBitmaps = new ArrayList<>();
|
|
19
|
-
private final LayoutInflater mInflater;
|
|
20
|
-
|
|
21
|
-
public VideoTrimmerAdapter(Context context) {
|
|
22
|
-
this.mInflater = LayoutInflater.from(context);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@NonNull @Override public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
|
|
26
|
-
return new TrimmerViewHolder(mInflater.inflate(R.layout.video_thumb_item_layout, parent, false));
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@Override public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position) {
|
|
30
|
-
((TrimmerViewHolder) holder).thumbImageView.setImageBitmap(mBitmaps.get(position));
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@Override public int getItemCount() {
|
|
34
|
-
return mBitmaps.size();
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
public void addBitmaps(Bitmap bitmap) {
|
|
38
|
-
mBitmaps.add(bitmap);
|
|
39
|
-
notifyItemInserted(mBitmaps.size() - 1);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
private static final class TrimmerViewHolder extends RecyclerView.ViewHolder {
|
|
43
|
-
ImageView thumbImageView;
|
|
44
|
-
|
|
45
|
-
TrimmerViewHolder(View itemView) {
|
|
46
|
-
super(itemView);
|
|
47
|
-
thumbImageView = itemView.findViewById(R.id.thumb);
|
|
48
|
-
LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) thumbImageView.getLayoutParams();
|
|
49
|
-
layoutParams.width = VideoTrimmerUtil.VIDEO_FRAMES_WIDTH / VideoTrimmerUtil.MAX_COUNT_RANGE;
|
|
50
|
-
thumbImageView.setLayoutParams(layoutParams);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
package com.shakebug.utils;
|
|
2
|
-
|
|
3
|
-
import android.content.ContentValues;
|
|
4
|
-
import android.content.Context;
|
|
5
|
-
import android.media.MediaScannerConnection;
|
|
6
|
-
import android.net.Uri;
|
|
7
|
-
import android.os.Build;
|
|
8
|
-
import android.os.Environment;
|
|
9
|
-
import android.provider.MediaStore;
|
|
10
|
-
import android.text.TextUtils;
|
|
11
|
-
import com.facebook.react.bridge.ReactApplicationContext;
|
|
12
|
-
import java.io.File;
|
|
13
|
-
import java.io.FileInputStream;
|
|
14
|
-
import java.io.FileOutputStream;
|
|
15
|
-
import java.io.IOException;
|
|
16
|
-
import java.io.InputStream;
|
|
17
|
-
import java.io.OutputStream;
|
|
18
|
-
import java.util.ArrayList;
|
|
19
|
-
import java.util.List;
|
|
20
|
-
|
|
21
|
-
public class StorageUtil {
|
|
22
|
-
public static String getOutputPath(Context context) { // use same extension as inputFile
|
|
23
|
-
long timestamp = System.currentTimeMillis() / 1000;
|
|
24
|
-
File file = new File(context.getFilesDir(), VideoTrimmerUtil.FILE_PREFIX + "_" + timestamp + ".mp4"); // always use mp4 to prevent any issue with ffmpeg
|
|
25
|
-
return file.getAbsolutePath();
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
public static String[] listFiles(Context context) {
|
|
29
|
-
File filesDir = context.getFilesDir();
|
|
30
|
-
File[] files = filesDir.listFiles((dir, name) -> name.startsWith(VideoTrimmerUtil.FILE_PREFIX));
|
|
31
|
-
|
|
32
|
-
List<String> fileUrls = new ArrayList<>();
|
|
33
|
-
if (files != null) {
|
|
34
|
-
for (File file : files) {
|
|
35
|
-
fileUrls.add(file.getAbsolutePath());
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
return fileUrls.toArray(new String[0]);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
public static boolean deleteFile(String path) {
|
|
43
|
-
if (TextUtils.isEmpty(path)) return true;
|
|
44
|
-
return deleteFile(new File(path));
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
public static boolean deleteFile(File file) {
|
|
48
|
-
if (file == null || !file.exists()) return true;
|
|
49
|
-
|
|
50
|
-
if (file.isFile()) {
|
|
51
|
-
return file.delete();
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
if (!file.isDirectory()) {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
for (File f : file.listFiles()) {
|
|
59
|
-
if (f.isFile()) {
|
|
60
|
-
f.delete();
|
|
61
|
-
} else if (f.isDirectory()) {
|
|
62
|
-
deleteFile(f);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
return file.delete();
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
public static void saveVideoToGallery(ReactApplicationContext context, String videoFilePath) throws IOException {
|
|
69
|
-
File videoFile = new File(videoFilePath);
|
|
70
|
-
|
|
71
|
-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
|
|
72
|
-
// For Android 10 and higher (API >= 29)
|
|
73
|
-
saveVideoUsingMediaStore(context, videoFile);
|
|
74
|
-
} else {
|
|
75
|
-
// For Android 9 and below (API < 29)
|
|
76
|
-
try {
|
|
77
|
-
saveVideoUsingTraditionalStorage(context, videoFile);
|
|
78
|
-
} catch (IOException e) {
|
|
79
|
-
throw new RuntimeException(e);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// Save video using MediaStore for API level >= 29
|
|
85
|
-
private static void saveVideoUsingMediaStore(Context context, File videoFile) {
|
|
86
|
-
ContentValues values = new ContentValues();
|
|
87
|
-
values.put(MediaStore.Video.Media.TITLE, "My Video Title");
|
|
88
|
-
values.put(MediaStore.Video.Media.MIME_TYPE, "video/mp4");
|
|
89
|
-
values.put(MediaStore.Video.Media.RELATIVE_PATH, Environment.DIRECTORY_DCIM);
|
|
90
|
-
Uri uri = context.getContentResolver().insert(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, values);
|
|
91
|
-
|
|
92
|
-
if (uri != null) {
|
|
93
|
-
try {
|
|
94
|
-
OutputStream outputStream = context.getContentResolver().openOutputStream(uri);
|
|
95
|
-
copyFile(videoFile, outputStream);
|
|
96
|
-
MediaScannerConnection.scanFile(context, new String[]{uri.toString()}, new String[]{"video/*"}, null);
|
|
97
|
-
} catch (IOException e) {
|
|
98
|
-
e.printStackTrace();
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Save video using traditional storage for API level < 29
|
|
104
|
-
private static void saveVideoUsingTraditionalStorage(Context context, File videoFile) throws IOException {
|
|
105
|
-
File galleryDirectory = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM);
|
|
106
|
-
File destinationFile = new File(galleryDirectory, videoFile.getName());
|
|
107
|
-
copyFile(videoFile, destinationFile);
|
|
108
|
-
MediaScannerConnection.scanFile(context, new String[]{destinationFile.getAbsolutePath()}, new String[]{"video/*"}, null);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
private static void copyFile(File sourceFile, OutputStream outputStream) throws IOException {
|
|
112
|
-
InputStream inputStream = new FileInputStream(sourceFile);
|
|
113
|
-
copyFile(inputStream, outputStream);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
private static void copyFile(File sourceFile, File destFile) throws IOException {
|
|
117
|
-
InputStream inputStream = new FileInputStream(sourceFile);
|
|
118
|
-
OutputStream outputStream = new FileOutputStream(destFile);
|
|
119
|
-
copyFile(inputStream, outputStream);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
private static void copyFile(InputStream inputStream, OutputStream outputStream) throws IOException {
|
|
123
|
-
try {
|
|
124
|
-
byte[] buffer = new byte[1024];
|
|
125
|
-
int length;
|
|
126
|
-
while ((length = inputStream.read(buffer)) > 0) {
|
|
127
|
-
outputStream.write(buffer, 0, length);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
} finally {
|
|
131
|
-
if (inputStream != null) {
|
|
132
|
-
inputStream.close();
|
|
133
|
-
}
|
|
134
|
-
if (outputStream != null) {
|
|
135
|
-
outputStream.close();
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
package com.shakebug.utils;
|
|
2
|
-
|
|
3
|
-
import android.content.Context;
|
|
4
|
-
import android.graphics.Bitmap;
|
|
5
|
-
import android.media.MediaMetadataRetriever;
|
|
6
|
-
import android.net.Uri;
|
|
7
|
-
import com.arthenica.ffmpegkit.FFmpegKit;
|
|
8
|
-
import com.arthenica.ffmpegkit.ReturnCode;
|
|
9
|
-
import com.arthenica.ffmpegkit.SessionState;
|
|
10
|
-
import com.shakebug.DeviceUtil;
|
|
11
|
-
import com.shakebug.UnitConverter;
|
|
12
|
-
import com.shakebug.callback.SingleCallback;
|
|
13
|
-
import com.shakebug.interfaces.VideoTrimListener;
|
|
14
|
-
import com.shakebug.thread.BackgroundExecutor;
|
|
15
|
-
|
|
16
|
-
public class VideoTrimmerUtil {
|
|
17
|
-
|
|
18
|
-
private static final String TAG = VideoTrimmerUtil.class.getSimpleName();
|
|
19
|
-
public static final String FILE_PREFIX = "trimmedVideo";
|
|
20
|
-
public static final long MIN_SHOOT_DURATION = 3000L;// min 3 seconds for trimming
|
|
21
|
-
// public static final int VIDEO_MAX_TIME = 10;// max 10 seconds for trimming
|
|
22
|
-
// public static final long MAX_SHOOT_DURATION = VIDEO_MAX_TIME * 1000L;
|
|
23
|
-
public static long maxShootDuration = 10 * 1000L;
|
|
24
|
-
public static int MAX_COUNT_RANGE = 10; // how many images in the highlight range of seek bar
|
|
25
|
-
public static int SCREEN_WIDTH_FULL = DeviceUtil.getDeviceWidth();
|
|
26
|
-
public static final int RECYCLER_VIEW_PADDING = UnitConverter.dpToPx(35);
|
|
27
|
-
public static int VIDEO_FRAMES_WIDTH = SCREEN_WIDTH_FULL - RECYCLER_VIEW_PADDING * 2;
|
|
28
|
-
// public static final int THUMB_WIDTH = (SCREEN_WIDTH_FULL - RECYCLER_VIEW_PADDING * 2) / VIDEO_MAX_TIME;
|
|
29
|
-
public static int mThumbWidth = 0; // make it automatic
|
|
30
|
-
public static final int THUMB_HEIGHT = UnitConverter.dpToPx(50); // x2 for better resolution
|
|
31
|
-
private static final int THUMB_RESOLUTION_RES = 2; // double thumb resolution for better quality
|
|
32
|
-
|
|
33
|
-
public static void trim(String inputFile, String outputFile, int videoDuration, long startMs, long endMs, final VideoTrimListener callback) {
|
|
34
|
-
String cmd = "-i " + inputFile + " -ss " + startMs + "ms" + " -to " + endMs + "ms -c copy " + outputFile;
|
|
35
|
-
callback.onStartTrim();
|
|
36
|
-
FFmpegKit.executeAsync(cmd, session -> {
|
|
37
|
-
SessionState state = session.getState();
|
|
38
|
-
ReturnCode returnCode = session.getReturnCode();
|
|
39
|
-
|
|
40
|
-
if (ReturnCode.isSuccess(returnCode)) {
|
|
41
|
-
// SUCCESS
|
|
42
|
-
callback.onFinishTrim(outputFile);
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
// CANCEL + FAILURE
|
|
46
|
-
String errorMessage = String.format("Command failed with state %s and rc %s.%s", state, returnCode, session.getFailStackTrace());
|
|
47
|
-
callback.onError(errorMessage);
|
|
48
|
-
}
|
|
49
|
-
}, log -> {
|
|
50
|
-
|
|
51
|
-
}, statistics -> {
|
|
52
|
-
int timeInMilliseconds = (int) statistics.getTime();
|
|
53
|
-
if (timeInMilliseconds > 0) {
|
|
54
|
-
int completePercentage =
|
|
55
|
-
(timeInMilliseconds * 100) / videoDuration;
|
|
56
|
-
callback.onTrimmingProgress(Math.min(Math.max(completePercentage, 0), 100));
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
public static void shootVideoThumbInBackground(final Context context, final Uri videoUri, final int totalThumbsCount, final long startPosition,
|
|
62
|
-
final long endPosition, final SingleCallback<Bitmap, Integer> callback) {
|
|
63
|
-
BackgroundExecutor.execute(new BackgroundExecutor.Task("", 0L, "") {
|
|
64
|
-
@Override public void execute() {
|
|
65
|
-
try {
|
|
66
|
-
MediaMetadataRetriever mediaMetadataRetriever = new MediaMetadataRetriever();
|
|
67
|
-
mediaMetadataRetriever.setDataSource(context, videoUri);
|
|
68
|
-
// Retrieve media data use microsecond
|
|
69
|
-
long interval = (endPosition - startPosition) / (totalThumbsCount - 1);
|
|
70
|
-
for (long i = 0; i < totalThumbsCount; ++i) {
|
|
71
|
-
long frameTime = startPosition + interval * i;
|
|
72
|
-
Bitmap bitmap = mediaMetadataRetriever.getFrameAtTime(frameTime * 1000, MediaMetadataRetriever.OPTION_CLOSEST_SYNC);
|
|
73
|
-
if(bitmap == null) continue;
|
|
74
|
-
try {
|
|
75
|
-
bitmap = Bitmap.createScaledBitmap(bitmap, mThumbWidth * THUMB_RESOLUTION_RES, THUMB_HEIGHT * THUMB_RESOLUTION_RES, false);
|
|
76
|
-
} catch (final Throwable t) {
|
|
77
|
-
t.printStackTrace();
|
|
78
|
-
}
|
|
79
|
-
callback.onSingleCallback(bitmap, (int) interval);
|
|
80
|
-
}
|
|
81
|
-
mediaMetadataRetriever.release();
|
|
82
|
-
} catch (final Throwable e) {
|
|
83
|
-
Thread.getDefaultUncaughtExceptionHandler().uncaughtException(Thread.currentThread(), e);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|