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
Show all changes
35 commits
Select commit Hold shift + click to select a range
c93ff06
[sc-190014] Merge 7.0 for u2c release (#143)
yusinto Feb 24, 2023
2bdb70f
[sc-190127] Update npm package-lock (#144)
yusinto Feb 24, 2023
810be76
Update yarn.lock
yusinto Feb 24, 2023
209bcb9
Update yarn.lock
yusinto Feb 24, 2023
ab63220
Update yarn.lock
yusinto Feb 24, 2023
be06f65
Update package.json
yusinto Feb 24, 2023
170aa5f
Downgrade typescript version to fix typedoc issues
yusinto Feb 24, 2023
1099b7a
Merge branch 'main' of github.com:launchdarkly/react-native-client-sdk
yusinto Feb 24, 2023
2b80354
Merge branch 'main' of github.com:launchdarkly/react-native-client-sd…
yusinto Feb 27, 2023
5299bd0
Update main.yml
yusinto Feb 27, 2023
e785d4d
merge from public after release
Feb 27, 2023
45894f7
Bump rn sdk to v7
yusinto Feb 28, 2023
b5da8a7
[sc-178013] Add android null guards for LDClient (#145)
yusinto Mar 2, 2023
9b55232
Update yarn.lock
yusinto Mar 2, 2023
cda03e6
merge from public after release
Mar 2, 2023
c501ff7
Merge branch 'main' of github.com:launchdarkly/react-native-client-sdk
louis-launchdarkly Mar 2, 2023
134681f
merge from public after release
Mar 2, 2023
9f53595
[sc-190944] Add dotenv variable for example app (#146)
yusinto Mar 3, 2023
d816728
Merge branch 'main' of github.com:launchdarkly/react-native-client-sd…
yusinto Mar 3, 2023
d0ea8cf
merge from public after release
Mar 3, 2023
43a7e73
[sc-186949] Add support for RN 0.71.x (#147)
yusinto Mar 6, 2023
81b3a3a
Merge branch 'main' of github.com:launchdarkly/react-native-client-sd…
yusinto Mar 6, 2023
15f2376
Merging public changes
yusinto Mar 6, 2023
45c45fd
merge from public after release
Mar 6, 2023
07a3530
[sc-191407] Update supported versions on README (#148)
yusinto Mar 6, 2023
bcdb3f2
merge from public after release
Mar 6, 2023
79193b8
fix: 7.x startup crash due to missing proguard file (#152)
yusinto Mar 15, 2023
ff506a8
merge from public after release
Mar 15, 2023
0e3a05f
Bumped launchdarkly-android-client-sdk to include bugfix
tanderson-ld Mar 15, 2023
0895cee
Merge pull request #153 from launchdarkly/ta/sc-191967/registerAllFla…
tanderson-ld Mar 17, 2023
b5a9a0b
merge from public after release
Mar 21, 2023
644b4ee
Merge branch 'main' of github.com:launchdarkly/react-native-client-sdk
louis-launchdarkly Mar 23, 2023
db31237
fix: typescript and lint errors in example app
yusinto Apr 6, 2023
a665018
Merge branch 'main' of github.com:launchdarkly/react-native-client-sdk
yusinto Apr 6, 2023
60c4090
fix: yarn.lock conflict with public
yusinto Apr 6, 2023
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
4 changes: 4 additions & 0 deletions ManualTestApp/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
module.exports = {
root: true,
extends: '@react-native-community',
rules: {
'@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true }],
'react-native/no-inline-styles': 0,
},
};
11 changes: 8 additions & 3 deletions ManualTestApp/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useState, useEffect, ReactNode } from 'react';
/* eslint-disable no-bitwise */
import React, { useState, useEffect, ReactNode } from 'react';
import { SafeAreaView, ScrollView, StyleSheet, Text, View, Button, TextInput, Alert, Switch } from 'react-native';
import { MOBILE_KEY } from '@env';
import { Picker } from '@react-native-picker/picker';
Expand Down Expand Up @@ -135,7 +136,7 @@ const Body = () => {
<TextInput style={styles.input} onChangeText={setFlagKey} value={flagKey} autoCapitalize="none" />
<View style={styles.row}>
<Button title="Evaluate Flag" onPress={evalFlag} />
<Picker style={{ flex: 1 }} selectedValue={flagType} onValueChange={(itemValue, _) => setFlagType(itemValue)}>
<Picker style={{ flex: 1 }} selectedValue={flagType} onValueChange={(itemValue) => setFlagType(itemValue)}>
<Picker.Item label="Bool" value="bool" />
<Picker.Item label="String" value="string" />
<Picker.Item label="Number" value="number" />
Expand Down Expand Up @@ -183,7 +184,11 @@ const App = () => {
};

MessageQueue.spy((msg) => {
if (msg.module != 'LaunchdarklyReactNativeClient' && !msg.method.includes?.('LaunchdarklyReactNativeClient')) {
if (
msg.module !== 'LaunchdarklyReactNativeClient' &&
typeof msg.method === 'string' &&
!msg.method.includes('LaunchdarklyReactNativeClient')
) {
return;
}
let logMsg = msg.type === 0 ? 'N->JS: ' : 'JS->N: ';
Expand Down
4 changes: 3 additions & 1 deletion ManualTestApp/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"extends": "@tsconfig/react-native/tsconfig.json",
"typeRoots": ["./types"]
"compilerOptions": {
"typeRoots": ["./types"]
}
}
Loading