Skip to content

Commit

Permalink
chore: revert bridgeless config on example apps
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRogue76 committed Feb 4, 2024
1 parent 974be5d commit 155cbc7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class MainApplication : Application(), ReactApplication {
SoLoader.init(this, false)
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
// If you opted-in for the New Architecture, we load the native entry point for this app.
load(bridgelessEnabled = true)
load()
}
ReactNativeFlipper.initializeFlipper(this, reactNativeHost.reactInstanceManager)
}
Expand Down
12 changes: 2 additions & 10 deletions apps/fabric/ios/example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -923,11 +923,7 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DRN_FABRIC_ENABLED",
);
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
"-ld_classic",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down Expand Up @@ -1003,11 +999,7 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DRN_FABRIC_ENABLED",
);
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
"-ld_classic",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down
5 changes: 0 additions & 5 deletions apps/fabric/ios/example/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
return [self getBundleURL];
}

- (BOOL)bridgelessEnabled
{
return YES;
}

- (NSURL *)getBundleURL
{
#if DEBUG
Expand Down
9 changes: 3 additions & 6 deletions packages/core/src/specs/LottieAnimationViewNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,13 @@ export interface NativeProps extends ViewProps {
textFiltersAndroid?: ReadonlyArray<TextFilterAndroidStruct>;
textFiltersIOS?: ReadonlyArray<TextFilterIOSStruct>;
onAnimationFinish?: BubblingEventHandler<
OnAnimationFinishEvent,
'onAnimationFinish'
OnAnimationFinishEvent
>;
onAnimationFailure?: BubblingEventHandler<
AnimationFailureEvent,
'onAnimationFailure'
AnimationFailureEvent
>;
onAnimationLoaded?: BubblingEventHandler<
AnimationLoadedEvent,
'onAnimationLoaded'
AnimationLoadedEvent
>;
}

Expand Down

0 comments on commit 155cbc7

Please sign in to comment.