Skip to content

Remove sourceURL(for:) override — superseded by bundleURL() in new architecture#222

Open
christophpurrer wants to merge 1 commit into
react-native-community:mainfrom
christophpurrer:chpurrer/remove-sourceurl-override
Open

Remove sourceURL(for:) override — superseded by bundleURL() in new architecture#222
christophpurrer wants to merge 1 commit into
react-native-community:mainfrom
christophpurrer:chpurrer/remove-sourceurl-override

Conversation

@christophpurrer
Copy link
Copy Markdown

Remove sourceURL(for:) override — superseded by bundleURL() in new architecture

Summary:

The sourceURLForBridge: method will be removed from RCTBridgeDelegate in facebook/react-native#56831 due to the RCT_REMOVE_LEGACY_ARCH clean up. Then the override no longer overrides anything and fails Swift compilation. bundleURL() — already present below — is the replacement API on RCTReactNativeFactoryDelegate. This change depends on facebook/react-native#56974

Changelog:

[IOS][FIXED] Remove legacy architecture sourceURLForBridge from template/ios/HelloWorld/AppDelegate.swift

Test Plan:

CI

…acy arch removal

The sourceURLForBridge: method will be removed from RCTBridgeDelegate in
facebook/react-native#56831 due to the RCT_REMOVE_LEGACY_ARCH
clean up. Then the override no longer overrides anything and
fails Swift compilation. bundleURL() — already present below — is the
replacement API on RCTReactNativeFactoryDelegate.

This change depends on facebook/react-native#56974
@christophpurrer
Copy link
Copy Markdown
Author

CC: @cortinico / @cipolleschi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant