Skip to content

Conversation

jsierles
Copy link
Contributor

This PR fixes a bug introduced in #8091 which turns of development mode by default when using the new RCTBundleURLProvider.

Test Plan

Install React Native in a fresh app from react-native init.

update AppDelegate.m to use the new default development URL generator:

jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];

Run on iOS device or simulator, and ensure that the dev menu can be pulled up.

@ghost
Copy link

ghost commented Jun 24, 2016

By analyzing the blame information on this pull request, we identified @nathanajah to be a potential reviewer.

@ghost ghost added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jun 24, 2016
@jsierles
Copy link
Contributor Author

Closing in favor of 9845f49. But still think the defaults should be set automatically.

@jsierles jsierles closed this Jun 24, 2016
@jsierles
Copy link
Contributor Author

Reopening, since the referenced commit requires you to set defaults manually. This PR ensures the defaults are set regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant