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 프로젝트에서는 아래 링크에서 말하는대로 이 부분이
필수적으로 필요함

아래 링크 참고:
https://stomp-js.github.io/workaround/stompjs/rx-stomp/react-native-additional-notes.html
  • Loading branch information
seungholee-dev committed Jul 5, 2024
1 parent 3049ba1 commit d8175cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ import MyAc32 from "@components/Icon32/MyAc32";
import PostModifyPage from "@pages/community/PostModifyPage";
import MyPostPage from "@pages/member/MyPostPage";
import GroupListPage from "@pages/member/GroupListPage";
import "text-encoding";

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

0 comments on commit d8175cf

Please sign in to comment.