From efef0749a5a4b0cb08caacae67681e4c8422e406 Mon Sep 17 00:00:00 2001 From: shinhong_park Date: Wed, 6 Dec 2023 00:09:28 +0900 Subject: [PATCH] =?UTF-8?q?RN=20=ED=94=BC=EC=B3=90=20=ED=94=8C=EB=9E=98?= =?UTF-8?q?=EA=B7=B8=20=EC=B6=94=EA=B0=80=20(#269)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SNUTT-2022/SNUTT/Views/Scenes/FriendsScene.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SNUTT-2022/SNUTT/Views/Scenes/FriendsScene.swift b/SNUTT-2022/SNUTT/Views/Scenes/FriendsScene.swift index ed457784..e7315d33 100644 --- a/SNUTT-2022/SNUTT/Views/Scenes/FriendsScene.swift +++ b/SNUTT-2022/SNUTT/Views/Scenes/FriendsScene.swift @@ -41,11 +41,16 @@ struct RNFriendsView: UIViewRepresentable { let colorScheme: ColorScheme private let moduleName = "friends" + private enum RNFeature: String, CaseIterable { + case ASYNC_STORAGE + } + private var initialProps: [String: Any] { var props: [String: Any] = AppMetadata.asDictionary() props["x-access-token"] = accessToken props["theme"] = colorScheme.description props["allowFontScaling"] = false + props["feature"] = RNFeature.allCases.map { $0.rawValue } return props }