Skip to content

Commit

Permalink
chore: fix rn peerdep version. remove duplicate comments re asyncstor…
Browse files Browse the repository at this point in the history
…ag.e
  • Loading branch information
yusinto committed Dec 22, 2023
1 parent 262d9f3 commit 38cac64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion packages/sdk/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"peerDependencies": {
"react": "*",
"react-native": "^0.73.1"
"react-native": "*"
},
"dependencies": {
"@launchdarkly/js-client-sdk-common": "0.0.1",
Expand Down
16 changes: 0 additions & 16 deletions packages/sdk/react-native/src/platform/index.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
/* eslint-disable max-classes-per-file */

/**
* The LaunchDarkly SDK uses async-storage for bootstrapping and this is a native
* dependency.
*
* If you are using expo, then adding the LaunchDarkly React Native
* SDK from npm and re-running pod install should suffice.
*
* If you are not using expo, you will need to explicitly add
* @react-native-async-storage/async-storage as a dependency to your project
* and re-run pod install for auto-linking to work. This is because auto-link
* does not work with transitive dependencies:
* https://github.com/react-native-community/cli/issues/1347
*/
import AsyncStorage from '@react-native-async-storage/async-storage';

import type {
Crypto,
Encoding,
Expand Down

0 comments on commit 38cac64

Please sign in to comment.