shakebug-react-native 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/package.json +5 -2
  2. package/src/Componanats/ShakeFunction.js +19 -17
  3. package/src/Screens/AddDetailsScreen.js +9 -1
  4. package/src/Screens/FirstScreen.js +22 -16
  5. package/src/Screens/Shakebug.js +2 -2
  6. package/android/build/generated/source/buildConfig/debug/com/shakebug/BuildConfig.java +0 -10
  7. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +0 -42
  8. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +0 -18
  9. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +0 -6
  10. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +0 -1
  11. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  12. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  13. package/android/build/intermediates/compile_symbol_list/debug/R.txt +0 -47
  14. package/android/build/intermediates/compiled_local_resources/debug/out/xml_imagepicker_provider_paths.xml.flat +0 -0
  15. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -12
  16. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  17. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  18. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  19. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  20. package/android/build/intermediates/javac/debug/classes/com/shakebug/BuildConfig.class +0 -0
  21. package/android/build/intermediates/javac/debug/classes/com/shakebug/CustomMediaMetadataRetriever.class +0 -0
  22. package/android/build/intermediates/javac/debug/classes/com/shakebug/ImageMetadata.class +0 -0
  23. package/android/build/intermediates/javac/debug/classes/com/shakebug/ImagePickerProvider.class +0 -0
  24. package/android/build/intermediates/javac/debug/classes/com/shakebug/Metadata.class +0 -0
  25. package/android/build/intermediates/javac/debug/classes/com/shakebug/Options.class +0 -0
  26. package/android/build/intermediates/javac/debug/classes/com/shakebug/RecordScreenModule$1.class +0 -0
  27. package/android/build/intermediates/javac/debug/classes/com/shakebug/RecordScreenModule.class +0 -0
  28. package/android/build/intermediates/javac/debug/classes/com/shakebug/Shakebug.class +0 -0
  29. package/android/build/intermediates/javac/debug/classes/com/shakebug/ShakebugPackage.class +0 -0
  30. package/android/build/intermediates/javac/debug/classes/com/shakebug/Utility.class +0 -0
  31. package/android/build/intermediates/javac/debug/classes/com/shakebug/Utils.class +0 -0
  32. package/android/build/intermediates/javac/debug/classes/com/shakebug/VideoMetadata.class +0 -0
  33. package/android/build/intermediates/javac/debug/classes/com/shakebug/ViewShot$1.class +0 -0
  34. package/android/build/intermediates/javac/debug/classes/com/shakebug/ViewShot$2.class +0 -0
  35. package/android/build/intermediates/javac/debug/classes/com/shakebug/ViewShot$Formats.class +0 -0
  36. package/android/build/intermediates/javac/debug/classes/com/shakebug/ViewShot$Results.class +0 -0
  37. package/android/build/intermediates/javac/debug/classes/com/shakebug/ViewShot$ReusableByteArrayOutputStream.class +0 -0
  38. package/android/build/intermediates/javac/debug/classes/com/shakebug/ViewShot.class +0 -0
  39. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +0 -49
  40. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +0 -82
  41. package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +0 -42
  42. package/android/build/intermediates/navigation_json/debug/navigation.json +0 -1
  43. package/android/build/intermediates/packaged_res/debug/values/values.xml +0 -25
  44. package/android/build/intermediates/packaged_res/debug/xml/imagepicker_provider_paths.xml +0 -4
  45. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/BuildConfig.class +0 -0
  46. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/CustomMediaMetadataRetriever.class +0 -0
  47. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/ImageMetadata.class +0 -0
  48. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/ImagePickerProvider.class +0 -0
  49. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/Metadata.class +0 -0
  50. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/Options.class +0 -0
  51. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/RecordScreenModule$1.class +0 -0
  52. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/RecordScreenModule.class +0 -0
  53. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/Shakebug.class +0 -0
  54. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/ShakebugPackage.class +0 -0
  55. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/Utility.class +0 -0
  56. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/Utils.class +0 -0
  57. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/VideoMetadata.class +0 -0
  58. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/ViewShot$1.class +0 -0
  59. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/ViewShot$2.class +0 -0
  60. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/ViewShot$Formats.class +0 -0
  61. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/ViewShot$Results.class +0 -0
  62. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/ViewShot$ReusableByteArrayOutputStream.class +0 -0
  63. package/android/build/intermediates/runtime_library_classes_dir/debug/com/shakebug/ViewShot.class +0 -0
  64. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +0 -48
  65. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -97
  66. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "shakebug-react-native",
3
3
  "title": "shakebug-react-native",
4
- "version": "1.0.14",
4
+ "version": "1.0.16",
5
5
  "description": "Shakebug allows users to report the bug from your mobile phone for your application. Here users just need to shake their mobile and all the data regarding bugs & crashes can be seen by developers through their log in panel easily",
6
6
  "main": "src/index.tsx",
7
7
  "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1"
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "postinstall": "npm install react-native-screens react-native-safe-area-context"
9
10
  },
10
11
  "repository": "https://github.com/softnoesis/Shakebug-ReactNative-npm",
11
12
  "homepage": "https://www.shakebug.com",
@@ -30,6 +31,8 @@
30
31
  "@react-navigation/native": "^6.1.9",
31
32
  "html2canvas": "^1.4.1",
32
33
  "react-native-logs": "^5.1.0",
34
+ "react-native-safe-area-context": "^4.14.0",
35
+ "react-native-screens": "^4.3.0",
33
36
  "rxjs": "^7.8.1",
34
37
  "typescript": "^5.3.3"
35
38
  },
@@ -1,4 +1,4 @@
1
- import { View, Text, Platform, Image, ImageBackground, NativeModules, DeviceEventEmitter, NativeEventEmitter, StatusBar, PanResponder, Animated, AppState, Dimensions, BackHandler, LogBox, StyleSheet } from 'react-native'
1
+ import { View, Text, Platform, Image, ImageBackground, NativeModules, DeviceEventEmitter, NativeEventEmitter, StatusBar, PanResponder, Animated, AppState, Dimensions, BackHandler, LogBox, StyleSheet, SafeAreaView } from 'react-native'
2
2
  import React, { useRef, useEffect, useState } from 'react'
3
3
  import { SensorTypes, setUpdateIntervalForType, accelerometer } from '../../Sensor/src/index';
4
4
  import ViewShot from '../../ScreenShot/src/index';
@@ -205,11 +205,11 @@ const ShakeFunction = ({ children, themeColor, showTutorialScreen, SDKScreenTitl
205
205
 
206
206
  useEffect(() => {
207
207
  const handleAppStateChange = (nextAppState) => {
208
- if (nextAppState == 'background') {
209
- if (Platform.OS == 'ios' && global.isRecording) {
210
- Stop()
211
- }
212
- }
208
+ // if (nextAppState == 'background') {
209
+ // if (Platform.OS == 'ios' && global.isRecording) {
210
+ // Stop()
211
+ // }
212
+ // }
213
213
 
214
214
  if (appState.current.match(/inactive|background/) && nextAppState === 'active') {
215
215
  // Calculate the elapsed time when the app comes back to the foreground
@@ -284,11 +284,8 @@ const ShakeFunction = ({ children, themeColor, showTutorialScreen, SDKScreenTitl
284
284
  DeviceInfo.isEmulator().then(res => {
285
285
  if (!res && isRecording == false && allowToReportBugByShaking !== false) {
286
286
  const subscription = accelerometer.subscribe(async ({ x, y, z, timestamp }) => {
287
- xdata = x;
288
- ydata = y;
289
- zdata = z;
290
287
 
291
- let calculate = Math.abs(xdata + ydata + zdata)
288
+ let calculate = Math.sqrt(x * x + y * y + z * z);
292
289
 
293
290
  if (global.isTrigger == true && global.isShakebugOpen == false) {
294
291
  setTriggred(true)
@@ -299,7 +296,7 @@ const ShakeFunction = ({ children, themeColor, showTutorialScreen, SDKScreenTitl
299
296
  }
300
297
 
301
298
  if (Platform.OS == 'android' && global.isRecording == false && global.isTrigger == false) {
302
- if (calculate.toFixed(2) >= 18.00) {
299
+ if (calculate.toFixed(2) >= 18) {
303
300
  if (global.isAndroidValid == true && global.application_id != "" && global.application_id != undefined && global.isTrigger == false) {
304
301
  setIsScreenShot(true)
305
302
  const ImgUrl = await ref.current.capture()
@@ -392,7 +389,7 @@ const ShakeFunction = ({ children, themeColor, showTutorialScreen, SDKScreenTitl
392
389
  mic: global.isMic,
393
390
  fps: 30,
394
391
  bitrate: 1024000,
395
- }).then(res => {
392
+ }).then(res => {
396
393
  setIsLoading(false)
397
394
  if (res == 'started') {
398
395
  setIsRecordingStart(true)
@@ -407,7 +404,7 @@ const ShakeFunction = ({ children, themeColor, showTutorialScreen, SDKScreenTitl
407
404
  startTimeRef.current = null
408
405
  startTimer()
409
406
  }
410
- else {
407
+ else {
411
408
  global.isMic = false;
412
409
  global.isRecordingStart = false;
413
410
  OpenShakebug()
@@ -461,9 +458,14 @@ const ShakeFunction = ({ children, themeColor, showTutorialScreen, SDKScreenTitl
461
458
  ).current;
462
459
 
463
460
  return (
464
- <>
465
-
466
- <ViewShot ref={ref} options={{ fileName: "ScreenShort", format: "jpg", quality: 1, }} style={{ width: "100%", height: '100%', backgroundColor: 'white', }}>
461
+ <View
462
+ style={{
463
+ width: "100%",
464
+ height: "100%",
465
+ }}
466
+ >
467
+
468
+ <ViewShot ref={ref} options={{ fileName: "ScreenShort", format: "jpg", quality: 1, }} style={{ width: "100%", height: '100%',}}>
467
469
  {isDraw ? (
468
470
  <ImageBackground
469
471
  source={{ uri: img }}
@@ -554,7 +556,7 @@ const ShakeFunction = ({ children, themeColor, showTutorialScreen, SDKScreenTitl
554
556
  )}
555
557
  </Animated.View>
556
558
  ) : null}
557
- </>
559
+ </View>
558
560
  );
559
561
 
560
562
  }
@@ -281,7 +281,7 @@ const AddDetailsScreen = ({ media, updateParent, mediaType, themeColor, SDKScree
281
281
  }
282
282
 
283
283
  return (
284
- <SafeAreaView style={{ width: "100%", height: "100%" }}>
284
+ <SafeAreaView style={{ width: "100%", height: Dimensions.get('screen').height - StatusBar.currentHeight, backgroundColor: themeColor, marginTop: Platform.OS == 'ios' ? StatusBar.currentHeight : 0, paddingBottom: 0 }}>
285
285
  <StatusBar backgroundColor={ThemeColor} hidden={false} />
286
286
  <KeyboardAvoidingWrapper>
287
287
  <>
@@ -455,6 +455,14 @@ const AddDetailsScreen = ({ media, updateParent, mediaType, themeColor, SDKScree
455
455
  <ActivityIndicator size={'large'} color={themeColor} collapsable={true} style={{ position: 'absolute', top: 0, bottom: 0, left: 0, right: 0, elevation: 2 }} />}
456
456
  </>
457
457
  </KeyboardAvoidingWrapper>
458
+
459
+ <View
460
+ style={{
461
+ backgroundColor: '#fff',
462
+ height: Platform.OS == 'android' ? 0 : 40,
463
+ }}
464
+ />
465
+
458
466
  </SafeAreaView >
459
467
  )
460
468
  }
@@ -1,4 +1,4 @@
1
- import { Alert, Image, ImageBackground, Linking, PermissionsAndroid, Platform, SafeAreaView, StatusBar, Text, TouchableOpacity, View, TextInput, Keyboard, PanResponder, Animated, StyleSheet, KeyboardAvoidingView, BackHandler, Dimensions } from 'react-native'
1
+ import { Alert, Image, ImageBackground, Linking, PermissionsAndroid, Platform, SafeAreaView, StatusBar, Text, TouchableOpacity, View, TextInput, Keyboard, PanResponder, Animated, StyleSheet, KeyboardAvoidingView, BackHandler, Dimensions, Modal } from 'react-native'
2
2
  import React, { useEffect, useRef, useState } from 'react'
3
3
  import { ClearCanvas, RNDrawingView } from './StrockView.js';
4
4
  import ViewShot from '../../ScreenShot/src/index.js';
@@ -17,6 +17,7 @@ console.ignoredYellowBox = ["Warning: Each", "Warning: Failed", "Possible"];
17
17
 
18
18
  const FirstScreen = ({ img, themeColor, SDKScreenTitle }) => {
19
19
 
20
+
20
21
  const { setIsScreenShot, setIsRecordingStart } = useGlobalState()
21
22
 
22
23
  const ThemeColor = themeColor ? themeColor : "#1dd3e3";
@@ -35,13 +36,15 @@ const FirstScreen = ({ img, themeColor, SDKScreenTitle }) => {
35
36
  const [isShow, setIsShow] = useState(false)
36
37
  const [isAlert, setIsAlert] = useState(false)
37
38
  const [isAlertText, setIsAlertText] = useState("")
38
-
39
+ const [isShowModal, setIsShowModal] = useState(true)
40
+
39
41
  const isFocused = focusedScreen == "AddDetailsScreen"
40
42
 
41
43
  let title = SDKScreenTitle ? SDKScreenTitle.split(",")[0] : ""
42
44
 
43
45
  useEffect(() => {
44
46
  StatusBar.setHidden(false, 'slide');
47
+
45
48
  global.isScreenShotDetected = true;
46
49
  const backAction = () => {
47
50
  global.isTrigger = false
@@ -304,11 +307,13 @@ const FirstScreen = ({ img, themeColor, SDKScreenTitle }) => {
304
307
  })
305
308
  ).current;
306
309
 
310
+ // backgroundColor: "#181818"
307
311
 
308
312
  return (
309
- <SafeAreaView style={{ width: "100%", height: "100%" }}>
313
+ <SafeAreaView style={{ width: "100%", height: Dimensions.get('screen').height - StatusBar.currentHeight, backgroundColor: themeColor, marginTop: Platform.OS == 'ios' ? StatusBar.currentHeight : 0}}>
310
314
  <StatusBar backgroundColor={ThemeColor} />
311
- <View style={{ width: "100%", height: "100%", backgroundColor: "#181818" }}>
315
+
316
+ <View style={{ width: "100%", height: "100%", backgroundColor: "#e4fdfd" }}>
312
317
  <View style={{ height: '6%', padding: 5, paddingHorizontal: 15, backgroundColor: ThemeColor, flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' }}>
313
318
  <TouchableOpacity
314
319
  style={{
@@ -327,7 +332,7 @@ const FirstScreen = ({ img, themeColor, SDKScreenTitle }) => {
327
332
  global.isShakebugSDKOpen = false
328
333
  }}
329
334
  >
330
- <Image source={require('../Assets/images/close.png')} resizeMode='contain' style={{ width: 30, height: 30 }} />
335
+ <Image source={require('../Assets/images/close.png')} resizeMode='contain' style={{ width: 35, height: 35 }} />
331
336
  </TouchableOpacity>
332
337
  <Text style={{ width: '80%', height: '80%', fontSize: 18, fontWeight: '300', color: 'white', textAlign: 'center' }}>
333
338
  {title}
@@ -349,7 +354,7 @@ const FirstScreen = ({ img, themeColor, SDKScreenTitle }) => {
349
354
  <Image source={require('../Assets/images/next.png')} resizeMode='contain' style={{ width: 25, height: 25 }} />
350
355
  </TouchableOpacity>
351
356
  </View>
352
- <View style={{ position: 'relative', height: Platform.OS == 'android' ? '78%' : Dimensions.get('window').height * 0.75, backgroundColor: '#181818', width: '100%', alignItems: 'center', paddingTop: 8 }}>
357
+ <View style={{ position: 'relative', height: Platform.OS == 'android' ? '78%' : '79%', backgroundColor: '#e4fdfd', width: '100%', alignItems: 'center', paddingTop: 8 }}>
353
358
  <ViewShot ref={ref} options={{ fileName: "ScreenShort", format: "jpg", quality: 1 }} style={{ width: Platform.OS == 'android' ? "77%" : '73%', height: '100%' }}>
354
359
 
355
360
  {text.trim().length > 0 ?
@@ -416,7 +421,7 @@ const FirstScreen = ({ img, themeColor, SDKScreenTitle }) => {
416
421
  </ViewShot>
417
422
 
418
423
  </View>
419
- <View style={{ margin: 10, marginHorizontal: 20, flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' }}>
424
+ <View style={{ margin: 10, marginHorizontal: 20, flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', height: '5%' }}>
420
425
  <TouchableOpacity
421
426
  style={{ backgroundColor: ThemeColor, padding: 8, width: '45%', alignItems: 'center' }}
422
427
  onPress={() => {
@@ -457,39 +462,39 @@ const FirstScreen = ({ img, themeColor, SDKScreenTitle }) => {
457
462
  </TouchableOpacity>
458
463
  </View>
459
464
 
460
- <View style={{ flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', marginHorizontal: 15 }}>
465
+ <View style={{ width: "100%", flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', paddingHorizontal: 15, height: Platform.OS == 'ios' ? '7%' : '8.5%', paddingVertical: 12, backgroundColor: "#181818" }}>
461
466
  <TouchableOpacity
462
467
  onPress={() => {
463
468
  setIsDraw(true)
464
469
  setSelected(1)
465
470
  }}
466
471
  >
467
- <Image source={selectd == 1 ? require('../Assets/images/borderdBlack.png') : require('../Assets/images/black.png')} resizeMode='contain' style={{ width: 30, height: 30 }} />
472
+ <Image source={selectd == 1 ? require('../Assets/images/borderdBlack.png') : require('../Assets/images/black.png')} resizeMode='contain' style={{ width: 40, height: 40 }} />
468
473
  </TouchableOpacity>
469
474
  <TouchableOpacity
470
475
  onPress={() => setSelected(2)}
471
476
  >
472
- <Image source={selectd == 2 ? require('../Assets/images/borderdRed.png') : require('../Assets/images/red.png')} resizeMode='contain' style={{ width: 30, height: 30 }} />
477
+ <Image source={selectd == 2 ? require('../Assets/images/borderdRed.png') : require('../Assets/images/red.png')} resizeMode='contain' style={{ width: 40, height: 40 }} />
473
478
  </TouchableOpacity>
474
479
  <TouchableOpacity
475
480
  onPress={() => setSelected(3)}
476
481
  >
477
- <Image source={selectd == 3 ? require('../Assets/images/borderdGreen.png') : require('../Assets/images/green.png')} resizeMode='contain' style={{ width: 30, height: 30 }} />
482
+ <Image source={selectd == 3 ? require('../Assets/images/borderdGreen.png') : require('../Assets/images/green.png')} resizeMode='contain' style={{ width: 40, height: 40 }} />
478
483
  </TouchableOpacity>
479
484
  <TouchableOpacity
480
485
  onPress={() => setSelected(4)}
481
486
  >
482
- <Image source={selectd == 4 ? require('../Assets/images/borderdBlue.png') : require('../Assets/images/blue.png')} resizeMode='contain' style={{ width: 30, height: 30 }} />
487
+ <Image source={selectd == 4 ? require('../Assets/images/borderdBlue.png') : require('../Assets/images/blue.png')} resizeMode='contain' style={{ width: 40, height: 40 }} />
483
488
  </TouchableOpacity>
484
489
  <TouchableOpacity
485
490
  onPress={() => setSelected(5)}
486
491
  >
487
- <Image source={selectd == 5 ? require('../Assets/images/borderdYellow.png') : require('../Assets/images/yellow.png')} resizeMode='contain' style={{ width: 30, height: 30 }} />
492
+ <Image source={selectd == 5 ? require('../Assets/images/borderdYellow.png') : require('../Assets/images/yellow.png')} resizeMode='contain' style={{ width: 40, height: 40 }} />
488
493
  </TouchableOpacity>
489
494
  <TouchableOpacity
490
495
  onPress={() => setAddTextView(true)}
491
496
  >
492
- <Image source={require('../Assets/images/text_icon.png')} resizeMode='contain' style={{ width: 30, height: 30 }} />
497
+ <Image source={require('../Assets/images/text_icon.png')} resizeMode='contain' style={{ width: 40, height: 40 }} />
493
498
  </TouchableOpacity>
494
499
 
495
500
  <TouchableOpacity style={{ backgroundColor: ThemeColor, padding: 5 }} onPress={() => ClearCanvas(canvasRef)}>
@@ -539,8 +544,8 @@ const FirstScreen = ({ img, themeColor, SDKScreenTitle }) => {
539
544
 
540
545
  <View
541
546
  style={{
542
- backgroundColor: 'black', // Change this color as per your preference
543
- height: Platform.OS == 'android' ? 0 : 45,
547
+ backgroundColor: '#e4fdfd',
548
+ height: Platform.OS == 'android' ? 0 : 40,
544
549
  }}
545
550
  />
546
551
 
@@ -564,6 +569,7 @@ const FirstScreen = ({ img, themeColor, SDKScreenTitle }) => {
564
569
  />
565
570
 
566
571
  {isLoading && <ActivityIndicator size={'large'} color={themeColor} collapsable={true} style={{ position: 'absolute', top: 0, bottom: 0, left: 0, right: 0, elevation: 2 }} />}
572
+
567
573
  </SafeAreaView >
568
574
  )
569
575
  }
@@ -395,7 +395,7 @@ function Shakebug({ children, Android_appkey, iOS_appkey, showTutorialScreenFirs
395
395
  };
396
396
 
397
397
  return (
398
- <SafeAreaView
398
+ <View
399
399
  style={{
400
400
  width: '100%',
401
401
  height: '100%'
@@ -416,7 +416,7 @@ function Shakebug({ children, Android_appkey, iOS_appkey, showTutorialScreenFirs
416
416
  setIsAlert(false)
417
417
  }}
418
418
  />
419
- </SafeAreaView>
419
+ </View>
420
420
  )
421
421
  }
422
422
 
@@ -1,10 +0,0 @@
1
- /**
2
- * Automatically generated file. DO NOT MODIFY
3
- */
4
- package com.shakebug;
5
-
6
- public final class BuildConfig {
7
- public static final boolean DEBUG = Boolean.parseBoolean("true");
8
- public static final String LIBRARY_PACKAGE_NAME = "com.shakebug";
9
- public static final String BUILD_TYPE = "debug";
10
- }
@@ -1,42 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
- package="com.shakebug" >
4
-
5
- <uses-sdk android:minSdkVersion="24" />
6
-
7
- <uses-permission android:name="android.permission.INTERNET" />
8
-
9
- <!-- If you intend to use the microphone -->
10
- <uses-permission android:name="android.permission.RECORD_AUDIO" />
11
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
12
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
13
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
14
- <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
15
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
16
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
17
- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
18
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
19
- <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
20
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
21
-
22
- <application android:hardwareAccelerated="true" >
23
- <provider
24
- android:name="com.shakebug.ImagePickerProvider"
25
- android:authorities="dollar_openBracket_applicationId_closeBracket.imagepickerprovider"
26
- android:exported="false"
27
- android:grantUriPermissions="true" >
28
- <meta-data
29
- android:name="android.support.FILE_PROVIDER_PATHS"
30
- android:resource="@xml/imagepicker_provider_paths" />
31
- </provider>
32
-
33
- <receiver
34
- android:name="com.shakebug.ScreenshotReceiver"
35
- android:exported="true" > <!-- Specify android:exported="true" -->
36
- <intent-filter>
37
- <action android:name="android.intent.action.SCREENSHOT" />
38
- </intent-filter>
39
- </receiver>
40
- </application>
41
-
42
- </manifest>
@@ -1,18 +0,0 @@
1
- {
2
- "version": 3,
3
- "artifactType": {
4
- "type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
5
- "kind": "Directory"
6
- },
7
- "applicationId": "com.shakebug",
8
- "variantName": "debug",
9
- "elements": [
10
- {
11
- "type": "SINGLE",
12
- "filters": [],
13
- "attributes": [],
14
- "outputFile": "AndroidManifest.xml"
15
- }
16
- ],
17
- "elementType": "File"
18
- }
@@ -1,6 +0,0 @@
1
- aarFormatVersion=1.0
2
- aarMetadataVersion=1.0
3
- minCompileSdk=1
4
- minCompileSdkExtension=0
5
- minAndroidGradlePluginVersion=1.0.0
6
- coreLibraryDesugaringEnabled=false
@@ -1,47 +0,0 @@
1
- int color background_progress_color 0x0
2
- int color background_video_color 0x0
3
- int color black_translucent 0x0
4
- int color colorAccent 0x0
5
- int color colorPrimary 0x0
6
- int color colorPrimaryDark 0x0
7
- int color line_button 0x0
8
- int color line_color 0x0
9
- int color progress_color 0x0
10
- int color red 0x0
11
- int color shadow_color 0x0
12
- int color top_bottom 0x0
13
- int color white 0x0
14
- int drawable custom_progress 0x0
15
- int drawable custom_thumb 0x0
16
- int drawable ic_close_button 0x0
17
- int drawable ic_video_pause_black 0x0
18
- int drawable ic_video_play_black 0x0
19
- int drawable ic_video_thumb_handle 0x0
20
- int drawable icon_seek_bar 0x0
21
- int id cancelBtn 0x0
22
- int id icon_video_play 0x0
23
- int id layout 0x0
24
- int id layout_surface_view 0x0
25
- int id positionIcon 0x0
26
- int id saveBtn 0x0
27
- int id seekBarLayout 0x0
28
- int id textViewCurrentTime 0x0
29
- int id textViewDuration 0x0
30
- int id thumb 0x0
31
- int id videoSeekBar 0x0
32
- int id video_frames_layout 0x0
33
- int id video_frames_recyclerView 0x0
34
- int id video_loader 0x0
35
- int layout video_player_view 0x0
36
- int layout video_thumb_item_layout 0x0
37
- int layout video_trimmer_view 0x0
38
- int string app_name 0x0
39
- int string cancel 0x0
40
- int string compressed_done 0x0
41
- int string compressing 0x0
42
- int string open_permission 0x0
43
- int string recording 0x0
44
- int string save 0x0
45
- int string trimmed_done 0x0
46
- int string video_record_des 0x0
47
- int xml imagepicker_provider_paths 0x0
@@ -1,12 +0,0 @@
1
- #Thu Jun 06 15:32:41 IST 2024
2
- com.shakebug.shakebug-testing-main-6\:/drawable/icon_seek_bar.png=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/drawable/icon_seek_bar.png
3
- com.shakebug.shakebug-testing-main-6\:/layout/video_thumb_item_layout.xml=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/layout/video_thumb_item_layout.xml
4
- com.shakebug.shakebug-testing-main-6\:/drawable/ic_close_button.xml=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/drawable/ic_close_button.xml
5
- com.shakebug.shakebug-testing-main-6\:/drawable/custom_progress.xml=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/drawable/custom_progress.xml
6
- com.shakebug.shakebug-testing-main-6\:/layout/video_trimmer_view.xml=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/layout/video_trimmer_view.xml
7
- com.shakebug.shakebug-testing-main-6\:/drawable/ic_video_thumb_handle.png=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/drawable/ic_video_thumb_handle.png
8
- com.shakebug.shakebug-testing-main-6\:/drawable/ic_video_play_black.png=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/drawable/ic_video_play_black.png
9
- com.shakebug.shakebug-testing-main-6\:/xml/imagepicker_provider_paths.xml=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/xml/imagepicker_provider_paths.xml
10
- com.shakebug.shakebug-testing-main-6\:/layout/video_player_view.xml=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/layout/video_player_view.xml
11
- com.shakebug.shakebug-testing-main-6\:/drawable/ic_video_pause_black.png=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/drawable/ic_video_pause_black.png
12
- com.shakebug.shakebug-testing-main-6\:/drawable/custom_thumb.xml=/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/packaged_res/debug/drawable/custom_thumb.xml
@@ -1,2 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res"><file name="custom_thumb" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/drawable/custom_thumb.xml" qualifiers="" type="drawable"/><file name="icon_seek_bar" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/drawable/icon_seek_bar.png" qualifiers="" type="drawable"/><file name="custom_progress" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/drawable/custom_progress.xml" qualifiers="" type="drawable"/><file name="ic_close_button" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/drawable/ic_close_button.xml" qualifiers="" type="drawable"/><file name="ic_video_thumb_handle" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/drawable/ic_video_thumb_handle.png" qualifiers="" type="drawable"/><file name="ic_video_play_black" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/drawable/ic_video_play_black.png" qualifiers="" type="drawable"/><file name="ic_video_pause_black" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/drawable/ic_video_pause_black.png" qualifiers="" type="drawable"/><file name="video_player_view" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/layout/video_player_view.xml" qualifiers="" type="layout"/><file name="video_trimmer_view" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/layout/video_trimmer_view.xml" qualifiers="" type="layout"/><file name="video_thumb_item_layout" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/layout/video_thumb_item_layout.xml" qualifiers="" type="layout"/><file path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/values/colors.xml" qualifiers=""><color name="colorPrimary">#3F51B5</color><color name="colorPrimaryDark">#303F9F</color><color name="colorAccent">#FF4081</color><color name="white">#ffffffff</color><color name="red">#aacc0000</color><color name="background_video_color">#2f3031</color><color name="background_progress_color">#6C6D6D</color><color name="progress_color">#aacc0000</color><color name="line_color">#FF15FF00</color><color name="shadow_color">#7F000000</color><color name="line_button">#565758</color><color name="black_translucent">#50000000</color><color name="top_bottom">#42BAF8</color></file><file path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/values/strings.xml" qualifiers=""><string name="app_name">Video Trim</string><string name="trimmed_done">video trim completed!</string><string name="compressing">Compressing video...</string><string name="compressed_done">video compression completed!</string><string name="open_permission">Open permission</string><string name="video_record_des">To record a video, you need to give the camera and microphone access.</string><string name="recording">RECORD</string><string name="cancel">Cancel</string><string name="save">Save</string></file><file name="imagepicker_provider_paths" path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/res/xml/imagepicker_provider_paths.xml" qualifiers="" type="xml"/></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/generated/res/resValues/debug"/></dataSet><mergedItems/></merger>
@@ -1,2 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/debug/jniLibs"/></dataSet></merger>
@@ -1,2 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/debug/shaders"/></dataSet></merger>
@@ -1,2 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/assets"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/debug/assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/build/intermediates/shader_assets/debug/out"/></dataSet></merger>
@@ -1,49 +0,0 @@
1
- R_DEF: Internal format may change without notice
2
- local
3
- color background_progress_color
4
- color background_video_color
5
- color black_translucent
6
- color colorAccent
7
- color colorPrimary
8
- color colorPrimaryDark
9
- color line_button
10
- color line_color
11
- color progress_color
12
- color red
13
- color shadow_color
14
- color top_bottom
15
- color white
16
- drawable custom_progress
17
- drawable custom_thumb
18
- drawable ic_close_button
19
- drawable ic_video_pause_black
20
- drawable ic_video_play_black
21
- drawable ic_video_thumb_handle
22
- drawable icon_seek_bar
23
- id cancelBtn
24
- id icon_video_play
25
- id layout
26
- id layout_surface_view
27
- id positionIcon
28
- id saveBtn
29
- id seekBarLayout
30
- id textViewCurrentTime
31
- id textViewDuration
32
- id thumb
33
- id videoSeekBar
34
- id video_frames_layout
35
- id video_frames_recyclerView
36
- id video_loader
37
- layout video_player_view
38
- layout video_thumb_item_layout
39
- layout video_trimmer_view
40
- string app_name
41
- string cancel
42
- string compressed_done
43
- string compressing
44
- string open_permission
45
- string recording
46
- string save
47
- string trimmed_done
48
- string video_record_des
49
- xml imagepicker_provider_paths
@@ -1,82 +0,0 @@
1
- 1<?xml version="1.0" encoding="utf-8"?>
2
- 2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
- 3 package="com.shakebug" >
4
- 4
5
- 5 <uses-sdk android:minSdkVersion="24" />
6
- 6
7
- 7 <uses-permission android:name="android.permission.INTERNET" />
8
- 7-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:4:5-67
9
- 7-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:4:22-64
10
- 8
11
- 9 <!-- If you intend to use the microphone -->
12
- 10 <uses-permission android:name="android.permission.RECORD_AUDIO" />
13
- 10-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:9:5-70
14
- 10-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:9:22-68
15
- 11 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
16
- 11-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:10:5-76
17
- 11-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:10:22-74
18
- 12 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
19
- 12-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:11:5-80
20
- 12-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:11:22-78
21
- 13 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
22
- 13-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:12:5-79
23
- 13-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:12:22-77
24
- 14 <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
25
- 14-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:14:6-85
26
- 14-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:14:23-83
27
- 15 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
28
- 15-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:15:3-83
29
- 15-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:15:20-81
30
- 16 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
31
- 16-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:16:5-79
32
- 16-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:16:22-76
33
- 17 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
34
- 17-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:17:5-81
35
- 17-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:17:22-78
36
- 18 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
37
- 18-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:19:5-79
38
- 18-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:19:22-76
39
- 19 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
40
- 19-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:20:5-76
41
- 19-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:20:22-73
42
- 20 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
43
- 20-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:22:5-94
44
- 20-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:22:22-91
45
- 21
46
- 22 <application android:hardwareAccelerated="true" >
47
- 22-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:24:5-43:19
48
- 22-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:25:7-41
49
- 23 <provider
50
- 23-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:27:9-35:20
51
- 24 android:name="com.shakebug.ImagePickerProvider"
52
- 24-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:28:13-48
53
- 25 android:authorities="${applicationId}.imagepickerprovider"
54
- 25-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:29:13-71
55
- 26 android:exported="false"
56
- 26-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:30:13-37
57
- 27 android:grantUriPermissions="true" >
58
- 27-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:31:13-47
59
- 28 <meta-data
60
- 28-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:32:13-34:70
61
- 29 android:name="android.support.FILE_PROVIDER_PATHS"
62
- 29-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:33:17-67
63
- 30 android:resource="@xml/imagepicker_provider_paths" />
64
- 30-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:34:17-67
65
- 31 </provider>
66
- 32
67
- 33 <receiver
68
- 33-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:37:1-42:12
69
- 34 android:name="com.shakebug.ScreenshotReceiver"
70
- 34-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:37:11-45
71
- 35 android:exported="true" > <!-- Specify android:exported="true" -->
72
- 35-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:38:11-34
73
- 36 <intent-filter>
74
- 36-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:39:5-41:21
75
- 37 <action android:name="android.intent.action.SCREENSHOT" />
76
- 37-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:40:9-67
77
- 37-->/Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:40:17-64
78
- 38 </intent-filter>
79
- 39 </receiver>
80
- 40 </application>
81
- 41
82
- 42</manifest>
@@ -1,42 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
- package="com.shakebug" >
4
-
5
- <uses-sdk android:minSdkVersion="24" />
6
-
7
- <uses-permission android:name="android.permission.INTERNET" />
8
-
9
- <!-- If you intend to use the microphone -->
10
- <uses-permission android:name="android.permission.RECORD_AUDIO" />
11
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
12
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
13
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
14
- <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
15
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
16
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
17
- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
18
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
19
- <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
20
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
21
-
22
- <application android:hardwareAccelerated="true" >
23
- <provider
24
- android:name="com.shakebug.ImagePickerProvider"
25
- android:authorities="${applicationId}.imagepickerprovider"
26
- android:exported="false"
27
- android:grantUriPermissions="true" >
28
- <meta-data
29
- android:name="android.support.FILE_PROVIDER_PATHS"
30
- android:resource="@xml/imagepicker_provider_paths" />
31
- </provider>
32
-
33
- <receiver
34
- android:name="com.shakebug.ScreenshotReceiver"
35
- android:exported="true" > <!-- Specify android:exported="true" -->
36
- <intent-filter>
37
- <action android:name="android.intent.action.SCREENSHOT" />
38
- </intent-filter>
39
- </receiver>
40
- </application>
41
-
42
- </manifest>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <resources>
3
- <color name="background_progress_color">#6C6D6D</color>
4
- <color name="background_video_color">#2f3031</color>
5
- <color name="black_translucent">#50000000</color>
6
- <color name="colorAccent">#FF4081</color>
7
- <color name="colorPrimary">#3F51B5</color>
8
- <color name="colorPrimaryDark">#303F9F</color>
9
- <color name="line_button">#565758</color>
10
- <color name="line_color">#FF15FF00</color>
11
- <color name="progress_color">#aacc0000</color>
12
- <color name="red">#aacc0000</color>
13
- <color name="shadow_color">#7F000000</color>
14
- <color name="top_bottom">#42BAF8</color>
15
- <color name="white">#ffffffff</color>
16
- <string name="app_name">Video Trim</string>
17
- <string name="cancel">Cancel</string>
18
- <string name="compressed_done">video compression completed!</string>
19
- <string name="compressing">Compressing video...</string>
20
- <string name="open_permission">Open permission</string>
21
- <string name="recording">RECORD</string>
22
- <string name="save">Save</string>
23
- <string name="trimmed_done">video trim completed!</string>
24
- <string name="video_record_des">To record a video, you need to give the camera and microphone access.</string>
25
- </resources>
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <paths>
3
- <cache-path name="cacheDir" path="." />
4
- </paths>
@@ -1,48 +0,0 @@
1
- com.shakebug
2
- color background_progress_color
3
- color background_video_color
4
- color black_translucent
5
- color colorAccent
6
- color colorPrimary
7
- color colorPrimaryDark
8
- color line_button
9
- color line_color
10
- color progress_color
11
- color red
12
- color shadow_color
13
- color top_bottom
14
- color white
15
- drawable custom_progress
16
- drawable custom_thumb
17
- drawable ic_close_button
18
- drawable ic_video_pause_black
19
- drawable ic_video_play_black
20
- drawable ic_video_thumb_handle
21
- drawable icon_seek_bar
22
- id cancelBtn
23
- id icon_video_play
24
- id layout
25
- id layout_surface_view
26
- id positionIcon
27
- id saveBtn
28
- id seekBarLayout
29
- id textViewCurrentTime
30
- id textViewDuration
31
- id thumb
32
- id videoSeekBar
33
- id video_frames_layout
34
- id video_frames_recyclerView
35
- id video_loader
36
- layout video_player_view
37
- layout video_thumb_item_layout
38
- layout video_trimmer_view
39
- string app_name
40
- string cancel
41
- string compressed_done
42
- string compressing
43
- string open_permission
44
- string recording
45
- string save
46
- string trimmed_done
47
- string video_record_des
48
- xml imagepicker_provider_paths
@@ -1,97 +0,0 @@
1
- -- Merging decision tree log ---
2
- manifest
3
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:1:1-44:12
4
- INJECTED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:1:1-44:12
5
- package
6
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:2:5-27
7
- INJECTED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml
8
- xmlns:android
9
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:1:11-69
10
- uses-permission#android.permission.INTERNET
11
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:4:5-67
12
- android:name
13
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:4:22-64
14
- uses-permission#android.permission.RECORD_AUDIO
15
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:9:5-70
16
- android:name
17
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:9:22-68
18
- uses-permission#android.permission.FOREGROUND_SERVICE
19
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:10:5-76
20
- android:name
21
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:10:22-74
22
- uses-permission#android.permission.WRITE_EXTERNAL_STORAGE
23
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:11:5-80
24
- android:name
25
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:11:22-78
26
- uses-permission#android.permission.READ_EXTERNAL_STORAGE
27
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:12:5-79
28
- android:name
29
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:12:22-77
30
- uses-permission#android.permission.ACCESS_BACKGROUND_LOCATION
31
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:14:6-85
32
- android:name
33
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:14:23-83
34
- uses-permission#android.permission.FOREGROUND_SERVICE_LOCATION
35
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:15:3-83
36
- android:name
37
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:15:20-81
38
- uses-permission#android.permission.ACCESS_FINE_LOCATION
39
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:16:5-79
40
- android:name
41
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:16:22-76
42
- uses-permission#android.permission.ACCESS_COARSE_LOCATION
43
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:17:5-81
44
- android:name
45
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:17:22-78
46
- uses-permission#android.permission.ACCESS_NETWORK_STATE
47
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:19:5-79
48
- android:name
49
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:19:22-76
50
- uses-permission#android.permission.ACCESS_WIFI_STATE
51
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:20:5-76
52
- android:name
53
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:20:22-73
54
- uses-permission#android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION
55
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:22:5-94
56
- android:name
57
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:22:22-91
58
- application
59
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:24:5-43:19
60
- android:hardwareAccelerated
61
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:25:7-41
62
- provider#com.shakebug.ImagePickerProvider
63
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:27:9-35:20
64
- android:grantUriPermissions
65
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:31:13-47
66
- android:authorities
67
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:29:13-71
68
- android:exported
69
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:30:13-37
70
- android:name
71
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:28:13-48
72
- meta-data#android.support.FILE_PROVIDER_PATHS
73
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:32:13-34:70
74
- android:resource
75
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:34:17-67
76
- android:name
77
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:33:17-67
78
- receiver#com.shakebug.ScreenshotReceiver
79
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:37:1-42:12
80
- android:exported
81
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:38:11-34
82
- android:name
83
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:37:11-45
84
- intent-filter#action:name:android.intent.action.SCREENSHOT
85
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:39:5-41:21
86
- action#android.intent.action.SCREENSHOT
87
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:40:9-67
88
- android:name
89
- ADDED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml:40:17-64
90
- uses-sdk
91
- INJECTED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
92
- INJECTED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml
93
- INJECTED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml
94
- android:targetSdkVersion
95
- INJECTED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml
96
- android:minSdkVersion
97
- INJECTED from /Volumes/Data/ReactNative/ShakebugExample/node_modules/shakebug-testing/android/src/main/AndroidManifest.xml