File tree Expand file tree Collapse file tree 4 files changed +34
-23
lines changed
src/main/java/com/instabugsample Expand file tree Collapse file tree 4 files changed +34
-23
lines changed Original file line number Diff line number Diff line change @@ -123,10 +123,14 @@ android {
123
123
}
124
124
}
125
125
}
126
+ repositories {
127
+ maven { url " https://jitpack.io" }
128
+ }
126
129
}
127
130
128
131
dependencies {
129
132
compile project(' :instabug-reactnative' )
133
+ compile project(' :react-native-dialogs' )
130
134
compile fileTree(dir : " libs" , include : [" *.jar" ])
131
135
compile " com.android.support:appcompat-v7:23.0.1"
132
136
compile " com.facebook.react:react-native:+" // From node_modules
Original file line number Diff line number Diff line change 4
4
import android .util .Log ;
5
5
6
6
import com .facebook .react .ReactApplication ;
7
+ import com .aakashns .reactnativedialogs .ReactNativeDialogsPackage ;
7
8
import com .instabug .reactlibrary .RNInstabugReactnativePackage ;
8
9
import com .facebook .react .ReactInstanceManager ;
9
10
import com .facebook .react .ReactNativeHost ;
@@ -26,7 +27,10 @@ public boolean getUseDeveloperSupport() {
26
27
protected List <ReactPackage > getPackages () {
27
28
return Arrays .<ReactPackage >asList (
28
29
new MainReactPackage (),
29
- new RNInstabugReactnativePackage ("YOUR_ANDROID_APPLICATION_TOKEN" ,MainApplication .this ,"button" )
30
+ new ReactNativeDialogsPackage (),
31
+ new RNInstabugReactnativePackage ("YOUR_ANDROID_APPLICATION_TOKEN" ,
32
+ MainApplication .this ,"button" )
33
+
30
34
);
31
35
}
32
36
};
Original file line number Diff line number Diff line change 1
1
rootProject. name = ' InstabugSample'
2
+ include ' :react-native-dialogs'
3
+ project(' :react-native-dialogs' ). projectDir = new File (rootProject. projectDir, ' ../node_modules/react-native-dialogs/android' )
2
4
include ' :instabug-reactnative'
3
5
project(' :instabug-reactnative' ). projectDir = new File (rootProject. projectDir, ' ../node_modules/instabug-reactnative/android' )
4
6
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " InstabugSample" ,
3
- "version" : " 0.0.1" ,
4
- "private" : true ,
5
- "scripts" : {
6
- "start" : " node_modules/react-native/packager/packager.sh" ,
7
- "test" : " jest"
8
- },
9
- "dependencies" : {
10
- "instabug-reactnative" : " file:../" ,
11
- "react" : " 15.4.2" ,
12
- "react-native" : " ^0.41.2"
13
- },
14
- "devDependencies" : {
15
- "babel-jest" : " 18.0.0" ,
16
- "babel-preset-react-native" : " 1.9.1" ,
17
- "jest" : " 18.1.0" ,
18
- "react-test-renderer" : " 15.4.2"
19
- },
20
- "jest" : {
21
- "preset" : " react-native"
22
- }
23
- }
2
+ "name" : " InstabugSample" ,
3
+ "version" : " 0.0.1" ,
4
+ "private" : true ,
5
+ "scripts" : {
6
+ "start" : " node_modules/react-native/packager/packager.sh" ,
7
+ "test" : " jest"
8
+ },
9
+ "dependencies" : {
10
+ "instabug-reactnative" : " git+https://github.com/Instabug/instabug-reactnative.git#master" ,
11
+ "react" : " 15.4.2" ,
12
+ "react-native" : " ^0.41.2" ,
13
+ "react-native-dialogs" : " 0.0.19"
14
+ },
15
+ "devDependencies" : {
16
+ "babel-jest" : " 18.0.0" ,
17
+ "babel-preset-react-native" : " 1.9.1" ,
18
+ "jest" : " 18.1.0" ,
19
+ "react-test-renderer" : " 15.4.2"
20
+ },
21
+ "jest" : {
22
+ "preset" : " react-native"
23
+ }
24
+ }
You can’t perform that action at this time.
0 commit comments