Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ buck-out/

# Auto-generated
test-types.js

.env
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @kinyoklion @yusinto @louis-launchdarkly
* @kinyoklion @yusinto @louis-launchdarkly @tanderson-ld
2 changes: 1 addition & 1 deletion ManualTestApp/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const App = () => {
};

MessageQueue.spy((msg) => {
if (msg.module != 'LaunchdarklyReactNativeClient' && !msg.method.includes('LaunchdarklyReactNativeClient')) {
if (msg.module != 'LaunchdarklyReactNativeClient' && !msg.method.includes?.('LaunchdarklyReactNativeClient')) {
return;
}
let logMsg = msg.type === 0 ? 'N->JS: ' : 'JS->N: ';
Expand Down
2 changes: 1 addition & 1 deletion ManualTestApp/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def enableSeparateBuildPerCPUArchitecture = false
/**
* Run Proguard to shrink the Java bytecode in release builds.
*/
def enableProguardInReleaseBuilds = false
def enableProguardInReleaseBuilds = true

/**
* The preferred build flavor of JavaScriptCore.
Expand Down
52 changes: 26 additions & 26 deletions ManualTestApp/ios/ManualTestApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@
objects = {

/* Begin PBXBuildFile section */
0B6DA8F6F65AE4D7745E7034 /* libPods-ManualTestApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 81200BDA804265B7051B34CC /* libPods-ManualTestApp.a */; };
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
9F64DC53C2D68F9B3AB60EE6 /* libPods-ManualTestApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 544FEEAABDF243BD76344B6B /* libPods-ManualTestApp.a */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
00A7AA1002E7C0727A14294F /* Pods-ManualTestApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ManualTestApp.debug.xcconfig"; path = "Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp.debug.xcconfig"; sourceTree = "<group>"; };
13B07F961A680F5B00A75B9A /* ManualTestApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ManualTestApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ManualTestApp/AppDelegate.h; sourceTree = "<group>"; };
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ManualTestApp/AppDelegate.m; sourceTree = "<group>"; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ManualTestApp/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ManualTestApp/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ManualTestApp/main.m; sourceTree = "<group>"; };
367486A52C9EE5715002F16D /* Pods-ManualTestApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ManualTestApp.release.xcconfig"; path = "Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp.release.xcconfig"; sourceTree = "<group>"; };
81200BDA804265B7051B34CC /* libPods-ManualTestApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ManualTestApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
413F0DAD97CBDFD63CB5428E /* Pods-ManualTestApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ManualTestApp.release.xcconfig"; path = "Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp.release.xcconfig"; sourceTree = "<group>"; };
544FEEAABDF243BD76344B6B /* libPods-ManualTestApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ManualTestApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
5D6B4A193FDCD203289F2ACC /* Pods-ManualTestApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ManualTestApp.debug.xcconfig"; path = "Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp.debug.xcconfig"; sourceTree = "<group>"; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = ManualTestApp/LaunchScreen.storyboard; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */
Expand All @@ -33,7 +33,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
0B6DA8F6F65AE4D7745E7034 /* libPods-ManualTestApp.a in Frameworks */,
9F64DC53C2D68F9B3AB60EE6 /* libPods-ManualTestApp.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -57,7 +57,7 @@
isa = PBXGroup;
children = (
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
81200BDA804265B7051B34CC /* libPods-ManualTestApp.a */,
544FEEAABDF243BD76344B6B /* libPods-ManualTestApp.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand All @@ -76,7 +76,7 @@
832341AE1AAA6A7D00B99B32 /* Libraries */,
83CBBA001A601CBA00E9B192 /* Products */,
2D16E6871FA4F8E400B85C8A /* Frameworks */,
9D0815E89C722EA13B9E1945 /* Pods */,
E33A234FA9A50B8FE1696031 /* Pods */,
);
indentWidth = 2;
sourceTree = "<group>";
Expand All @@ -91,11 +91,11 @@
name = Products;
sourceTree = "<group>";
};
9D0815E89C722EA13B9E1945 /* Pods */ = {
E33A234FA9A50B8FE1696031 /* Pods */ = {
isa = PBXGroup;
children = (
00A7AA1002E7C0727A14294F /* Pods-ManualTestApp.debug.xcconfig */,
367486A52C9EE5715002F16D /* Pods-ManualTestApp.release.xcconfig */,
5D6B4A193FDCD203289F2ACC /* Pods-ManualTestApp.debug.xcconfig */,
413F0DAD97CBDFD63CB5428E /* Pods-ManualTestApp.release.xcconfig */,
);
name = Pods;
path = Pods;
Expand All @@ -108,14 +108,14 @@
isa = PBXNativeTarget;
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ManualTestApp" */;
buildPhases = (
29C8EAF979C4977396E87B90 /* [CP] Check Pods Manifest.lock */,
2E9942E89D266C5776B1946A /* [CP] Check Pods Manifest.lock */,
FD10A7F022414F080027D42C /* Start Packager */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
AB81F03A081597AC6649A97F /* [CP] Embed Pods Frameworks */,
71BC63C17D964AF72F12BA7C /* [CP] Copy Pods Resources */,
A5FCD3EC7EBE5ED6EC3237EF /* [CP] Embed Pods Frameworks */,
A98083D56B2D93B219C1CF45 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -184,7 +184,7 @@
shellPath = /bin/sh;
shellScript = "set -e\n\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
29C8EAF979C4977396E87B90 /* [CP] Check Pods Manifest.lock */ = {
2E9942E89D266C5776B1946A /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -206,38 +206,38 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
71BC63C17D964AF72F12BA7C /* [CP] Copy Pods Resources */ = {
A5FCD3EC7EBE5ED6EC3237EF /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-resources-${CONFIGURATION}-input-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-resources-${CONFIGURATION}-output-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-resources.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
AB81F03A081597AC6649A97F /* [CP] Embed Pods Frameworks */ = {
A98083D56B2D93B219C1CF45 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-frameworks-${CONFIGURATION}-input-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-frameworks-${CONFIGURATION}-output-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-resources.sh\"\n";
showEnvVarsInLog = 0;
};
FD10A7F022414F080027D42C /* Start Packager */ = {
Expand Down Expand Up @@ -276,7 +276,7 @@
/* Begin XCBuildConfiguration section */
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 00A7AA1002E7C0727A14294F /* Pods-ManualTestApp.debug.xcconfig */;
baseConfigurationReference = 5D6B4A193FDCD203289F2ACC /* Pods-ManualTestApp.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand All @@ -302,7 +302,7 @@
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 367486A52C9EE5715002F16D /* Pods-ManualTestApp.release.xcconfig */;
baseConfigurationReference = 413F0DAD97CBDFD63CB5428E /* Pods-ManualTestApp.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand Down
4 changes: 2 additions & 2 deletions ManualTestApp/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ PODS:
- glog (0.3.5)
- LaunchDarkly (7.1.0):
- LaunchDarkly/Core (= 7.1.0)
- launchdarkly-react-native-client-sdk (6.3.0):
- launchdarkly-react-native-client-sdk (6.3.2):
- LaunchDarkly (= 7.1.0)
- React-Core
- LaunchDarkly/Core (7.1.0):
Expand Down Expand Up @@ -512,7 +512,7 @@ SPEC CHECKSUMS:
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 85ecdd10ee8d8ec362ef519a6a45ff9aa27b2e85
LaunchDarkly: 31da8b77e96cb744417208478bb5b24f35fd2491
launchdarkly-react-native-client-sdk: ddc05ffeba2a99393cec290528f044025a1d12c9
launchdarkly-react-native-client-sdk: 8831d9860f68d56b60c3fc2c81b97b7bac2a92fa
LDSwiftEventSource: 824ce51a4fa8e79498c9b67ae672bfa802bd7464
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b
Expand Down
3 changes: 2 additions & 1 deletion ManualTestApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
"private": true,
"scripts": {
"android": "react-native run-android",
"android-release": "react-native run-android --variant release",
"ios": "react-native run-ios",
"start": "react-native start",
"postinstall": "cd ../ && yarn link-dev",
"lint": "eslint ."
},
"dependencies": {
"@react-native-picker/picker": "^2.2.1",
"launchdarkly-react-native-client-sdk": "^6.2.4",
"launchdarkly-react-native-client-sdk": "^6.3.2",
"react": "17.0.2",
"react-native": "0.67.2"
},
Expand Down
8 changes: 4 additions & 4 deletions ManualTestApp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3244,10 +3244,10 @@ kleur@^3.0.3:
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==

launchdarkly-react-native-client-sdk@^6.2.4:
version "6.2.4"
resolved "https://registry.yarnpkg.com/launchdarkly-react-native-client-sdk/-/launchdarkly-react-native-client-sdk-6.2.4.tgz#ac2ddc009407f815dfdc33703604e9b82bd9160d"
integrity sha512-emD7AnyS0qYF4ZkbLeBQi0lAjwvlj6Am+VVTtMvrXK8jPHPRLVW+vcosU93s8vD9LZlvLpBjPsWyFSgGpF1THQ==
launchdarkly-react-native-client-sdk@^6.3.2:
version "6.3.2"
resolved "https://registry.yarnpkg.com/launchdarkly-react-native-client-sdk/-/launchdarkly-react-native-client-sdk-6.3.2.tgz#3c8a8ee4d0f60eb08b48ecd2aaa501b361ded6ac"
integrity sha512-cDG4dDL3jrLTS9iPI04ydrXogtDlE/5jZmHtD0bf2z6uo3VFav+hMU1p+2CKJ/Q8PWd5YGFI2Ra7zUjmtXoY4w==

leven@^3.1.0:
version "3.1.0"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"files": [
"android/src/main",
"android/build.gradle",
"android/consumer-proguard-rules.pro",
"android/gradle.properties",
"ios/LaunchdarklyReactNativeClient.xcodeproj",
"ios/LaunchdarklyReactNativeClient.swift",
Expand Down
Loading