๐Ÿ“ฆ manideepk90 / react-native-hyperswitch-sdk

๐Ÿ“„ techContext.md ยท 29 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29# Tech Context

## Technologies
- **React Native**: Version 0.81.5 (New Architecture enabled).
- **React Native Web**: Version 0.21.2 (Web support).
- **Android**:
    -   Language: Kotlin (and Java for generated code).
    -   Native Build: CMake / NDK.
    -   Build System: Gradle.
- **iOS**:
    -   Language: Swift / Objective-C.
    -   Dependency Manager: CocoaPods.
- **Web**:
    -   Bundler: Webpack 5.
    -   Transpiler: Babel (babel-loader).

## Dependencies
- `react-native`: The core framework.
- `react-native-web`: Web compatibility layer.
- `react-native-safe-area-context`: Handling safe areas (Autolinked TurboModule).
- `react-native-lib-demo`: Local demo library (Autolinked TurboModule).
- `react-native-gradle-plugin`: Plugin for building RN apps/libraries (Patched for library mode).
- `webpack`, `webpack-cli`, `babel-loader`: Web build tools.

## Development Setup
- **Codegen**: Used to generate native interfaces from TypeScript specs.
- **CMake**: Used to compile the C++ side of the New Architecture modules.
- **Autolinking**: Automates the linking of native dependencies.