mirror of
https://github.com/tooot-app/app
synced 2025-01-18 04:09:17 +01:00
Fix Android building crash
https://github.com/software-mansion/react-native-reanimated/issues/3615#issuecomment-1260485861
This commit is contained in:
parent
29d5a1508d
commit
c0798a2e0c
@ -17,9 +17,6 @@ import expo.modules.ReactNativeHostWrapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.facebook.react.bridge.JSIModulePackage; // <- react-native-reanimated-v2
|
||||
import com.swmansion.reanimated.ReanimatedJSIModulePackage; // <- react-native-reanimated-v2
|
||||
|
||||
public class MainApplication extends Application implements ReactApplication {
|
||||
private final ReactNativeHost mReactNativeHost = new ReactNativeHostWrapper(
|
||||
this,
|
||||
@ -51,11 +48,6 @@ public class MainApplication extends Application implements ReactApplication {
|
||||
protected Boolean isHermesEnabled() {
|
||||
return BuildConfig.IS_HERMES_ENABLED;
|
||||
}
|
||||
|
||||
@Override // <- react-native-reanimated-v2
|
||||
protected JSIModulePackage getJSIModulePackage() {
|
||||
return new ReanimatedJSIModulePackage();
|
||||
}
|
||||
});
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user