Skip to content

Commit

Permalink
fix(chat): iOS에서 웹소켓 사용 시 필요로 하는 모듈 누락 해결
Browse files Browse the repository at this point in the history
개요

- iOS에서 웹소켓 사용 시 필요로 하는 모듈인 text-encoding이 누락되어
이를 추가하여 고친다. (이 부분을 제외하면 iOS에서 stompjs 사용 불가)
- React Native 프로젝트에서는 아래 링크에서 말하는대로 이 부분이
필수적으로 필요함

- 추가로, 이전 병합 과정에서 빠진 stompjs와 expo secure storage npm
package를 재추가한다

아래 링크 참고:
https://stomp-js.github.io/workaround/stompjs/rx-stomp/react-native-additional-notes.html
  • Loading branch information
seungholee-dev committed Jul 23, 2024
1 parent b724185 commit 3216f27
Show file tree
Hide file tree
Showing 3 changed files with 780 additions and 384 deletions.
1 change: 1 addition & 0 deletions App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ import ConnectAc32 from "@components/Icon32/ConnectAc32";
import HomeAc32 from "@components/Icon32/HomeAc32";
import CommuAc32 from "@components/Icon32/CommuAc32";
import MyAc32 from "@components/Icon32/MyAc32";
import "text-encoding";

const Tab = createBottomTabNavigator();
const Stack = createNativeStackNavigator();
Expand Down
Loading

0 comments on commit 3216f27

Please sign in to comment.