Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 86fb7c4

Browse files
LaunchDarklyReleaseBotyusintoLaunchDarklyReleaseBotlouis-launchdarkly
authored
prepare 7.1.2 release (#208)
* [sc-190014] Merge 7.0 for u2c release (#143) * Update swift and android sdk dependencies * Initial commit * TODO: comment out private attributes config and figure out later * Remove erroneous type annotation * TODO: fix deprecated config settings * Added todos to map deprecated android config * Initial refactor to move deprecated android config items * Start implementing deprecated config options * Implement android sdk major changes * Removed deprecated config options * Remove pollUri to use streaming and default endpoints * Implemented typescript changes * Renamed xxxUri to xxxUrl * Implemented swift config option changes * Fixed Reference creation for private context attributes * Update modd.conf * Removed jcenter * Reinstate user.privateAttributeNames because that should stay frozen * PR feedback * Update test-types.ts * Remove unnecessary stream: true config default * [sc-188224] Adios old rn versions * Set example app min ios target to 12.4 as mandated by rn 0.70. Improve local dev modd experience. * Added yarn-all scripts * Fixed broken tests by adding babel config and removing redundant transform.js * Remove old rn versions from CI * Force npm i to get around rn 6.3.0 still supporting old rn versions * Increase circleci macos resource to large * [sc-188335] Add u2c support (#140) * Added js common sdk context helper files. First attempt to implement glue code from js to android sdk. * Validate context in js before initializing ldclient * Added multi context support. Dry'd context manipulation logic. * Copy src folder to node_modules so its part of the npm package * Added arbitrary attributes mapping logic * Replaced src/common sdk files with actual js common sdk package * Refactored init code to be more robust with errors. Dry'd init logic. * Implemented identify logic for context. Changed example app to use multi context. * Autogenerate keys for anonymous context * Removed console logs and dry'd logic * Added contextUtils. Refactored isContext to js. * Initial attempt at ios context implementation * First cut ios implementation * Refactored helper functions to its own utils class. Added android unit tests. * Added multicontext tests * Added ios Podfile and fix dev build. Added swift unit tests. * Added swift unit test scaffold * Update Tests.swift * Improve ios unit tests * Speed up hot reload by replacing cp with rsync. Dry'd dir paths eliminating repetitions. * Update Tests.swift * Update .gitignore * Added more context and config tests * Add unit test for config build * Update modd-android.conf * Added contextUtils tests * Added typescript support for example app to test types. Replaced cp with rsync to speed up local dev. Improved tsconfig to use out of the box rn config. * Use common types for LDUser, LDContext and LDMultiKindContext * Update LaunchdarklyReactNativeClient.xcscheme * Update App.tsx * Prettified changelog * Updated common sdk version * Replaced user references with context * Use trySetValue for key, name and anonymous * Update config.yml * Added files property to specify only necessary files for npm publish * Exclude android test files from npm publish * Replace print with NSLog * Revert prettier changes. Ignore changelog from prettier. * Corrected misspelling of filename. * Added newline at eof * [sc-189696] Fix auto generation of anonymous keys (#141) * Initial commit * Rollback swift changes * Swift changes. * Updated js tests * Don't generate keys in js and defer context validation to native sdks * Update Tests.swift * Add java anonymous key test * Add github actions for tests * Update main.yml * Remove js tests from cicleci to github action. Prettified circleci config. * Update config.yml * Update config.yml * Update config.yml * Update config.yml * Add ios test job * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Cache pods and quiet xcodebuild * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Restore other tests --------- Co-authored-by: Yusinto Ngadiman <[email protected]> * Fixed formatting of ga yml --------- Co-authored-by: Yusinto Ngadiman <[email protected]> * [sc-169352] Add ldClient nil guards (#142) Update LaunchdarklyReactNativeClient.swift * Attempt to fix broken ios tests * Bust Pod cache * Update config.yml --------- Co-authored-by: Yusinto Ngadiman <[email protected]> * [sc-190127] Update npm package-lock (#144) * [sc-190127] Update npm package-lock * Update pod cache key * Update yarn.lock * Update yarn.lock * Update yarn.lock * Update package.json * Downgrade typescript version to fix typedoc issues * Update main.yml * Bump rn sdk to v7 * [sc-178013] Add android null guards for LDClient (#145) * Bump rn sdk to v7 * [sc-178013] Add null guards for LDClient * Improved warning messages * Update LaunchdarklyReactNativeClientModule.java --------- Co-authored-by: Yusinto Ngadiman <[email protected]> * Update yarn.lock * [sc-190944] Add dotenv variable for example app (#146) * [sc-190944] Add dotenv to example app * Ignore .env files * Update README.md --------- Co-authored-by: Yusinto Ngadiman <[email protected]> * [sc-186949] Add support for RN 0.71.x (#147) * [sc-186949] Support RN 0.71 * Update project.pbxproj * Fixed android build for 0.71.x * Update sdk android gradle plugin to 7.4.2 and restore allprojects settings to fix local build. * Update build.gradle * Remove allprojects again to fix Example app's build. Local build becomes broken again, and it needs to be fixed. * Fixed android local dev build * Remove all xcode versions but one * Attempt to fix ruby ci error. Deleted patches dir. * Update config.yml * Update config.yml * Update config.yml * Remove .ruby-version to use os default * PR feedback * Corrected include to be exclude * Remove xcode 13 from circleci build --------- Co-authored-by: Yusinto Ngadiman <[email protected]> * Merging public changes * [sc-191407] Update supported versions on README (#148) * Update README.md * Update README.md --------- Co-authored-by: Yusinto Ngadiman <[email protected]> * fix: 7.x startup crash due to missing proguard file (#152) * fix: startup crash due to missing proguard file * remove hardcoded simulator uuid * Update Podfile.lock * reinstate local package link * add separate android-release command --------- Co-authored-by: Yusinto Ngadiman <[email protected]> --------- Co-authored-by: Yusinto Ngadiman <[email protected]> Co-authored-by: Yusinto Ngadiman <[email protected]> Co-authored-by: LaunchDarklyReleaseBot <[email protected]> Co-authored-by: Louis Chan <[email protected]>
1 parent 310db35 commit 86fb7c4

File tree

8 files changed

+4556
-5135
lines changed

8 files changed

+4556
-5135
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @kinyoklion @yusinto @louis-launchdarkly
1+
* @kinyoklion @yusinto @louis-launchdarkly @tanderson-ld

ManualTestApp/App.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,7 @@ const App = () => {
183183
};
184184

185185
MessageQueue.spy((msg) => {
186-
if (
187-
msg.module != 'LaunchdarklyReactNativeClient' &&
188-
typeof msg.method !== 'number' &&
189-
!msg.method.includes('LaunchdarklyReactNativeClient')
190-
) {
186+
if (msg.module != 'LaunchdarklyReactNativeClient' && !msg.method.includes?.('LaunchdarklyReactNativeClient')) {
191187
return;
192188
}
193189
let logMsg = msg.type === 0 ? 'N->JS: ' : 'JS->N: ';

ManualTestApp/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def enableSeparateBuildPerCPUArchitecture = false
9797
/**
9898
* Run Proguard to shrink the Java bytecode in release builds.
9999
*/
100-
def enableProguardInReleaseBuilds = false
100+
def enableProguardInReleaseBuilds = true
101101

102102
/**
103103
* The preferred build flavor of JavaScriptCore.

0 commit comments

Comments
 (0)