mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-03 06:30:41 +00:00
Remove react-native-dialogs plugin from the sample app
This commit is contained in:
parent
ac12541a7f
commit
41c9af6727
@ -130,7 +130,6 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':instabug-reactnative')
|
compile project(':instabug-reactnative')
|
||||||
compile project(':react-native-dialogs')
|
|
||||||
compile fileTree(dir: "libs", include: ["*.jar"])
|
compile fileTree(dir: "libs", include: ["*.jar"])
|
||||||
compile "com.android.support:appcompat-v7:23.0.1"
|
compile "com.android.support:appcompat-v7:23.0.1"
|
||||||
compile "com.facebook.react:react-native:+" // From node_modules
|
compile "com.facebook.react:react-native:+" // From node_modules
|
||||||
|
@ -5,7 +5,6 @@ import android.util.Log;
|
|||||||
|
|
||||||
import com.facebook.react.ReactApplication;
|
import com.facebook.react.ReactApplication;
|
||||||
import com.instabug.reactlibrary.RNInstabugReactnativePackage;
|
import com.instabug.reactlibrary.RNInstabugReactnativePackage;
|
||||||
import com.aakashns.reactnativedialogs.ReactNativeDialogsPackage;
|
|
||||||
import com.facebook.react.ReactInstanceManager;
|
import com.facebook.react.ReactInstanceManager;
|
||||||
import com.facebook.react.ReactNativeHost;
|
import com.facebook.react.ReactNativeHost;
|
||||||
import com.facebook.react.ReactPackage;
|
import com.facebook.react.ReactPackage;
|
||||||
@ -27,8 +26,7 @@ public class MainApplication extends Application implements ReactApplication {
|
|||||||
protected List<ReactPackage> getPackages() {
|
protected List<ReactPackage> getPackages() {
|
||||||
return Arrays.<ReactPackage>asList(
|
return Arrays.<ReactPackage>asList(
|
||||||
new MainReactPackage(),
|
new MainReactPackage(),
|
||||||
new RNInstabugReactnativePackage("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this,"shake","#1D82DC"),
|
new RNInstabugReactnativePackage("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this,"shake","#1D82DC")
|
||||||
new ReactNativeDialogsPackage()
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
rootProject.name = 'InstabugSample'
|
rootProject.name = 'InstabugSample'
|
||||||
include ':instabug-reactnative'
|
include ':instabug-reactnative'
|
||||||
project(':instabug-reactnative').projectDir = new File(rootProject.projectDir, '../node_modules/instabug-reactnative/android')
|
project(':instabug-reactnative').projectDir = new File(rootProject.projectDir, '../node_modules/instabug-reactnative/android')
|
||||||
include ':react-native-dialogs'
|
|
||||||
project(':react-native-dialogs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-dialogs/android')
|
|
||||||
|
|
||||||
include ':app'
|
include ':app'
|
||||||
|
@ -9,8 +9,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"instabug-reactnative": "file:..",
|
"instabug-reactnative": "file:..",
|
||||||
"react": "15.4.2",
|
"react": "15.4.2",
|
||||||
"react-native": "^0.41.2",
|
"react-native": "^0.41.2"
|
||||||
"react-native-dialogs": "0.0.19"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-jest": "18.0.0",
|
"babel-jest": "18.0.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user