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.
- package/Example/.bundle/config +2 -0
- package/Example/.eslintrc.js +4 -0
- package/Example/.prettierrc.js +7 -0
- package/Example/.watchmanconfig +1 -0
- package/Example/Gemfile +9 -0
- package/Example/Gemfile.lock +103 -0
- package/Example/README.md +48 -0
- package/Example/__tests__/App.test.tsx +17 -0
- package/Example/android/app/build.gradle +119 -0
- package/Example/android/app/debug.keystore +0 -0
- package/Example/android/app/proguard-rules.pro +10 -0
- package/Example/android/app/src/debug/AndroidManifest.xml +9 -0
- package/Example/android/app/src/main/AndroidManifest.xml +25 -0
- package/Example/android/app/src/main/java/com/example/MainActivity.kt +22 -0
- package/Example/android/app/src/main/java/com/example/MainApplication.kt +45 -0
- package/Example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -0
- package/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/Example/android/app/src/main/res/values/strings.xml +3 -0
- package/Example/android/app/src/main/res/values/styles.xml +9 -0
- package/Example/android/build.gradle +21 -0
- package/Example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/Example/android/gradle/wrapper/gradle-wrapper.properties +7 -0
- package/Example/android/gradle.properties +41 -0
- package/Example/android/gradlew +249 -0
- package/Example/android/gradlew.bat +92 -0
- package/Example/android/settings.gradle +4 -0
- package/Example/app.json +4 -0
- package/Example/babel.config.js +4 -0
- package/Example/dist/index.html +24 -0
- package/Example/global.d.ts +7 -0
- package/Example/index.js +14 -0
- package/Example/ios/.xcode.env +11 -0
- package/Example/ios/Example/AppDelegate.h +6 -0
- package/Example/ios/Example/AppDelegate.mm +31 -0
- package/Example/ios/Example/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
- package/Example/ios/Example/Images.xcassets/Contents.json +6 -0
- package/Example/ios/Example/Info.plist +52 -0
- package/Example/ios/Example/LaunchScreen.storyboard +47 -0
- package/Example/ios/Example/main.m +10 -0
- package/Example/ios/Example.xcodeproj/project.pbxproj +698 -0
- package/Example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme +88 -0
- package/Example/ios/Example.xcworkspace/contents.xcworkspacedata +10 -0
- package/Example/ios/ExampleTests/ExampleTests.m +66 -0
- package/Example/ios/ExampleTests/Info.plist +24 -0
- package/Example/ios/Podfile +55 -0
- package/Example/ios/Podfile.lock +1378 -0
- package/Example/jest.config.js +3 -0
- package/Example/macos/.xcode.env +1 -0
- package/Example/macos/.xcode.env.local +2 -0
- package/Example/macos/Example-macOS/AppDelegate.h +6 -0
- package/Example/macos/Example-macOS/AppDelegate.mm +40 -0
- package/Example/macos/Example-macOS/Assets.xcassets/AppIcon.appiconset/Contents.json +58 -0
- package/Example/macos/Example-macOS/Assets.xcassets/Contents.json +6 -0
- package/Example/macos/Example-macOS/Base.lproj/Main.storyboard +684 -0
- package/Example/macos/Example-macOS/Example.entitlements +12 -0
- package/Example/macos/Example-macOS/Info.plist +47 -0
- package/Example/macos/Example-macOS/main.m +5 -0
- package/Example/macos/Example.xcodeproj/project.pbxproj +567 -0
- package/Example/macos/Example.xcodeproj/xcshareddata/xcschemes/Example-macOS.xcscheme +78 -0
- package/Example/macos/Example.xcworkspace/contents.xcworkspacedata +10 -0
- package/Example/macos/Podfile +26 -0
- package/Example/macos/Podfile.lock +1233 -0
- package/Example/metro.config.js +47 -0
- package/Example/package.json +53 -0
- package/Example/src/App.tsx +130 -0
- package/Example/src/assets/google.png +0 -0
- package/Example/src/assets/ruby.svg +12 -0
- package/Example/src/components/Description.tsx +16 -0
- package/Example/src/styles.ts +21 -0
- package/Example/tsconfig.json +9 -0
- package/Example/webpack.config.js +60 -0
- package/Example/yarn.lock +8957 -0
- package/README.md +0 -6
- package/index.d.ts +10 -2
- package/package.json +11 -2
- package/src/LogoSVG/index.js +22 -0
- package/src/LogoSVG/index.native.js +24 -0
- package/src/index.js +158 -125
- package/src/utils.js +7 -0
- package/.github/workflows/npmpublish.yml +0 -31
- package/.huskyrc +0 -5
- package/.lintstagedrc +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export NODE_BINARY=$(command -v node)
|
|
@@ -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
|
+
}
|