Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set defaults in RCTBundleURLProvider so development mode is the default #8404

Closed
wants to merge 3 commits into from

Conversation

jsierles
Copy link
Contributor

@jsierles jsierles commented Jun 24, 2016

This PR follows up from #8400 and 9845f49.

Sets URL parameters for ensuring dev mode is enabled by default.

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 and @shaneosullivan to be potential reviewers.

@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 jsierles force-pushed the fix-dev-mode-default-false branch from 84f3ce3 to 490d42a Compare June 26, 2016 10:39
@javache
Copy link
Member

javache commented Jun 28, 2016

@nathanajah is looking into changing this so we apply the defaults in the constructor.

We should also get rid of the dispatch_once.

@jsierles
Copy link
Contributor Author

jsierles commented Jul 2, 2016

@javache Sounds good - would be good to get this into 0.29 to avoid confusion on the issue:

#8333 (comment)

@ghost ghost added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 12, 2016
@ghost
Copy link

ghost commented Jul 27, 2016

It's been a while since the last commit was reviewed and the labels show this pull request needs review. Based on the blame information for the files in this pull request we identified @nathanajah as a potential reviewer. Could you take a look please or cc someone with more context?

@ghost ghost added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 27, 2016
@javache
Copy link
Member

javache commented Aug 3, 2016

I think this has been fixed already, right?

@javache javache closed this Aug 3, 2016
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.

2 participants