|
7 | 7 | 
|
8 | 8 | 
|
9 | 9 |
|
10 |
| -- [Project Overview](#project-overview) |
11 |
| -- [API Example](#api-example) |
12 |
| - - [Host Application (`HostApp`)](#host-application-hostapp) |
13 |
| - - [Sandboxed Application (`SandboxApp`)](#sandboxed-application-sandboxapp) |
14 |
| -- [⚠️ Security Considerations](#%EF%B8%8F-security-considerations) |
| 10 | +- [💡 Project Overview](#-project-overview) |
| 11 | +- [📝 API Example](#-api-example) |
| 12 | +- [🎨 Roadmap](#-roadmap) |
| 13 | +- [🔒 Security Considerations](#-security-considerations) |
15 | 14 | - [TurboModules](#turbomodules)
|
16 | 15 | - [Performance](#performance)
|
17 | 16 | - [File System & Storage](#file-system--storage)
|
18 |
| - - [Platform-Specific Considerations](#platform-specific-considerations) |
| 17 | + - [Platform-Specific](#platform-specific-considerations) |
19 | 18 |
|
20 | 19 | `react-native-multinstance` is a library for running multiple, isolated React Native instances within a single application. This allows you to embed third-party or feature-specific "micro-apps" in a sandboxed environment, preventing uncontrolled interference with the main app by providing a clear API for communication (`postMessage`/`onMessage`).
|
21 | 20 |
|
22 |
| -## Project Overview |
| 21 | +## 💡 Project Overview |
23 | 22 |
|
24 | 23 | This project was born from the need to safely run third-party code within a react-native application. The core requirements are:
|
25 | 24 |
|
@@ -56,7 +55,7 @@ To run the examples:
|
56 | 55 | ```
|
57 | 56 |
|
58 | 57 |
|
59 |
| -## API Example |
| 58 | +## 📝 API Example |
60 | 59 |
|
61 | 60 | Here is a brief overview of how to use the library.
|
62 | 61 |
|
@@ -130,7 +129,29 @@ function SandboxApp() {
|
130 | 129 | AppRegistry.registerComponent("SandboxApp", () => App);
|
131 | 130 | ```
|
132 | 131 |
|
133 |
| -## ⚠️ Security Considerations |
| 132 | +## 🎨 Roadmap |
| 133 | +
|
| 134 | +We're actively working on expanding the capabilities of `react-native-multinstance`. Here's what's planned: |
| 135 | +
|
| 136 | +- [ ] **Android Support** - Full cross-platform compatibility |
| 137 | +- [ ] **Inter-Sandbox Communication** - Secure communication between sandbox instances |
| 138 | +- [ ] **[RE.Pack](https://github.com/callstack/repack) Integration** - Advanced bundling and module federation |
| 139 | + - Hot-reloading for sandbox instances in development |
| 140 | + - Dynamic bundle fetching from remote sources |
| 141 | + - Optimized bundle splitting for sandbox applications |
| 142 | + - Module federation capabilities |
| 143 | +- [ ] **Enhanced Security Features** - Advanced security mechanisms |
| 144 | + - Custom permission system for sandbox instances |
| 145 | + - Resource usage limits and monitoring |
| 146 | + - Sandbox capability restrictions |
| 147 | +- [ ] **Storage Isolation** - Secure data partitioning |
| 148 | + - Per-sandbox AsyncStorage isolation |
| 149 | + - Secure file system access controls |
| 150 | +- [ ] **Developer Tools** - Enhanced debugging and development experience |
| 151 | +
|
| 152 | +Contributions and feedback on these roadmap items are welcome! Please check our [issues](https://github.com/your-org/react-native-multinstance/issues) for detailed discussions on each feature. |
| 153 | +
|
| 154 | +## 🔒 Security Considerations |
134 | 155 |
|
135 | 156 | ### TurboModules
|
136 | 157 |
|
|
0 commit comments