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
and 2. Rocket.Chat.ReactNative/android/app/src/main/java/chat/rocket/reactnative/MainApplication.kt:38:63 Type mismatch: inferred type is ArrayList<ReactPackage!>! but Application! was expected
Code is:
override val reactNativeHost: ReactNativeHost =
object : DefaultReactNativeHost(this) {
// _this = this
override fun getPackages(): List<ReactPackage> =
PackageList(this).packages.apply {
// Packages that cannot be autolinked yet can be added manually here, for example:
add(RNCViewPagerPackage())
add(SSLPinningPackage())
// new RNGestureHandlerPackage()
// add(RNGestureHandlerPackage())
addAll(AdditionalModules().getAdditionalModules(this))
}
override fun getJSIModulePackage(): JSIModulePackage {
return WatermelonDBJSIPackage()
}
override fun getJSMainModuleName(): String = "index"
override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG
override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED
override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED
}
where line addAll(AdditionalModules().getAdditionalModules(this)) was originally addAll(AdditionalModules().getAdditionalModules())
Anyone encounter this when trying to run ./gradlew build??
Thank you
Environment Information:
Rocket.Chat Server Version: irrelevant
Rocket.Chat App Version: 6.12.0
Device Name: AVD Medium Phone API 35-ext13
OS Version:
The text was updated successfully, but these errors were encountered:
Description:
Hello everyone,
I'm trying to build
react-native
app.I'm running into issues with both:
react-native-gesture-handler
- cannot seem to get the import statement:and implementation path:
I'm using
2.14.0
as was described here https://docs.swmansion.com/react-native-gesture-handler/docs/fundamentals/installation/:To use the version of react-native-gesture-handler that is compatible with your Expo project, run npx expo install react-native-gesture-handler
and 2.
Rocket.Chat.ReactNative/android/app/src/main/java/chat/rocket/reactnative/MainApplication.kt:38:63 Type mismatch: inferred type is ArrayList<ReactPackage!>! but Application! was expected
Code is:
where line
addAll(AdditionalModules().getAdditionalModules(this))
was originallyaddAll(AdditionalModules().getAdditionalModules())
Anyone encounter this when trying to run
./gradlew build
??Thank you
Environment Information:
The text was updated successfully, but these errors were encountered: