mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00:00
[FBRhinos] add sms cmd for device configuration
This commit is contained in:
parent
e63bfae8f6
commit
27252e611c
@ -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;
|
||||
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user