Skip to content

Commit ea91316

Browse files
author
Kashish Grover
committed
Integrate reactotron
1 parent c7143bb commit ea91316

File tree

5 files changed

+312
-4
lines changed

5 files changed

+312
-4
lines changed

App.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { StyleSheet, SafeAreaView, TouchableOpacity } from 'react-native';
33
import MyStatusBar from './src/components/MyStatusBar';
44
import RootNavigation from './src/navigation/RootNavigation';
55
import color from './src/theme/color';
6+
import './ReactotronConfig';
67

78
const showApiCalls = () => {
89
const baseUrl = 'http://www.mocky.io/';

ReactotronConfig.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import Reactotron from 'reactotron-react-native';
2+
3+
Reactotron
4+
.configure() // controls connection & communication settings
5+
.useReactNative() // add all built-in react native plugins
6+
.connect(); // let's connect!

ios/ReactNativeAdvancedWorkshop/Images.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
22
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"size" : "20x20",
6+
"scale" : "2x"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"size" : "20x20",
11+
"scale" : "3x"
12+
},
313
{
414
"idiom" : "iphone",
515
"size" : "29x29",
@@ -29,6 +39,11 @@
2939
"idiom" : "iphone",
3040
"size" : "60x60",
3141
"scale" : "3x"
42+
},
43+
{
44+
"idiom" : "ios-marketing",
45+
"size" : "1024x1024",
46+
"scale" : "1x"
3247
}
3348
],
3449
"info" : {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"eslint-plugin-jsx-a11y": "6.1.1",
2828
"eslint-plugin-react": "7.11.1",
2929
"jest": "23.5.0",
30-
"react-test-renderer": "16.4.2"
30+
"react-test-renderer": "16.4.2",
31+
"reactotron-react-native": "2.1.0"
3132
},
3233
"jest": {
3334
"preset": "react-native"

0 commit comments

Comments
 (0)