Skip to content

Commit 514d9b1

Browse files
authored
[expo-go][android] add router module to getModulesMap (expo#42336)
# Why `expo-router` was missing from modules in expo-go on Android # How <!-- How did you build this feature or fix this bug and why? --> # Test Plan <!-- Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction. --> # Checklist <!-- Please check the appropriate items below if they apply to your diff. --> - [ ] I added a `changelog.md` entry and rebuilt the package sources according to [this short guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
1 parent b363309 commit 514d9b1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/expo-go/android/expoview/src/main/java/versioned/host/exp/exponent/ExperiencePackagePicker.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ import expo.modules.notifications.notifications.channels.NotificationChannelMana
5959
import expo.modules.notifications.permissions.NotificationPermissionsModule
6060
import expo.modules.notifications.tokens.PushTokenModule
6161
import expo.modules.print.PrintModule
62+
import expo.modules.router.ExpoRouterModule
6263
import expo.modules.screencapture.ScreenCaptureModule
6364
import expo.modules.screenorientation.ScreenOrientationModule
6465
import expo.modules.sensors.modules.AccelerometerModule
@@ -154,6 +155,7 @@ object ExperiencePackagePicker : ModulesProvider {
154155
ExpoFetchModule::class.java to null,
155156
FontUtilsModule::class.java to null,
156157
ExpoLinkingModule::class.java to null,
158+
ExpoRouterModule::class.java to null,
157159
FileSystemModule::class.java to null,
158160
FileSystemLegacyModule::class.java to null,
159161
FontLoaderModule::class.java to null,

0 commit comments

Comments
 (0)