downgrade React Native to 0.53.3

This commit is contained in:
Roman Volosovskyi 2018-07-02 07:33:15 +03:00
parent 763b9f006e
commit f74212d9cf
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
4 changed files with 2477 additions and 2878 deletions

5336
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -34,7 +34,7 @@
"re-natal": "0.8.1", "re-natal": "0.8.1",
"react": "16.2.0", "react": "16.2.0",
"react-dom": "16.2.0", "react-dom": "16.2.0",
"react-native": "github:status-im/react-native#v0.55.4", "react-native": "github:status-im/react-native#status-0.53.3",
"react-native-background-timer": "2.0.0", "react-native-background-timer": "2.0.0",
"react-native-camera": "0.10.0", "react-native-camera": "0.10.0",
"react-native-config": "0.9.0", "react-native-config": "0.9.0",

View File

@ -246,9 +246,9 @@ static UIColor *defaultPlaceholderColor()
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender - (BOOL)canPerformAction:(SEL)action withSender:(id)sender
{ {
if (_contextMenuHidden) { /*if (_contextMenuHidden) {
return NO; return NO;
} }*/
return [super canPerformAction:action withSender:sender]; return [super canPerformAction:action withSender:sender];
} }

View File

@ -39,14 +39,11 @@
:headers {"Cache-Control" "no-cache"} :headers {"Cache-Control" "no-cache"}
:timeout (or timeout-ms http-request-default-timeout-ms)})) :timeout (or timeout-ms http-request-default-timeout-ms)}))
(.then (fn [response] (.then (fn [response]
(-> (let [ok? (.-ok response)
(.text response) ok?' (if valid-response?
(.then (fn [response-body] (and ok? (valid-response? response))
(let [ok? (.-ok response) ok?)]
ok?' (if valid-response? [(.-_bodyText response) ok?'])))
(and ok? (valid-response? response))
ok?)]
[response-body ok?']))))))
(.then (fn [[response ok?]] (.then (fn [[response ok?]]
(cond (cond
(and on-success ok?) (and on-success ok?)