react-native-qrcode-svg 6.3.11 → 6.3.14
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/Gemfile +3 -4
- package/Example/Gemfile.lock +2 -2
- package/Example/README.md +2 -2
- package/Example/android/app/build.gradle +3 -3
- package/Example/android/app/src/main/AndroidManifest.xml +2 -1
- package/Example/android/app/src/main/java/com/example/MainApplication.kt +1 -3
- package/Example/android/build.gradle +3 -3
- package/Example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/Example/android/gradle.properties +0 -2
- package/Example/android/settings.gradle +3 -1
- package/Example/ios/Example/Info.plist +1 -1
- package/Example/ios/Example.xcodeproj/project.pbxproj +23 -0
- package/Example/ios/Podfile +2 -2
- package/Example/ios/Podfile.lock +905 -510
- package/Example/package.json +8 -8
- package/Example/yarn.lock +2189 -2542
- package/README.md +47 -3
- package/babel.config.js +7 -1
- package/package.json +5 -4
- package/src/index.js +0 -2
- package/textEncodingTransformation.js +41 -0
- package/Example/macos/.xcode.env.local +0 -2
package/Example/Gemfile
CHANGED
|
@@ -3,7 +3,6 @@ source 'https://rubygems.org'
|
|
|
3
3
|
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
|
|
4
4
|
ruby ">= 2.6.10"
|
|
5
5
|
|
|
6
|
-
#
|
|
7
|
-
|
|
8
|
-
gem '
|
|
9
|
-
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
|
|
6
|
+
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
|
|
7
|
+
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
|
|
8
|
+
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
|
package/Example/Gemfile.lock
CHANGED
package/Example/README.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Step 1: Install dependencies
|
|
4
4
|
|
|
5
|
-
Install dependencies in both root and Example directories
|
|
5
|
+
Install dependencies in both root and Example directories.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
8
|
+
npm install && cd Example
|
|
9
9
|
yarn install
|
|
10
10
|
```
|
|
11
11
|
|
|
@@ -49,6 +49,9 @@ react {
|
|
|
49
49
|
//
|
|
50
50
|
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
|
|
51
51
|
// hermesFlags = ["-O", "-output-source-map"]
|
|
52
|
+
|
|
53
|
+
/* Autolinking */
|
|
54
|
+
autolinkLibrariesWithApp()
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
/**
|
|
@@ -107,7 +110,6 @@ android {
|
|
|
107
110
|
dependencies {
|
|
108
111
|
// The version of react-native is set by the React Native Gradle Plugin
|
|
109
112
|
implementation("com.facebook.react:react-android")
|
|
110
|
-
implementation("com.facebook.react:flipper-integration")
|
|
111
113
|
|
|
112
114
|
if (hermesEnabled.toBoolean()) {
|
|
113
115
|
implementation("com.facebook.react:hermes-android")
|
|
@@ -115,5 +117,3 @@ dependencies {
|
|
|
115
117
|
implementation jscFlavor
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
|
-
|
|
119
|
-
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
android:icon="@mipmap/ic_launcher"
|
|
9
9
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
10
10
|
android:allowBackup="false"
|
|
11
|
-
android:theme="@style/AppTheme"
|
|
11
|
+
android:theme="@style/AppTheme"
|
|
12
|
+
android:supportsRtl="true">
|
|
12
13
|
<activity
|
|
13
14
|
android:name=".MainActivity"
|
|
14
15
|
android:label="@string/app_name"
|
|
@@ -9,7 +9,6 @@ import com.facebook.react.ReactPackage
|
|
|
9
9
|
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
|
|
10
10
|
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
|
|
11
11
|
import com.facebook.react.defaults.DefaultReactNativeHost
|
|
12
|
-
import com.facebook.react.flipper.ReactNativeFlipper
|
|
13
12
|
import com.facebook.soloader.SoLoader
|
|
14
13
|
|
|
15
14
|
class MainApplication : Application(), ReactApplication {
|
|
@@ -31,7 +30,7 @@ class MainApplication : Application(), ReactApplication {
|
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
override val reactHost: ReactHost
|
|
34
|
-
get() = getDefaultReactHost(
|
|
33
|
+
get() = getDefaultReactHost(applicationContext, reactNativeHost)
|
|
35
34
|
|
|
36
35
|
override fun onCreate() {
|
|
37
36
|
super.onCreate()
|
|
@@ -40,6 +39,5 @@ class MainApplication : Application(), ReactApplication {
|
|
|
40
39
|
// If you opted-in for the New Architecture, we load the native entry point for this app.
|
|
41
40
|
load()
|
|
42
41
|
}
|
|
43
|
-
ReactNativeFlipper.initializeFlipper(this, reactNativeHost.reactInstanceManager)
|
|
44
42
|
}
|
|
45
43
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
buildscript {
|
|
2
2
|
ext {
|
|
3
3
|
buildToolsVersion = "34.0.0"
|
|
4
|
-
minSdkVersion =
|
|
4
|
+
minSdkVersion = 23
|
|
5
5
|
compileSdkVersion = 34
|
|
6
6
|
targetSdkVersion = 34
|
|
7
|
-
ndkVersion = "
|
|
8
|
-
kotlinVersion = "1.
|
|
7
|
+
ndkVersion = "26.1.10909125"
|
|
8
|
+
kotlinVersion = "1.9.24"
|
|
9
9
|
}
|
|
10
10
|
repositories {
|
|
11
11
|
google()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
@@ -21,8 +21,6 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
|
|
|
21
21
|
# Android operating system, and which are packaged with your app's APK
|
|
22
22
|
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
23
23
|
android.useAndroidX=true
|
|
24
|
-
# Automatically convert third-party libraries to use AndroidX
|
|
25
|
-
android.enableJetifier=true
|
|
26
24
|
|
|
27
25
|
# Use this property to specify which architecture you want to build.
|
|
28
26
|
# You can also override it from the CLI using
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
|
|
2
|
+
plugins { id("com.facebook.react.settings") }
|
|
3
|
+
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
|
|
1
4
|
rootProject.name = 'Example'
|
|
2
|
-
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
|
3
5
|
include ':app'
|
|
4
6
|
includeBuild('../node_modules/@react-native/gradle-plugin')
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
|
|
13
13
|
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
|
|
14
14
|
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
|
|
15
|
+
23C8E92FACEE21A27366D508 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = C5204FD6204212742B840957 /* PrivacyInfo.xcprivacy */; };
|
|
15
16
|
7699B88040F8A987B510C191 /* libPods-Example-ExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-Example-ExampleTests.a */; };
|
|
16
17
|
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
|
|
17
18
|
/* End PBXBuildFile section */
|
|
@@ -43,6 +44,7 @@
|
|
|
43
44
|
5DCACB8F33CDC322A6C60F78 /* libPods-Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
44
45
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = Example/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
|
45
46
|
89C6BE57DB24E9ADA2F236DE /* Pods-Example-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.release.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.release.xcconfig"; sourceTree = "<group>"; };
|
|
47
|
+
C5204FD6204212742B840957 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = Example/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
|
|
46
48
|
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
|
47
49
|
/* End PBXFileReference section */
|
|
48
50
|
|
|
@@ -92,6 +94,7 @@
|
|
|
92
94
|
13B07FB61A68108700A75B9A /* Info.plist */,
|
|
93
95
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
|
|
94
96
|
13B07FB71A68108700A75B9A /* main.m */,
|
|
97
|
+
C5204FD6204212742B840957 /* PrivacyInfo.xcprivacy */,
|
|
95
98
|
);
|
|
96
99
|
name = Example;
|
|
97
100
|
sourceTree = "<group>";
|
|
@@ -243,6 +246,7 @@
|
|
|
243
246
|
files = (
|
|
244
247
|
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
|
|
245
248
|
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
|
|
249
|
+
23C8E92FACEE21A27366D508 /* PrivacyInfo.xcprivacy in Resources */,
|
|
246
250
|
);
|
|
247
251
|
runOnlyForDeploymentPostprocessing = 0;
|
|
248
252
|
};
|
|
@@ -465,9 +469,13 @@
|
|
|
465
469
|
buildSettings = {
|
|
466
470
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
467
471
|
CLANG_ENABLE_MODULES = YES;
|
|
472
|
+
CODE_SIGN_IDENTITY = "Apple Development";
|
|
473
|
+
CODE_SIGN_STYLE = Automatic;
|
|
468
474
|
CURRENT_PROJECT_VERSION = 1;
|
|
475
|
+
DEVELOPMENT_TEAM = N95RU98ZB3;
|
|
469
476
|
ENABLE_BITCODE = NO;
|
|
470
477
|
INFOPLIST_FILE = Example/Info.plist;
|
|
478
|
+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
|
|
471
479
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
472
480
|
"$(inherited)",
|
|
473
481
|
"@executable_path/Frameworks",
|
|
@@ -480,6 +488,7 @@
|
|
|
480
488
|
);
|
|
481
489
|
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
|
|
482
490
|
PRODUCT_NAME = Example;
|
|
491
|
+
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
483
492
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
484
493
|
SWIFT_VERSION = 5.0;
|
|
485
494
|
VERSIONING_SYSTEM = "apple-generic";
|
|
@@ -492,8 +501,12 @@
|
|
|
492
501
|
buildSettings = {
|
|
493
502
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
494
503
|
CLANG_ENABLE_MODULES = YES;
|
|
504
|
+
CODE_SIGN_IDENTITY = "Apple Development";
|
|
505
|
+
CODE_SIGN_STYLE = Automatic;
|
|
495
506
|
CURRENT_PROJECT_VERSION = 1;
|
|
507
|
+
DEVELOPMENT_TEAM = N95RU98ZB3;
|
|
496
508
|
INFOPLIST_FILE = Example/Info.plist;
|
|
509
|
+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
|
|
497
510
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
498
511
|
"$(inherited)",
|
|
499
512
|
"@executable_path/Frameworks",
|
|
@@ -506,6 +519,7 @@
|
|
|
506
519
|
);
|
|
507
520
|
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
|
|
508
521
|
PRODUCT_NAME = Example;
|
|
522
|
+
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
509
523
|
SWIFT_VERSION = 5.0;
|
|
510
524
|
VERSIONING_SYSTEM = "apple-generic";
|
|
511
525
|
};
|
|
@@ -515,6 +529,7 @@
|
|
|
515
529
|
isa = XCBuildConfiguration;
|
|
516
530
|
buildSettings = {
|
|
517
531
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
532
|
+
CC = "";
|
|
518
533
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
|
519
534
|
CLANG_CXX_LANGUAGE_STANDARD = "c++20";
|
|
520
535
|
CLANG_CXX_LIBRARY = "libc++";
|
|
@@ -542,6 +557,7 @@
|
|
|
542
557
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
543
558
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
544
559
|
COPY_PHASE_STRIP = NO;
|
|
560
|
+
CXX = "";
|
|
545
561
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
546
562
|
ENABLE_TESTABILITY = YES;
|
|
547
563
|
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
|
|
@@ -561,6 +577,8 @@
|
|
|
561
577
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
562
578
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
563
579
|
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
580
|
+
LD = "";
|
|
581
|
+
LDPLUSPLUS = "";
|
|
564
582
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
565
583
|
/usr/lib/swift,
|
|
566
584
|
"$(inherited)",
|
|
@@ -586,6 +604,7 @@
|
|
|
586
604
|
);
|
|
587
605
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
588
606
|
SDKROOT = iphoneos;
|
|
607
|
+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
|
|
589
608
|
USE_HERMES = true;
|
|
590
609
|
};
|
|
591
610
|
name = Debug;
|
|
@@ -594,6 +613,7 @@
|
|
|
594
613
|
isa = XCBuildConfiguration;
|
|
595
614
|
buildSettings = {
|
|
596
615
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
616
|
+
CC = "";
|
|
597
617
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
|
598
618
|
CLANG_CXX_LANGUAGE_STANDARD = "c++20";
|
|
599
619
|
CLANG_CXX_LIBRARY = "libc++";
|
|
@@ -621,6 +641,7 @@
|
|
|
621
641
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
622
642
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
623
643
|
COPY_PHASE_STRIP = YES;
|
|
644
|
+
CXX = "";
|
|
624
645
|
ENABLE_NS_ASSERTIONS = NO;
|
|
625
646
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
626
647
|
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
|
|
@@ -633,6 +654,8 @@
|
|
|
633
654
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
634
655
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
635
656
|
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
657
|
+
LD = "";
|
|
658
|
+
LDPLUSPLUS = "";
|
|
636
659
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
637
660
|
/usr/lib/swift,
|
|
638
661
|
"$(inherited)",
|
package/Example/ios/Podfile
CHANGED
|
@@ -17,7 +17,7 @@ prepare_react_native_project!
|
|
|
17
17
|
# dependencies: {
|
|
18
18
|
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
|
|
19
19
|
# ```
|
|
20
|
-
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
|
|
20
|
+
# flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
|
|
21
21
|
|
|
22
22
|
linkage = ENV['USE_FRAMEWORKS']
|
|
23
23
|
if linkage != nil
|
|
@@ -34,7 +34,7 @@ target 'Example' do
|
|
|
34
34
|
#
|
|
35
35
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
36
36
|
# you should disable the next line.
|
|
37
|
-
:flipper_configuration => flipper_config,
|
|
37
|
+
# :flipper_configuration => flipper_config,
|
|
38
38
|
# An absolute path to your application root.
|
|
39
39
|
:app_path => "#{Pod::Config.instance.installation_root}/.."
|
|
40
40
|
)
|