Skip to content

Commit 91efc92

Browse files
committed
Merge branch 'main' into develop
2 parents 8aae34d + c95ed8b commit 91efc92

File tree

13 files changed

+424
-48
lines changed

13 files changed

+424
-48
lines changed

CHANGELOG.md

Lines changed: 98 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,102 @@
1-
# Change Log
1+
# Changelog
2+
3+
# [1.0.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.4...v1.0.0) (2022-07-26)
4+
5+
**Note:** Version bump only for package sendbird-uikit-react-native
6+
7+
8+
9+
10+
11+
# Changelog
12+
13+
# [1.0.0-rc.4](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.3...v1.0.0-rc.4) (2022-07-26)
14+
15+
**Note:** Version bump only for package sendbird-uikit-react-native
16+
17+
18+
19+
20+
21+
# Changelog
22+
23+
# [1.0.0-rc.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2022-07-26)
24+
25+
**Note:** Version bump only for package sendbird-uikit-react-native
26+
27+
28+
29+
30+
31+
# Changelog
32+
33+
# [1.0.0-rc.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2022-07-26)
34+
35+
**Note:** Version bump only for package sendbird-uikit-react-native
36+
37+
38+
39+
40+
41+
# Changelog
42+
43+
# [1.0.0-rc.1](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.0...v1.0.0-rc.1) (2022-07-26)
44+
45+
**Note:** Version bump only for package sendbird-uikit-react-native
46+
47+
48+
49+
50+
51+
# Changelog
52+
53+
# [1.0.0-rc.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v0.1.2...v1.0.0-rc.0) (2022-07-26)
54+
55+
56+
### Bug Fixes
57+
58+
* apply strings review ([a4c94e3](https://github.com/sendbird/sendbird-uikit-react-native/commit/a4c94e380f64919f929c9a494e9fcfb6ba1263cf))
59+
* **chat-hooks:** do not check isResendable before resend message ([6d3f8a3](https://github.com/sendbird/sendbird-uikit-react-native/commit/6d3f8a37db06aa3e985d1f8fe9137d3c1c60a164))
60+
* **chat-hooks:** rename module ([7a2c30c](https://github.com/sendbird/sendbird-uikit-react-native/commit/7a2c30cf136883ef551ae59e9cc848fea81088ff))
61+
* **core:** added keyboard-avoid-offset prop to group channel ([bd1c905](https://github.com/sendbird/sendbird-uikit-react-native/commit/bd1c905b334e6e7e13fa367a650a3e8d11395b29))
62+
* **core:** changed label keys ([106843f](https://github.com/sendbird/sendbird-uikit-react-native/commit/106843f3c5e6f665ae3a7d3f9d60ae709942df33))
63+
* **core:** changed label keys, inject one-source user no name label ([003d46d](https://github.com/sendbird/sendbird-uikit-react-native/commit/003d46d22e3771e6eaec3b2efea79d9715357073))
64+
* **core:** conditional rendering for typings indicator string ([64908b9](https://github.com/sendbird/sendbird-uikit-react-native/commit/64908b9ffb1dd26484f7a16e3ab936b10947e653))
65+
* **core:** GroupChannelSettings component segmentation ([4bfdfde](https://github.com/sendbird/sendbird-uikit-react-native/commit/4bfdfdea09e75d61b58967586417ad39a2b8aa2a))
66+
* **core:** iOS media library save type ([55eb549](https://github.com/sendbird/sendbird-uikit-react-native/commit/55eb549ada8771f88954992cf83fb130dd27cd16))
67+
* **core:** NativeFileService error ([ebc71d5](https://github.com/sendbird/sendbird-uikit-react-native/commit/ebc71d5429060eb4f3b9f52749f98ef2888cdb74))
68+
* **core:** NativeFileService, should check file type on iOS ([d07c568](https://github.com/sendbird/sendbird-uikit-react-native/commit/d07c568de01ac80c795435f68ba6e14d0e868a8f))
69+
* **core:** re-naming GroupChannelInfo to GroupChannelSettings ([afc6e23](https://github.com/sendbird/sendbird-uikit-react-native/commit/afc6e23a90ca8dabc4d684b3b27ab3e5817c7caa))
70+
* **core:** renamed ignoreActiveOnly prop of UserListHeader ([89e80d9](https://github.com/sendbird/sendbird-uikit-react-native/commit/89e80d9672ea20684a4732f2329e26ad4a2f9fb9))
71+
* **core:** renamed onLeaveChannel prop of GroupChannelFragment ([d5aa8f7](https://github.com/sendbird/sendbird-uikit-react-native/commit/d5aa8f7944e35a6bbeecbc02b332a4f51f9fdf2b))
72+
* improve stability ([1698bc1](https://github.com/sendbird/sendbird-uikit-react-native/commit/1698bc19b0c1cc3641c27ef627475ea0355e4e9a))
73+
* improve stability ([72648d1](https://github.com/sendbird/sendbird-uikit-react-native/commit/72648d14e00a01b4c856e7b794a6a22ee7e5b9d7))
74+
* renamed Context to Contexts ([41bae55](https://github.com/sendbird/sendbird-uikit-react-native/commit/41bae55059d8eb79e9d9656a5a43703c495ab75f))
75+
* **sample:** badge clear ([df069b0](https://github.com/sendbird/sendbird-uikit-react-native/commit/df069b02ecb8e43156422e0e63f26cce88c59e2b))
76+
* **sample:** push handler ([6505495](https://github.com/sendbird/sendbird-uikit-react-native/commit/6505495ee3ac059afcbf763fdc8458eb6d0e107c))
77+
* **sample:** revert gradle settings ([c29a87f](https://github.com/sendbird/sendbird-uikit-react-native/commit/c29a87fd79e3541667fa17cd2f1d74dd4702f7f8))
78+
* **sample:** underscore numeral throw error on android build ([ff3b6da](https://github.com/sendbird/sendbird-uikit-react-native/commit/ff3b6da4b9679788eb0161edebff609b279dcb3f))
79+
* **sample:** update notifee ([a54048c](https://github.com/sendbird/sendbird-uikit-react-native/commit/a54048c878f1c5d7bc7f390660cfba9a431d04be))
80+
* **uikit:** display username as single line ([fad080b](https://github.com/sendbird/sendbird-uikit-react-native/commit/fad080bcdcc40e65f5214082f4f4916bc7661377))
81+
* **uikit:** fragment creator params should be partial ([c53ba95](https://github.com/sendbird/sendbird-uikit-react-native/commit/c53ba95c75396a0fe67dde26f8741d039ac97223))
82+
* **uikit:** prevent crash on open graph ([a5663ca](https://github.com/sendbird/sendbird-uikit-react-native/commit/a5663ca365abf3bb90110d2754fffa299cd3468c))
83+
* **uikit:** remove sdk injection, support better locale type infer ([13dfe9d](https://github.com/sendbird/sendbird-uikit-react-native/commit/13dfe9df6482be97fc9da249d3ea188561cd21f3))
84+
* **uikit:** set keyboardAvoidOffset as a prop ([7679e2f](https://github.com/sendbird/sendbird-uikit-react-native/commit/7679e2fd833d23e9ec8a1ec1f544f8fb2c0e7483))
85+
* update sdk, fix locale injection ([a86ad81](https://github.com/sendbird/sendbird-uikit-react-native/commit/a86ad81f05ebbd42dd65f1ae0919e4459cbb9439))
86+
* **util:** url replacer ([07753b1](https://github.com/sendbird/sendbird-uikit-react-native/commit/07753b19547d13f8a76c2850009ae71fda20aa27))
87+
88+
89+
### Features
90+
91+
* added status component to GroupChannelList ([8ee6ae5](https://github.com/sendbird/sendbird-uikit-react-native/commit/8ee6ae5542c81be173c6329ed6efca5aa1aa8364))
92+
* **foundation:** added typography option to themeFactory ([28b47d5](https://github.com/sendbird/sendbird-uikit-react-native/commit/28b47d58ebc83821060f0a091bf80de75d21a62f))
93+
* **uikit:** added error boundary ([952cf9c](https://github.com/sendbird/sendbird-uikit-react-native/commit/952cf9cda612a515d5e7910b6dce81d6c2ee6efb))
94+
* **uikit:** added extension ([52de301](https://github.com/sendbird/sendbird-uikit-react-native/commit/52de301bd8cfa7f660162e0c4951e4db53a3238e))
95+
* **uikit:** added internal local cache storage ([f78a492](https://github.com/sendbird/sendbird-uikit-react-native/commit/f78a492651ea3a2a1e6b4300d6d33c83eac075d0))
96+
97+
98+
299

3-
All notable changes to this project will be documented in this file.
4-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5100

6101
## 0.1.2 (2022-04-26)
7102

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
],
66
"npmClient": "yarn",
77
"useWorkspaces": true,
8-
"version": "0.1.2",
8+
"version": "1.0.0",
99
"command": {
1010
"publish": {
1111
"conventionalCommits": true,

packages/uikit-chat-hooks/CHANGELOG.md

Lines changed: 65 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,69 @@
1-
# Change Log
1+
# Changelog
2+
3+
# [1.0.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.4...v1.0.0) (2022-07-26)
4+
5+
**Note:** Version bump only for package @sendbird/uikit-chat-hooks
6+
7+
8+
9+
10+
11+
# Changelog
12+
13+
# [1.0.0-rc.4](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.3...v1.0.0-rc.4) (2022-07-26)
14+
15+
**Note:** Version bump only for package @sendbird/uikit-chat-hooks
16+
17+
18+
19+
20+
21+
# Changelog
22+
23+
# [1.0.0-rc.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2022-07-26)
24+
25+
**Note:** Version bump only for package @sendbird/uikit-chat-hooks
26+
27+
28+
29+
30+
31+
# Changelog
32+
33+
# [1.0.0-rc.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2022-07-26)
34+
35+
**Note:** Version bump only for package @sendbird/uikit-chat-hooks
36+
37+
38+
39+
40+
41+
# Changelog
42+
43+
# [1.0.0-rc.1](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.0...v1.0.0-rc.1) (2022-07-26)
44+
45+
**Note:** Version bump only for package @sendbird/uikit-chat-hooks
46+
47+
48+
49+
50+
51+
# Changelog
52+
53+
# [1.0.0-rc.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v0.1.2...v1.0.0-rc.0) (2022-07-26)
54+
55+
56+
### Bug Fixes
57+
58+
* **chat-hooks:** do not check isResendable before resend message ([6d3f8a3](https://github.com/sendbird/sendbird-uikit-react-native/commit/6d3f8a37db06aa3e985d1f8fe9137d3c1c60a164))
59+
* **chat-hooks:** rename module ([7a2c30c](https://github.com/sendbird/sendbird-uikit-react-native/commit/7a2c30cf136883ef551ae59e9cc848fea81088ff))
60+
* **core:** renamed ignoreActiveOnly prop of UserListHeader ([89e80d9](https://github.com/sendbird/sendbird-uikit-react-native/commit/89e80d9672ea20684a4732f2329e26ad4a2f9fb9))
61+
* **core:** renamed onLeaveChannel prop of GroupChannelFragment ([d5aa8f7](https://github.com/sendbird/sendbird-uikit-react-native/commit/d5aa8f7944e35a6bbeecbc02b332a4f51f9fdf2b))
62+
* improve stability ([72648d1](https://github.com/sendbird/sendbird-uikit-react-native/commit/72648d14e00a01b4c856e7b794a6a22ee7e5b9d7))
63+
64+
65+
266

3-
All notable changes to this project will be documented in this file.
4-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
567

668
## 0.1.2 (2022-04-26)
769

packages/uikit-chat-hooks/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-chat-hooks",
3-
"version": "0.1.2",
3+
"version": "1.0.0",
44
"description": "React hooks that built with SendbirdChat SDK",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -34,10 +34,11 @@
3434
},
3535
"homepage": "https://github.com/sendbird/sendbird-uikit-react-native.git#readme",
3636
"publishConfig": {
37-
"registry": "https://registry.npmjs.org/"
37+
"registry": "https://registry.npmjs.org/",
38+
"access": "public"
3839
},
3940
"dependencies": {
40-
"@sendbird/uikit-utils": "0.1.2"
41+
"@sendbird/uikit-utils": "1.0.0"
4142
},
4243
"devDependencies": {
4344
"@types/react": "17.0.2",

packages/uikit-react-native-foundation/CHANGELOG.md

Lines changed: 70 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,74 @@
1-
# Change Log
1+
# Changelog
2+
3+
# [1.0.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.4...v1.0.0) (2022-07-26)
4+
5+
**Note:** Version bump only for package @sendbird/uikit-react-native-foundation
6+
7+
8+
9+
10+
11+
# Changelog
12+
13+
# [1.0.0-rc.4](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.3...v1.0.0-rc.4) (2022-07-26)
14+
15+
**Note:** Version bump only for package @sendbird/uikit-react-native-foundation
16+
17+
18+
19+
20+
21+
# Changelog
22+
23+
# [1.0.0-rc.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2022-07-26)
24+
25+
**Note:** Version bump only for package @sendbird/uikit-react-native-foundation
26+
27+
28+
29+
30+
31+
# Changelog
32+
33+
# [1.0.0-rc.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2022-07-26)
34+
35+
**Note:** Version bump only for package @sendbird/uikit-react-native-foundation
36+
37+
38+
39+
40+
41+
# Changelog
42+
43+
# [1.0.0-rc.1](https://github.com/sendbird/sendbird-uikit-react-native/compare/v1.0.0-rc.0...v1.0.0-rc.1) (2022-07-26)
44+
45+
**Note:** Version bump only for package @sendbird/uikit-react-native-foundation
46+
47+
48+
49+
50+
51+
# Changelog
52+
53+
# [1.0.0-rc.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v0.1.2...v1.0.0-rc.0) (2022-07-26)
54+
55+
56+
### Bug Fixes
57+
58+
* apply strings review ([a4c94e3](https://github.com/sendbird/sendbird-uikit-react-native/commit/a4c94e380f64919f929c9a494e9fcfb6ba1263cf))
59+
* **chat-hooks:** rename module ([7a2c30c](https://github.com/sendbird/sendbird-uikit-react-native/commit/7a2c30cf136883ef551ae59e9cc848fea81088ff))
60+
* improve stability ([1698bc1](https://github.com/sendbird/sendbird-uikit-react-native/commit/1698bc19b0c1cc3641c27ef627475ea0355e4e9a))
61+
* improve stability ([72648d1](https://github.com/sendbird/sendbird-uikit-react-native/commit/72648d14e00a01b4c856e7b794a6a22ee7e5b9d7))
62+
63+
64+
### Features
65+
66+
* added status component to GroupChannelList ([8ee6ae5](https://github.com/sendbird/sendbird-uikit-react-native/commit/8ee6ae5542c81be173c6329ed6efca5aa1aa8364))
67+
* **foundation:** added typography option to themeFactory ([28b47d5](https://github.com/sendbird/sendbird-uikit-react-native/commit/28b47d58ebc83821060f0a091bf80de75d21a62f))
68+
69+
70+
271

3-
All notable changes to this project will be documented in this file.
4-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
572

673
## 0.1.2 (2022-04-26)
774

packages/uikit-react-native-foundation/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-react-native-foundation",
3-
"version": "0.1.2",
3+
"version": "1.0.0",
44
"description": "react-native-uikit",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -34,10 +34,11 @@
3434
},
3535
"homepage": "https://github.com/sendbird/sendbird-uikit-react-native.git#readme",
3636
"publishConfig": {
37-
"registry": "https://registry.npmjs.org/"
37+
"registry": "https://registry.npmjs.org/",
38+
"access": "public"
3839
},
3940
"dependencies": {
40-
"@sendbird/uikit-utils": "0.1.2"
41+
"@sendbird/uikit-utils": "1.0.0"
4142
},
4243
"devDependencies": {
4344
"@types/react": "17.0.2",
@@ -52,8 +53,8 @@
5253
"peerDependencies": {
5354
"react": ">=16.13.1",
5455
"react-native": ">=0.63.3",
55-
"react-native-fast-image": "^8.5.11",
56-
"react-native-safe-area-context": "^3.3.2"
56+
"react-native-fast-image": ">=8.5.11",
57+
"react-native-safe-area-context": ">=3.3.2"
5758
},
5859
"peerDependenciesMeta": {
5960
"react-native-fast-image": {

packages/uikit-react-native-foundation/src/components/Image/Image.fastimage.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import _FastImage, { FastImageProps, ResizeMode, Source } from 'react-native-fast-image';
2+
import type { FastImageProps, ResizeMode, Source } from 'react-native-fast-image';
33

44
import type { SendbirdImageComponent, SendbirdImageProps } from './index';
55

@@ -46,7 +46,11 @@ function convertResizeMode(mode?: SendbirdImageProps['resizeMode']): ResizeMode
4646
}
4747
}
4848

49-
const FastImage = _FastImage as (props: FastImageProps) => JSX.Element;
49+
let FastImage: (props: FastImageProps) => JSX.Element | null = () => null;
50+
51+
try {
52+
FastImage = require('react-native-fast-image') as (props: FastImageProps) => JSX.Element;
53+
} catch {}
5054

5155
const Image_FastImage: SendbirdImageComponent = ({ source, resizeMode, onLoad, onError, style, ...props }) => {
5256
return (

packages/uikit-react-native-foundation/src/components/Image/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ function getImageModule(): SendbirdImageComponent {
1414
const hasFastImage = Boolean(NativeModules.FastImageView);
1515
if (hasFastImage) {
1616
try {
17-
require('react-native-fast-image');
1817
return require('./Image.fastimage').default;
1918
} catch (e) {
2019
return require('./Image.reactnative').default;

0 commit comments

Comments
 (0)