Skip to content

Commit 3d80e80

Browse files
committed
docs: use warning
1 parent f8ecf64 commit 3d80e80

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/docs/docs/getting-started/expo.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ override fun onConfigurationChanged(newConfig: Configuration) {
8888

8989
> You can see the demo integration in [Android App](https://github.com/callstack/react-native-brownfield/blob/main/apps/AndroidApp/app/src/main/java/com/callstack/brownfield/android/example/MainActivity.kt) as well
9090
91-
> Using the ComponentActivity does not work with Expo apps as Expo needs an instance of AppCompatActivity. There is a hard type assertion [here](https://github.com/expo/expo/blob/a2a3c04e5d946182b5aa9e312ef767879119c4bb/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/AppContext.kt#L292)
91+
:::warning
92+
Using the ComponentActivity does not work with Expo Apps as Expo needs an instance of AppCompatActivity. There is a hard type assertion [here](https://github.com/expo/expo/blob/a2a3c04e5d946182b5aa9e312ef767879119c4bb/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/AppContext.kt#L292)
93+
:::
9294

9395
4. Build and install the android application 🚀
9496

0 commit comments

Comments
 (0)