Skip to content

Commit efef074

Browse files
authored
RN 피쳐 플래그 추가 (#269)
1 parent 1cd339f commit efef074

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SNUTT-2022/SNUTT/Views/Scenes/FriendsScene.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,16 @@ struct RNFriendsView: UIViewRepresentable {
4141
let colorScheme: ColorScheme
4242
private let moduleName = "friends"
4343

44+
private enum RNFeature: String, CaseIterable {
45+
case ASYNC_STORAGE
46+
}
47+
4448
private var initialProps: [String: Any] {
4549
var props: [String: Any] = AppMetadata.asDictionary()
4650
props["x-access-token"] = accessToken
4751
props["theme"] = colorScheme.description
4852
props["allowFontScaling"] = false
53+
props["feature"] = RNFeature.allCases.map { $0.rawValue }
4954
return props
5055
}
5156

0 commit comments

Comments
 (0)