react-native-qrcode-svg 6.3.2 → 6.3.12

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 (91) hide show
  1. package/Example/.bundle/config +2 -0
  2. package/Example/.eslintrc.js +4 -0
  3. package/Example/.prettierrc.js +7 -0
  4. package/Example/.watchmanconfig +1 -0
  5. package/Example/Gemfile +9 -0
  6. package/Example/Gemfile.lock +103 -0
  7. package/Example/README.md +48 -0
  8. package/Example/__tests__/App.test.tsx +17 -0
  9. package/Example/android/app/build.gradle +119 -0
  10. package/Example/android/app/debug.keystore +0 -0
  11. package/Example/android/app/proguard-rules.pro +10 -0
  12. package/Example/android/app/src/debug/AndroidManifest.xml +9 -0
  13. package/Example/android/app/src/main/AndroidManifest.xml +25 -0
  14. package/Example/android/app/src/main/java/com/example/MainActivity.kt +22 -0
  15. package/Example/android/app/src/main/java/com/example/MainApplication.kt +45 -0
  16. package/Example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -0
  17. package/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  18. package/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  19. package/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  20. package/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  21. package/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  22. package/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  23. package/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  24. package/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  25. package/Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  26. package/Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  27. package/Example/android/app/src/main/res/values/strings.xml +3 -0
  28. package/Example/android/app/src/main/res/values/styles.xml +9 -0
  29. package/Example/android/build.gradle +21 -0
  30. package/Example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  31. package/Example/android/gradle/wrapper/gradle-wrapper.properties +7 -0
  32. package/Example/android/gradle.properties +41 -0
  33. package/Example/android/gradlew +249 -0
  34. package/Example/android/gradlew.bat +92 -0
  35. package/Example/android/settings.gradle +4 -0
  36. package/Example/app.json +4 -0
  37. package/Example/babel.config.js +4 -0
  38. package/Example/dist/index.html +24 -0
  39. package/Example/global.d.ts +7 -0
  40. package/Example/index.js +14 -0
  41. package/Example/ios/.xcode.env +11 -0
  42. package/Example/ios/Example/AppDelegate.h +6 -0
  43. package/Example/ios/Example/AppDelegate.mm +31 -0
  44. package/Example/ios/Example/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
  45. package/Example/ios/Example/Images.xcassets/Contents.json +6 -0
  46. package/Example/ios/Example/Info.plist +52 -0
  47. package/Example/ios/Example/LaunchScreen.storyboard +47 -0
  48. package/Example/ios/Example/main.m +10 -0
  49. package/Example/ios/Example.xcodeproj/project.pbxproj +698 -0
  50. package/Example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme +88 -0
  51. package/Example/ios/Example.xcworkspace/contents.xcworkspacedata +10 -0
  52. package/Example/ios/ExampleTests/ExampleTests.m +66 -0
  53. package/Example/ios/ExampleTests/Info.plist +24 -0
  54. package/Example/ios/Podfile +55 -0
  55. package/Example/ios/Podfile.lock +1378 -0
  56. package/Example/jest.config.js +3 -0
  57. package/Example/macos/.xcode.env +1 -0
  58. package/Example/macos/.xcode.env.local +2 -0
  59. package/Example/macos/Example-macOS/AppDelegate.h +6 -0
  60. package/Example/macos/Example-macOS/AppDelegate.mm +40 -0
  61. package/Example/macos/Example-macOS/Assets.xcassets/AppIcon.appiconset/Contents.json +58 -0
  62. package/Example/macos/Example-macOS/Assets.xcassets/Contents.json +6 -0
  63. package/Example/macos/Example-macOS/Base.lproj/Main.storyboard +684 -0
  64. package/Example/macos/Example-macOS/Example.entitlements +12 -0
  65. package/Example/macos/Example-macOS/Info.plist +47 -0
  66. package/Example/macos/Example-macOS/main.m +5 -0
  67. package/Example/macos/Example.xcodeproj/project.pbxproj +567 -0
  68. package/Example/macos/Example.xcodeproj/xcshareddata/xcschemes/Example-macOS.xcscheme +78 -0
  69. package/Example/macos/Example.xcworkspace/contents.xcworkspacedata +10 -0
  70. package/Example/macos/Podfile +26 -0
  71. package/Example/macos/Podfile.lock +1233 -0
  72. package/Example/metro.config.js +47 -0
  73. package/Example/package.json +53 -0
  74. package/Example/src/App.tsx +130 -0
  75. package/Example/src/assets/google.png +0 -0
  76. package/Example/src/assets/ruby.svg +12 -0
  77. package/Example/src/components/Description.tsx +16 -0
  78. package/Example/src/styles.ts +21 -0
  79. package/Example/tsconfig.json +9 -0
  80. package/Example/webpack.config.js +60 -0
  81. package/Example/yarn.lock +8957 -0
  82. package/README.md +0 -6
  83. package/index.d.ts +10 -2
  84. package/package.json +11 -2
  85. package/src/LogoSVG/index.js +22 -0
  86. package/src/LogoSVG/index.native.js +24 -0
  87. package/src/index.js +158 -125
  88. package/src/utils.js +7 -0
  89. package/.github/workflows/npmpublish.yml +0 -31
  90. package/.huskyrc +0 -5
  91. package/.lintstagedrc +0 -3
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ preset: 'react-native',
3
+ };
@@ -0,0 +1 @@
1
+ export NODE_BINARY=$(command -v node)
@@ -0,0 +1,2 @@
1
+ export NODE_BINARY=/Users/war-in/.nvm/versions/node/v20.10.0/bin/node
2
+
@@ -0,0 +1,6 @@
1
+ #import <RCTAppDelegate.h>
2
+ #import <Cocoa/Cocoa.h>
3
+
4
+ @interface AppDelegate : RCTAppDelegate
5
+
6
+ @end
@@ -0,0 +1,40 @@
1
+ #import "AppDelegate.h"
2
+
3
+ #import <React/RCTBundleURLProvider.h>
4
+
5
+ @implementation AppDelegate
6
+
7
+ - (void)applicationDidFinishLaunching:(NSNotification *)notification
8
+ {
9
+ self.moduleName = @"Example";
10
+ // You can add your custom initial props in the dictionary below.
11
+ // They will be passed down to the ViewController used by React Native.
12
+ self.initialProps = @{};
13
+
14
+ return [super applicationDidFinishLaunching:notification];
15
+ }
16
+
17
+ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
18
+ {
19
+ #if DEBUG
20
+ return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
21
+ #else
22
+ return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
23
+ #endif
24
+ }
25
+
26
+ /// This method controls whether the `concurrentRoot`feature of React18 is turned on or off.
27
+ ///
28
+ /// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
29
+ /// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
30
+ /// @return: `true` if the `concurrentRoot` feature is enabled. Otherwise, it returns `false`.
31
+ - (BOOL)concurrentRootEnabled
32
+ {
33
+ #ifdef RN_FABRIC_ENABLED
34
+ return true;
35
+ #else
36
+ return false;
37
+ #endif
38
+ }
39
+
40
+ @end
@@ -0,0 +1,58 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "mac",
5
+ "scale" : "1x",
6
+ "size" : "16x16"
7
+ },
8
+ {
9
+ "idiom" : "mac",
10
+ "scale" : "2x",
11
+ "size" : "16x16"
12
+ },
13
+ {
14
+ "idiom" : "mac",
15
+ "scale" : "1x",
16
+ "size" : "32x32"
17
+ },
18
+ {
19
+ "idiom" : "mac",
20
+ "scale" : "2x",
21
+ "size" : "32x32"
22
+ },
23
+ {
24
+ "idiom" : "mac",
25
+ "scale" : "1x",
26
+ "size" : "128x128"
27
+ },
28
+ {
29
+ "idiom" : "mac",
30
+ "scale" : "2x",
31
+ "size" : "128x128"
32
+ },
33
+ {
34
+ "idiom" : "mac",
35
+ "scale" : "1x",
36
+ "size" : "256x256"
37
+ },
38
+ {
39
+ "idiom" : "mac",
40
+ "scale" : "2x",
41
+ "size" : "256x256"
42
+ },
43
+ {
44
+ "idiom" : "mac",
45
+ "scale" : "1x",
46
+ "size" : "512x512"
47
+ },
48
+ {
49
+ "idiom" : "mac",
50
+ "scale" : "2x",
51
+ "size" : "512x512"
52
+ }
53
+ ],
54
+ "info" : {
55
+ "author" : "xcode",
56
+ "version" : 1
57
+ }
58
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "info" : {
3
+ "author" : "xcode",
4
+ "version" : 1
5
+ }
6
+ }