Skip to content

Commit 41c9af6

Browse files
Remove react-native-dialogs plugin from the sample app
1 parent ac12541 commit 41c9af6

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

InstabugSample/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ android {
130130

131131
dependencies {
132132
compile project(':instabug-reactnative')
133-
compile project(':react-native-dialogs')
134133
compile fileTree(dir: "libs", include: ["*.jar"])
135134
compile "com.android.support:appcompat-v7:23.0.1"
136135
compile "com.facebook.react:react-native:+" // From node_modules

InstabugSample/android/app/src/main/java/com/instabugsample/MainApplication.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import com.facebook.react.ReactApplication;
77
import com.instabug.reactlibrary.RNInstabugReactnativePackage;
8-
import com.aakashns.reactnativedialogs.ReactNativeDialogsPackage;
98
import com.facebook.react.ReactInstanceManager;
109
import com.facebook.react.ReactNativeHost;
1110
import com.facebook.react.ReactPackage;
@@ -27,8 +26,7 @@ public boolean getUseDeveloperSupport() {
2726
protected List<ReactPackage> getPackages() {
2827
return Arrays.<ReactPackage>asList(
2928
new MainReactPackage(),
30-
new RNInstabugReactnativePackage("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this,"shake","#1D82DC"),
31-
new ReactNativeDialogsPackage()
29+
new RNInstabugReactnativePackage("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this,"shake","#1D82DC")
3230
);
3331
}
3432
};
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
rootProject.name = 'InstabugSample'
22
include ':instabug-reactnative'
33
project(':instabug-reactnative').projectDir = new File(rootProject.projectDir, '../node_modules/instabug-reactnative/android')
4-
include ':react-native-dialogs'
5-
project(':react-native-dialogs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-dialogs/android')
64

75
include ':app'

InstabugSample/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"dependencies": {
1010
"instabug-reactnative": "file:..",
1111
"react": "15.4.2",
12-
"react-native": "^0.41.2",
13-
"react-native-dialogs": "0.0.19"
12+
"react-native": "^0.41.2"
1413
},
1514
"devDependencies": {
1615
"babel-jest": "18.0.0",

0 commit comments

Comments
 (0)