[FBRhinos] add sms cmd for device configuration

This commit is contained in:
Spencer Ahrens 2015-04-22 16:16:48 -07:00
parent e63bfae8f6
commit 27252e611c
2 changed files with 3 additions and 2 deletions

View File

@ -92,7 +92,7 @@ static const char *__rct_import_##module##_##method##__ = #module"."#method;
/**
* URL of the script that was loaded into the bridge.
*/
@property (nonatomic, copy, readonly) NSURL *bundleURL;
@property (nonatomic, copy) NSURL *bundleURL;
@property (nonatomic, strong) Class executorClass;

View File

@ -85,8 +85,9 @@
// Handle general request errors
if (error) {
if ([[error domain] isEqualToString:NSURLErrorDomain]) {
NSString *desc = [@"Could not connect to development server. Ensure node server is running and available on the same network - run 'npm start' from react-native root\n\nURL: " stringByAppendingString:[scriptURL absoluteString]];
NSDictionary *userInfo = @{
NSLocalizedDescriptionKey: @"Could not connect to development server. Ensure node server is running - run 'npm start' from ReactKit root",
NSLocalizedDescriptionKey: desc,
NSLocalizedFailureReasonErrorKey: [error localizedDescription],
NSUnderlyingErrorKey: error,
};