cocoapods-fix-react-native 2018.04.01.19 → 2018.04.02.00
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-fix-react-native/versions/0_54_4.rb +10 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea47eb9928efdf48b870f9844fecafe36c6689a95fc8397d0aedd17d87c079a1
|
4
|
+
data.tar.gz: c76e25b867f0e5be2acfddd4a4a47fbb4543d3d3073f8ae6456af6a812091dc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e071b8ea11c49245cb3be0e31b2e3016def3df400acefb1784c2cf8de55ca7ef8de57bf284c1bf2b3978e73e04e21cb00dac76eba4efd348f96830f6491d2833
|
7
|
+
data.tar.gz: 8e9c4689d29b6cbbcd791d01073932c14be40cad6a391d5cb9ad2742f3d2ac20464e9a3ffbe6da4b9840c2d1dc06af767ad70618ceef559ad44c862669fccd31
|
@@ -84,11 +84,20 @@ edit_pod_file animation_view_file, animation_view_old_code, animation_view_new_c
|
|
84
84
|
|
85
85
|
# https://github.com/facebook/react-native/issues/13198
|
86
86
|
# Only needed when you have the DevSupport subspec
|
87
|
-
|
87
|
+
has_dev_support = File.exist?(File.join($root, 'Libraries/WebSocket/RCTReconnectingWebSocket.m'))
|
88
|
+
|
89
|
+
if has_dev_support
|
90
|
+
# Move Fishhook to be based on RN's imports
|
88
91
|
websocket = 'Libraries/WebSocket/RCTReconnectingWebSocket.m'
|
89
92
|
websocket_old_code = 'import <fishhook/fishhook.h>'
|
90
93
|
websocket_new_code = 'import <React/fishhook.h>'
|
91
94
|
edit_pod_file websocket, websocket_old_code, websocket_new_code
|
95
|
+
else
|
96
|
+
# There's a link in the DevSettings to dev-only import
|
97
|
+
dev_settings = 'React/Modules/RCTDevSettings.mm'
|
98
|
+
dev_settings_old_code = '#import "RCTPackagerClient.h"'
|
99
|
+
dev_settings_new_code = '//#import //"RCTPackagerClient.h"'
|
100
|
+
edit_pod_file dev_settings, dev_settings_old_code, dev_settings_new_code
|
92
101
|
end
|
93
102
|
|
94
103
|
# Newer build of Xcode don't allow you to set a non-obj to be strong,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-fix-react-native
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2018.04.
|
4
|
+
version: 2018.04.02.00
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orta Therox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|