mirror of
				https://github.com/tooot-app/app
				synced 2025-06-05 22:19:13 +02:00 
			
		
		
		
	Fix Android building crash
https://github.com/software-mansion/react-native-reanimated/issues/3615#issuecomment-1260485861
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user