@regulaforensics/react-native-document-reader-btdevice 1.1.43-beta → 7.6.5-beta

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 (57) hide show
  1. package/package.json +2 -6
  2. package/.github/ISSUE_TEMPLATE/bug-report.md +0 -39
  3. package/.github/ISSUE_TEMPLATE/config.yml +0 -5
  4. package/.github/ISSUE_TEMPLATE/feature-request.md +0 -20
  5. package/example/.watchmanconfig +0 -1
  6. package/example/App.tsx +0 -314
  7. package/example/android/app/build.gradle +0 -124
  8. package/example/android/app/debug.keystore +0 -0
  9. package/example/android/app/proguard-rules.pro +0 -10
  10. package/example/android/app/src/debug/AndroidManifest.xml +0 -13
  11. package/example/android/app/src/debug/java/com/regula/dr/fullrfid/ReactNativeFlipper.java +0 -75
  12. package/example/android/app/src/main/AndroidManifest.xml +0 -25
  13. package/example/android/app/src/main/java/com/regula/dr/fullrfid/MainActivity.java +0 -32
  14. package/example/android/app/src/main/java/com/regula/dr/fullrfid/MainApplication.java +0 -62
  15. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -36
  16. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  17. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  18. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  19. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  20. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  21. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  22. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  23. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  24. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  25. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  26. package/example/android/app/src/main/res/values/strings.xml +0 -3
  27. package/example/android/app/src/main/res/values/styles.xml +0 -10
  28. package/example/android/app/src/release/java/com/regula/dr/fullrfid/ReactNativeFlipper.java +0 -20
  29. package/example/android/build.gradle +0 -19
  30. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  31. package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -6
  32. package/example/android/gradle.properties +0 -44
  33. package/example/android/gradlew +0 -244
  34. package/example/android/gradlew.bat +0 -92
  35. package/example/android/settings.gradle +0 -4
  36. package/example/images/id.png +0 -0
  37. package/example/images/portrait.png +0 -0
  38. package/example/index.js +0 -8
  39. package/example/ios/.xcode.env +0 -11
  40. package/example/ios/DocumentReader/AppDelegate.h +0 -6
  41. package/example/ios/DocumentReader/AppDelegate.mm +0 -26
  42. package/example/ios/DocumentReader/DocumentReader.entitlements +0 -10
  43. package/example/ios/DocumentReader/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  44. package/example/ios/DocumentReader/Images.xcassets/Contents.json +0 -6
  45. package/example/ios/DocumentReader/Info.plist +0 -75
  46. package/example/ios/DocumentReader/LaunchScreen.storyboard +0 -47
  47. package/example/ios/DocumentReader/main.m +0 -10
  48. package/example/ios/DocumentReader.xcodeproj/project.pbxproj +0 -730
  49. package/example/ios/DocumentReader.xcodeproj/xcshareddata/xcschemes/DocumentReader.xcscheme +0 -88
  50. package/example/ios/DocumentReader.xcworkspace/contents.xcworkspacedata +0 -10
  51. package/example/ios/DocumentReader.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  52. package/example/ios/DocumentReaderTests/DocumentReaderTests.m +0 -66
  53. package/example/ios/DocumentReaderTests/Info.plist +0 -24
  54. package/example/ios/Podfile +0 -62
  55. package/example/metro.config.js +0 -16
  56. package/example/package-lock.json +0 -14555
  57. package/example/package.json +0 -47
@@ -1,88 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Scheme
3
- LastUpgradeVersion = "1210"
4
- version = "1.3">
5
- <BuildAction
6
- parallelizeBuildables = "YES"
7
- buildImplicitDependencies = "YES">
8
- <BuildActionEntries>
9
- <BuildActionEntry
10
- buildForTesting = "YES"
11
- buildForRunning = "YES"
12
- buildForProfiling = "YES"
13
- buildForArchiving = "YES"
14
- buildForAnalyzing = "YES">
15
- <BuildableReference
16
- BuildableIdentifier = "primary"
17
- BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18
- BuildableName = "DocumentReader.app"
19
- BlueprintName = "DocumentReader"
20
- ReferencedContainer = "container:DocumentReader.xcodeproj">
21
- </BuildableReference>
22
- </BuildActionEntry>
23
- </BuildActionEntries>
24
- </BuildAction>
25
- <TestAction
26
- buildConfiguration = "Debug"
27
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
- shouldUseLaunchSchemeArgsEnv = "YES">
30
- <Testables>
31
- <TestableReference
32
- skipped = "NO">
33
- <BuildableReference
34
- BuildableIdentifier = "primary"
35
- BlueprintIdentifier = "00E356ED1AD99517003FC87E"
36
- BuildableName = "DocumentReaderTests.xctest"
37
- BlueprintName = "DocumentReaderTests"
38
- ReferencedContainer = "container:DocumentReader.xcodeproj">
39
- </BuildableReference>
40
- </TestableReference>
41
- </Testables>
42
- </TestAction>
43
- <LaunchAction
44
- buildConfiguration = "Debug"
45
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47
- launchStyle = "0"
48
- useCustomWorkingDirectory = "NO"
49
- ignoresPersistentStateOnLaunch = "NO"
50
- debugDocumentVersioning = "YES"
51
- debugServiceExtension = "internal"
52
- allowLocationSimulation = "YES">
53
- <BuildableProductRunnable
54
- runnableDebuggingMode = "0">
55
- <BuildableReference
56
- BuildableIdentifier = "primary"
57
- BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
58
- BuildableName = "DocumentReader.app"
59
- BlueprintName = "DocumentReader"
60
- ReferencedContainer = "container:DocumentReader.xcodeproj">
61
- </BuildableReference>
62
- </BuildableProductRunnable>
63
- </LaunchAction>
64
- <ProfileAction
65
- buildConfiguration = "Release"
66
- shouldUseLaunchSchemeArgsEnv = "YES"
67
- savedToolIdentifier = ""
68
- useCustomWorkingDirectory = "NO"
69
- debugDocumentVersioning = "YES">
70
- <BuildableProductRunnable
71
- runnableDebuggingMode = "0">
72
- <BuildableReference
73
- BuildableIdentifier = "primary"
74
- BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
75
- BuildableName = "DocumentReader.app"
76
- BlueprintName = "DocumentReader"
77
- ReferencedContainer = "container:DocumentReader.xcodeproj">
78
- </BuildableReference>
79
- </BuildableProductRunnable>
80
- </ProfileAction>
81
- <AnalyzeAction
82
- buildConfiguration = "Debug">
83
- </AnalyzeAction>
84
- <ArchiveAction
85
- buildConfiguration = "Release"
86
- revealArchiveInOrganizer = "YES">
87
- </ArchiveAction>
88
- </Scheme>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "group:DocumentReader.xcodeproj">
6
- </FileRef>
7
- <FileRef
8
- location = "group:Pods/Pods.xcodeproj">
9
- </FileRef>
10
- </Workspace>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>
@@ -1,66 +0,0 @@
1
- #import <UIKit/UIKit.h>
2
- #import <XCTest/XCTest.h>
3
-
4
- #import <React/RCTLog.h>
5
- #import <React/RCTRootView.h>
6
-
7
- #define TIMEOUT_SECONDS 600
8
- #define TEXT_TO_LOOK_FOR @"Welcome to React"
9
-
10
- @interface DocumentReaderTests : XCTestCase
11
-
12
- @end
13
-
14
- @implementation DocumentReaderTests
15
-
16
- - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test
17
- {
18
- if (test(view)) {
19
- return YES;
20
- }
21
- for (UIView *subview in [view subviews]) {
22
- if ([self findSubviewInView:subview matching:test]) {
23
- return YES;
24
- }
25
- }
26
- return NO;
27
- }
28
-
29
- - (void)testRendersWelcomeScreen
30
- {
31
- UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
32
- NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
33
- BOOL foundElement = NO;
34
-
35
- __block NSString *redboxError = nil;
36
- #ifdef DEBUG
37
- RCTSetLogFunction(
38
- ^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
39
- if (level >= RCTLogLevelError) {
40
- redboxError = message;
41
- }
42
- });
43
- #endif
44
-
45
- while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
46
- [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
47
- [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
48
-
49
- foundElement = [self findSubviewInView:vc.view
50
- matching:^BOOL(UIView *view) {
51
- if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
52
- return YES;
53
- }
54
- return NO;
55
- }];
56
- }
57
-
58
- #ifdef DEBUG
59
- RCTSetLogFunction(RCTDefaultLogFunction);
60
- #endif
61
-
62
- XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
63
- XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
64
- }
65
-
66
- @end
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>en</string>
7
- <key>CFBundleExecutable</key>
8
- <string>$(EXECUTABLE_NAME)</string>
9
- <key>CFBundleIdentifier</key>
10
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11
- <key>CFBundleInfoDictionaryVersion</key>
12
- <string>6.0</string>
13
- <key>CFBundleName</key>
14
- <string>$(PRODUCT_NAME)</string>
15
- <key>CFBundlePackageType</key>
16
- <string>BNDL</string>
17
- <key>CFBundleShortVersionString</key>
18
- <string>1.0</string>
19
- <key>CFBundleSignature</key>
20
- <string>????</string>
21
- <key>CFBundleVersion</key>
22
- <string>1</string>
23
- </dict>
24
- </plist>
@@ -1,62 +0,0 @@
1
- # Resolve react_native_pods.rb with node to allow for hoisting
2
- require Pod::Executable.execute_command('node', ['-p',
3
- 'require.resolve(
4
- "react-native/scripts/react_native_pods.rb",
5
- {paths: [process.argv[1]]},
6
- )', __dir__]).strip
7
-
8
- platform :ios, min_ios_version_supported
9
- prepare_react_native_project!
10
-
11
- # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
12
- # because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
13
- #
14
- # To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
15
- # ```js
16
- # module.exports = {
17
- # dependencies: {
18
- # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
19
- # ```
20
- flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
21
-
22
- linkage = ENV['USE_FRAMEWORKS']
23
- if linkage != nil
24
- Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
25
- use_frameworks! :linkage => linkage.to_sym
26
- end
27
-
28
- target 'DocumentReader' do
29
- config = use_native_modules!
30
-
31
- # Flags change depending on the env values.
32
- flags = get_default_flags()
33
-
34
- use_react_native!(
35
- :path => config[:reactNativePath],
36
- # Hermes is now enabled by default. Disable by setting this flag to false.
37
- :hermes_enabled => flags[:hermes_enabled],
38
- :fabric_enabled => flags[:fabric_enabled],
39
- # Enables Flipper.
40
- #
41
- # Note that if you have use_frameworks! enabled, Flipper will not work and
42
- # you should disable the next line.
43
- :flipper_configuration => flipper_config,
44
- # An absolute path to your application root.
45
- :app_path => "#{Pod::Config.instance.installation_root}/.."
46
- )
47
-
48
- target 'DocumentReaderTests' do
49
- inherit! :complete
50
- # Pods for testing
51
- end
52
-
53
- post_install do |installer|
54
- # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
55
- react_native_post_install(
56
- installer,
57
- config[:reactNativePath],
58
- :mac_catalyst_enabled => false
59
- )
60
- __apply_Xcode_12_5_M1_post_install_workaround(installer)
61
- end
62
- end
@@ -1,16 +0,0 @@
1
- const path = require('path');
2
- const folders = [path.resolve(path.join(__dirname, './node_modules'))];
3
- module.exports = {
4
- transformer: {
5
- getTransformOptions: async () => ({
6
- transform: {
7
- experimentalImportSupport: false,
8
- inlineRequires: true,
9
- },
10
- }),
11
- },
12
- resolver: {
13
- nodeModulesPaths: folders
14
- },
15
- watchFolders: folders,
16
- };