You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/docs/getting-started/expo.mdx
+63-12Lines changed: 63 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,8 @@ This guide walks you through packaging your Expo React Native app as an **AAR**
14
14
```json
15
15
{
16
16
"plugins": [
17
-
[
18
-
"@callstack/react-native-brownfield",
19
-
{
20
-
"ios": {
21
-
"frameworkName": "BrownfieldLib"
22
-
},
23
-
"android": {
24
-
"moduleName": "brownfieldlib"
25
-
},
26
-
"debug": true
27
-
}
17
+
"@callstack/react-native-brownfield",
28
18
]
29
-
]
30
19
}
31
20
```
32
21
@@ -42,6 +31,8 @@ This guide walks you through packaging your Expo React Native app as an **AAR**
42
31
}
43
32
```
44
33
34
+
> The names `brownfieldlib` or `BrownfieldLib` are the default for AAR and Framework. You can configure different names, see [here](expo#plugin-options).
35
+
45
36
That is pretty much it from the configuration step. Now let's start with generating the AAR and later consuming it.
46
37
47
38
## Android Integration
@@ -164,3 +155,63 @@ let RNView = ReactNativeHostManager.shared.loadView(moduleName: "ExpoRNApp", ini
164
155
You can see the demo integration in [Apple App](https://github.com/callstack/react-native-brownfield/blob/main/apps/AppleApp/Brownfield%20Apple%20App/BrownfieldAppleApp.swift) as well
165
156
166
157
4. Build and install the iOS application 🚀
158
+
159
+
<hr/>
160
+
161
+
## Plugin Options
162
+
163
+
You can pass plugin options through the second item in the `plugins` tuple in `app.json`:
0 commit comments