Skip to content

Commit

Permalink
Export findBestAvailableLanguage, addEventListener, removeEventListen…
Browse files Browse the repository at this point in the history
…er in default
  • Loading branch information
zoontek committed Feb 15, 2021
1 parent de9c01a commit e6a5670
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ target 'RNLocalizeExample' do
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
use_flipper!
use_flipper!({ 'Flipper-Folly' => '2.3.0' }) # workaround until https://github.com/facebook/react-native/issues/30836 is fixed
post_install do |installer|
flipper_post_install(installer)
end
Expand Down
20 changes: 10 additions & 10 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- boost-for-react-native (1.63.0)
- CocoaAsyncSocket (7.6.4)
- CocoaAsyncSocket (7.6.5)
- CocoaLibEvent (1.0.0)
- DoubleConversion (1.1.6)
- FBLazyVector (0.63.3)
Expand All @@ -23,8 +23,8 @@ PODS:
- OpenSSL-Universal (= 1.0.2.20)
- Flipper-Glog (0.3.6)
- Flipper-PeerTalk (0.0.4)
- Flipper-RSocket (1.1.0):
- Flipper-Folly (~> 2.2)
- Flipper-RSocket (1.1.1):
- Flipper-Folly (~> 2.3)
- FlipperKit (0.54.0):
- FlipperKit/Core (= 0.54.0)
- FlipperKit/Core (0.54.0):
Expand Down Expand Up @@ -298,7 +298,7 @@ PODS:
- React-jsi (= 0.63.3)
- RNFS (2.16.6):
- React
- RNLocalize (2.0.1):
- RNLocalize (2.0.2):
- React-Core
- Yoga (1.14.0)
- YogaKit (1.18.1):
Expand All @@ -310,7 +310,7 @@ DEPENDENCIES:
- FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
- Flipper (~> 0.54.0)
- Flipper-DoubleConversion (= 1.1.7)
- Flipper-Folly (~> 2.2)
- Flipper-Folly (= 2.3.0)
- Flipper-Glog (= 0.3.6)
- Flipper-PeerTalk (~> 0.0.4)
- Flipper-RSocket (~> 1.1)
Expand Down Expand Up @@ -430,7 +430,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CocoaAsyncSocket: 694058e7c0ed05a9e217d1b3c7ded962f4180845
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
CocoaLibEvent: 2fab71b8bd46dd33ddb959f7928ec5909f838e3f
DoubleConversion: cde416483dac037923206447da6e1454df403714
FBLazyVector: 878b59e31113e289e275165efbe4b54fa614d43d
Expand All @@ -440,7 +440,7 @@ SPEC CHECKSUMS:
Flipper-Folly: e4493b013c02d9347d5e0cb4d128680239f6c78a
Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
Flipper-RSocket: 64e7431a55835eb953b0bf984ef3b90ae9fdddd7
Flipper-RSocket: a3acb8812d6adf127deb0a5edae2793b97e6b641
FlipperKit: ab353d41aea8aae2ea6daaf813e67496642f3d7d
Folly: b73c3869541e86821df3c387eb0af5f65addfab4
glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3
Expand All @@ -466,10 +466,10 @@ SPEC CHECKSUMS:
React-RCTVibration: 8e9fb25724a0805107fc1acc9075e26f814df454
ReactCommon: 4167844018c9ed375cc01a843e9ee564399e53c3
RNFS: 2bd9eb49dc82fa9676382f0585b992c424cd59df
RNLocalize: 41026b7c14878f1a1b381bc79f668f1fbf841adb
RNLocalize: 43f6c30d8e19ad92282ae434d310fb463b31f419
Yoga: 7d13633d129fd179e01b8953d38d47be90db185a
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 2396b180c4b733c01dde12eff44feac16d089785
PODFILE CHECKSUM: b3d924b667521910f724d182c23cc628273a20bf

COCOAPODS: 1.10.0
COCOAPODS: 1.10.1
2 changes: 1 addition & 1 deletion example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4775,7 +4775,7 @@ react-native-fs@2.16.6:
utf8 "^3.0.0"

"react-native-localize@file:..":
version "2.0.1"
version "2.0.2"

react-native-web@0.14.8:
version "0.14.8"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-localize",
"version": "2.0.1",
"version": "2.0.2",
"license": "MIT",
"description": "A toolbox for your React Native app localization.",
"author": "Mathieu Acthernoene <zoontek@gmail.com>",
Expand Down
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,8 @@ export default {
usesAutoDateAndTime,
usesAutoTimeZone,
usesMetricSystem,

findBestAvailableLanguage,
addEventListener,
removeEventListener,
};

0 comments on commit e6a5670

Please sign in to comment.