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

prepare 6.2.3 release #154

Merged
merged 122 commits into from
Sep 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
67fb5ce
Removed the guides link
bwoskow-ld Feb 3, 2021
b6a113c
V4.0 (#68)
torchhound Apr 1, 2021
a193441
merge from public after release
LaunchDarklyCI Apr 1, 2021
510e581
Update iOS SDK dependency to fix Throttler behavior (#69)
torchhound Apr 7, 2021
0afc773
merge from public after release
LaunchDarklyCI Apr 7, 2021
9df202f
V4.1.0 (#72)
torchhound Apr 14, 2021
17e2d75
merge from public after release
LaunchDarklyCI Apr 14, 2021
35b61e1
Fixed jsonVariationDetail parsing on Android and fixed a typo in json…
torchhound Apr 16, 2021
fceade3
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Apr 23, 2021
82ba5fe
Releasing version 4.0.2
bwoskow-ld Apr 23, 2021
5489162
Merge branch 'v4.0.x-squashed' of github.com:launchdarkly/react-nativ…
bwoskow-ld Apr 23, 2021
ccc28c3
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Apr 24, 2021
c4a2891
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Apr 24, 2021
cae667b
Removes Typescript enums and replaces them with types that extend str…
torchhound Apr 28, 2021
f975de3
Releasing version 4.0.3
bwoskow-ld Apr 28, 2021
881c2fb
Merge branch 'v4.0.x-squashed'
bwoskow-ld Apr 28, 2021
b23e1c0
Merge branch 'master' of github.com:launchdarkly/react-native-client-…
bwoskow-ld Apr 28, 2021
c261c78
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Apr 28, 2021
5ad0499
Multi Environment (#65)
torchhound May 11, 2021
4ca1a1f
Add secondary user attribute (#76)
torchhound May 11, 2021
4a9530e
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld May 11, 2021
81ae48d
Fix multi environment on restwrapper (#77)
torchhound May 19, 2021
0029ba5
merge from public after release
LaunchDarklyCI May 19, 2021
83640b7
[ch109800] Await Android client initialization. (#78)
gwhelanLD May 28, 2021
2668c2a
Update iOS method signature to match implementation (#79)
bwoskow-ld Jun 1, 2021
9703765
Merge remote-tracking branch 'public/master'
gwhelanLD Jun 1, 2021
b1a94ca
merge from public after release
LaunchDarklyCI Jun 1, 2021
8399a02
Releasing version 4.0.4
bwoskow-ld Jun 2, 2021
14c3993
Merge tag '4.0.4'
bwoskow-ld Jun 2, 2021
4d003c0
[ch110474] Fixes for undeclared variables and other callback issues. …
gwhelanLD Jun 15, 2021
36516d0
Merge remote-tracking branch 'public/master'
gwhelanLD Jun 15, 2021
093d62d
Changes for Android 3. (#82)
gwhelanLD Jun 15, 2021
894de0f
Add unit tests for JS native bridge wrapper. (#83)
gwhelanLD Jun 16, 2021
3da41af
Docs improvements (#84)
gwhelanLD Jun 16, 2021
493d554
[ch94513] Add aliasing support (#85)
gwhelanLD Jun 16, 2021
a735bab
Requiring default values to be specified. Remove intVariation. (#86)
gwhelanLD Jun 29, 2021
0364d51
Safer and cleaner configuration on iOS (#87)
gwhelanLD Jul 1, 2021
eb1aecb
Cleanup Android variation implementation (#88)
gwhelanLD Jul 1, 2021
9f8dbc9
Merge remote-tracking branch 'public/master'
gwhelanLD Aug 19, 2021
cbad402
Use latest iOS and Android SDKs (#89)
gwhelanLD Aug 19, 2021
f0ade3f
Fix issue with numeric variation calls. (#90)
gwhelanLD Aug 20, 2021
89668aa
merge from public after release
Aug 20, 2021
db3ca38
Add consumer Proguard file to Android build configuration. (#91)
gwhelanLD Sep 3, 2021
d631ea9
Merge remote-tracking branch 'public/master'
gwhelanLD Sep 3, 2021
cb9aab3
Update Android SDK to 3.1.1 (#92)
gwhelanLD Sep 3, 2021
33187c2
merge from public after release
Sep 3, 2021
c4a98d7
Fix for absolute paths in cocoapods generated build files by running …
gwhelanLD Sep 17, 2021
4511f91
Re-introduce compatibility for React Native 0.63 (#94)
bwoskow-ld Sep 20, 2021
1f314a8
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Sep 22, 2021
432605c
Updates docs URLs
ember-stevens Sep 26, 2021
714ab09
Merge pull request #95 from launchdarkly/emberstevens/sc-118589/url-a…
ember-stevens Sep 29, 2021
51504f9
Add configuration option `inlineUsersInEvents` and typescript definit…
gwhelanLD Sep 29, 2021
595c3c2
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Sep 29, 2021
b2104a2
minor doc improvement (#97)
bwoskow-ld Sep 30, 2021
2fc3cac
Update version in README to match what version we'll actually be rele…
gwhelanLD Sep 30, 2021
aa880bc
merge from public after release
Sep 30, 2021
17275e7
Merge branch 'master' of github.com:launchdarkly/react-native-client-…
louis-launchdarkly Sep 30, 2021
addc762
Invert isOffline on iOS. (#99)
gwhelanLD Oct 14, 2021
038017e
Fixes and improvements for CI configuration (#100)
gwhelanLD Dec 22, 2021
329b094
[SC-130395] Allow native SDKs to generate anonymous user when user ke…
gwhelanLD Dec 22, 2021
77d7b11
See will this work without adding the mavenCentral
louis-launchdarkly Jan 13, 2022
9f55e81
Adding MavenCentral
louis-launchdarkly Jan 13, 2022
f62cab3
Fix RN0.63 builds
louis-launchdarkly Jan 19, 2022
adeac7c
Merge pull request #102 from launchdarkly/lc/sc-137578/remove-jcenter
louis-launchdarkly Jan 19, 2022
eb26b57
Fix outdated sed CI expression preventing actually testing against th…
gwhelanLD Jan 21, 2022
d3385b5
Update Android native SDK dependency and gradle config. (#104)
gwhelanLD Jan 21, 2022
aa39b22
Update iOS SDK native dependency in podspec. (#105)
gwhelanLD Jan 21, 2022
808b306
merge from public after release
Jan 21, 2022
1da708d
[sc-139041] Fix releaser typedoc generation (#106)
gwhelanLD Feb 8, 2022
a54ca2d
Have podspec retrieve version from package.json to allow using defaul…
gwhelanLD Feb 8, 2022
f38a2aa
Fix iOS jsonVariation and jsonVariationDetail when using array defaul…
gwhelanLD Feb 8, 2022
e78af59
Completely rework CI build to not use hello-react-native (#109)
gwhelanLD Feb 10, 2022
07f3c8f
Include manual testing application in repo (#110)
gwhelanLD Feb 10, 2022
8f1e09e
Merge remote-tracking branch 'public/master'
gwhelanLD Feb 10, 2022
f0545f5
Adding the addListener and removeListeners method to silence the warning
louis-launchdarkly Feb 23, 2022
1a2038d
Merge pull request #111 from launchdarkly/lc/remove-warning
louis-launchdarkly Feb 24, 2022
4bc3ea4
Add privateAttributeNames to TypeScript and iOS wrapper implementatio…
gwhelanLD Feb 25, 2022
a7b7f7f
Bump to latest Android SDK release (#114)
gwhelanLD Feb 25, 2022
5873f90
Fix ownership handling for all flags and connection mode listeners on…
gwhelanLD Feb 25, 2022
a0f2820
merge from public after release
Feb 26, 2022
98389e3
Update iOS SDK to latest 5.4.5 release. (#115)
gwhelanLD Mar 17, 2022
3bfcb84
merge from public after release
Mar 18, 2022
02a9f18
Update Android SDK to latest patch release. (#116)
gwhelanLD Mar 25, 2022
777be46
merge from public after release
Mar 25, 2022
fbe7c29
Update to the correct variation method
louis-launchdarkly Apr 4, 2022
1f590bc
Add RN 0.68 CI and expand RN version bounds in package definition. (#…
gwhelanLD Apr 4, 2022
98da24c
Merge pull request #118 from launchdarkly/lc/fix-manual-test-app
louis-launchdarkly Apr 4, 2022
868258c
Update supported RN versions in readme.
gwhelanLD Apr 8, 2022
f39ce06
Merge pull request #119 from launchdarkly/gw/update-supported-version…
louis-launchdarkly Apr 13, 2022
285aa05
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
louis-launchdarkly Apr 14, 2022
067354d
[sc-149512] Android reason fixes (#120)
gwhelanLD Apr 14, 2022
b73573c
merge from public after release
Apr 14, 2022
9cb9979
Merge branch 'main' of github.com:launchdarkly/react-native-client-sdk
louis-launchdarkly May 4, 2022
a47c6fb
Changes for iOS V6. (#122)
gwhelanLD May 16, 2022
a4f5de8
Use iOS 6.1.0 and new `LDUser.isAnonymousNullable` property (#123)
gwhelanLD May 17, 2022
9547305
Fix automatically setting user as anonymous when both key and anonymo…
gwhelanLD May 17, 2022
587a682
merge from public after release
May 17, 2022
94a8b0c
Add the new React Native version and the latest non-beta xcode version
louis-launchdarkly Jun 27, 2022
a49631d
Add exclusion to the old RN with new xcode and new RN with old xcode
louis-launchdarkly Jun 28, 2022
67f8ec4
Update the Readme
louis-launchdarkly Jul 1, 2022
ff3783b
Update package files
louis-launchdarkly Jul 1, 2022
612ef26
RN 0.69.1 is available
louis-launchdarkly Jul 1, 2022
7328b8d
Code Review Comment to remove xcode 12.2
louis-launchdarkly Jul 16, 2022
9f5543d
Try to install jest first to get past the error
louis-launchdarkly Jul 18, 2022
ff037d0
Try to pin the RN version when using with npx
louis-launchdarkly Jul 20, 2022
590a865
Bump Android SDK to 3.1.6
louis-launchdarkly Aug 1, 2022
45f0e1b
Merge pull request #126 from launchdarkly/lchan/bump-android-3.1.6
louis-launchdarkly Aug 2, 2022
648e26b
merge from public after release
Aug 2, 2022
5653590
Print more about circle CI
louis-launchdarkly Aug 9, 2022
d1a59d2
Use a separate working director for the new project
louis-launchdarkly Aug 9, 2022
914aeed
Update the relative path
louis-launchdarkly Aug 9, 2022
e30dec3
CircleCI need to have -p for mkdir
louis-launchdarkly Aug 9, 2022
86dc687
Merge pull request #125 from launchdarkly/lchan/sc-157837/try-0.69.0
louis-launchdarkly Aug 16, 2022
5300941
merge from public after release
Aug 16, 2022
9495ad1
Upgrade Native Android SDK to 3.1.7
louis-launchdarkly Aug 18, 2022
fbbb7b4
Try to bump Android SDK to 3.2.0
louis-launchdarkly Aug 31, 2022
b53e99b
Merge pull request #127 from launchdarkly/lchan/update-android-sdk
louis-launchdarkly Sep 9, 2022
3da2afc
The null check logic for isInitialized
louis-launchdarkly Sep 9, 2022
b9b7c26
Fix spacing
louis-launchdarkly Sep 12, 2022
01fcf62
Merge pull request #128 from launchdarkly/lchan/sc-167623/update-is-i…
louis-launchdarkly Sep 12, 2022
a5b9a80
Support React Native 0.70. (#129)
louis-launchdarkly Sep 26, 2022
df64e76
More update to the Android isInitialized logic (#130)
louis-launchdarkly Sep 29, 2022
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
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,16 @@ workflows:
name: rn<<matrix.rn-version>>-xc<<matrix.xcode-version>>-build-apps-using-template
matrix:
parameters:
rn-version: ["0.64.3", "0.65.2", "0.66.4", "0.67.3", "0.68.0","0.69.4"]
xcode-version: ["12.5.1", "13.2.1", "13.4.1"]
rn-version: ["0.64.3", "0.65.2", "0.66.4", "0.67.3", "0.68.0","0.69.4", "0.70.1"]
xcode-version: ["12.5.1", "13.2.1", "13.4.1", "14.0.1"]
exclude:
- rn-version: "0.64.3"
xcode-version: "13.4.1"
- rn-version: "0.64.3"
xcode-version: "14.0.1"
- rn-version: "0.65.2"
xcode-version: "13.4.1"
- rn-version: "0.65.2"
xcode-version: "14.0.1"
requires:
- test-javascript
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ allprojects {

dependencies {
implementation("com.facebook.react:react-native:+")
implementation("com.launchdarkly:launchdarkly-android-client-sdk:3.1.6")
implementation("com.launchdarkly:launchdarkly-android-client-sdk:3.2.0")
implementation("com.jakewharton.timber:timber:5.0.1")
implementation("com.google.code.gson:gson:2.8.9")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,21 @@ public void setOnline(Promise promise) {
@ReactMethod
public void isInitialized(String environment, Promise promise) {
try {
boolean result = LDClient.getForMobileKey(environment).isInitialized();
promise.resolve(result);
LDClient instance = LDClient.getForMobileKey(environment);
if (instance == null) {
promise.resolve(false);
} else {
boolean result = instance.isInitialized();
promise.resolve(result);
}
} catch (LaunchDarklyException e) {
// Any known exception thrown by us means instances map is not there
// or the instances map has no key for the environment
// which means we should return isInitialized = false instead of promise rejection.
Timber.w(e);
promise.resolve(false);
} catch (Exception e) {
Timber.w(e);
promise.reject(ERROR_UNKNOWN, e);
}
}
Expand Down