mirror of
https://github.com/status-im/status-react.git
synced 2025-01-15 05:24:37 +00:00
Remove instabug
This commit is contained in:
parent
720a65e3ab
commit
9629983f7f
2
.env
2
.env
@ -7,9 +7,7 @@ RN_BRIDGE_THRESHOLD_WARNINGS=0
|
||||
POW_TARGET=0.002
|
||||
POW_TIME=1
|
||||
DEFAULT_NETWORK=mainnet_rpc
|
||||
INSTABUG_TOKEN=758630ed52864cbad9c5eeeac596c60c
|
||||
DEBUG_WEBVIEW=1
|
||||
INSTABUG_SURVEYS=1
|
||||
GROUP_CHATS_ENABLED=1
|
||||
CACHED_WEBVIEWS_ENABLED=1
|
||||
EXTENSIONS=1
|
||||
|
1
.env.e2e
1
.env.e2e
@ -6,7 +6,6 @@ RN_BRIDGE_THRESHOLD_WARNINGS=0
|
||||
POW_TARGET=0.002
|
||||
POW_TIME=1
|
||||
DEFAULT_NETWORK=testnet_rpc
|
||||
INSTABUG_TOKEN=758630ed52864cbad9c5eeeac596c60c
|
||||
DEBUG_WEBVIEW=1
|
||||
GROUP_CHATS_ENABLED=0
|
||||
EXTENSIONS=1
|
||||
|
@ -7,7 +7,6 @@ RN_BRIDGE_THRESHOLD_WARNINGS=0
|
||||
POW_TARGET=0.002
|
||||
POW_TIME=1
|
||||
DEFAULT_NETWORK=mainnet_rpc
|
||||
INSTABUG_TOKEN=758630ed52864cbad9c5eeeac596c60c
|
||||
DEBUG_WEBVIEW=1
|
||||
GROUP_CHATS_ENABLED=1
|
||||
MAINNET_WARNING_ENABLED=1
|
||||
|
@ -7,7 +7,6 @@ RN_BRIDGE_THRESHOLD_WARNINGS=0
|
||||
POW_TARGET=0.002
|
||||
POW_TIME=1
|
||||
DEFAULT_NETWORK=mainnet_rpc
|
||||
INSTABUG_TOKEN=758630ed52864cbad9c5eeeac596c60c
|
||||
DEBUG_WEBVIEW=1
|
||||
GROUP_CHATS_ENABLED=0
|
||||
MAINNET_WARNING_ENABLED=1
|
||||
|
@ -6,9 +6,7 @@ RN_BRIDGE_THRESHOLD_WARNINGS=0
|
||||
POW_TARGET=0.002
|
||||
POW_TIME=1
|
||||
DEFAULT_NETWORK=mainnet_rpc
|
||||
INSTABUG_TOKEN=758630ed52864cbad9c5eeeac596c60c
|
||||
DEBUG_WEBVIEW=1
|
||||
INSTABUG_SURVEYS=1
|
||||
GROUP_CHATS_ENABLED=0
|
||||
MAINNET_WARNING_ENABLED=1
|
||||
EXTENSIONS=1
|
||||
|
@ -8,7 +8,6 @@ RN_BRIDGE_THRESHOLD_WARNINGS=0
|
||||
POW_TARGET=0.002
|
||||
POW_TIME=1
|
||||
DEFAULT_NETWORK=mainnet_rpc
|
||||
INSTABUG_TOKEN=758630ed52864cbad9c5eeeac596c60c
|
||||
DEBUG_WEBVIEW=0
|
||||
GROUP_CHATS_ENABLED=0
|
||||
MAINNET_WARNING_ENABLED=1
|
||||
|
@ -224,13 +224,12 @@ dependencies {
|
||||
implementation project(':react-native-svg')
|
||||
implementation 'com.android.support:multidex:1.0.2'
|
||||
implementation project(':react-native-http-bridge')
|
||||
implementation project(':instabug-reactnative')
|
||||
implementation project(':react-native-splash-screen')
|
||||
implementation project(':react-native-image-resizer')
|
||||
implementation project(':react-native-dialogs')
|
||||
implementation project(':realm')
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation "com.android.support:appcompat-v7:26.1.0"
|
||||
implementation "com.android.support:appcompat-v7:27.1.0"
|
||||
// Force using exact RN version instead of relying on gradle dependency resolution
|
||||
// https://docs.gradle.org/current/userguide/introduction_dependency_management.html#sec:dependency_resolution
|
||||
//compile ("com.facebook.react:react-native:0.55.4") { force = true } // From node_modules
|
||||
@ -253,7 +252,6 @@ dependencies {
|
||||
implementation 'com.google.firebase:firebase-core:16.0.3' //this decides your firebase SDK version
|
||||
implementation 'com.google.firebase:firebase-messaging:17.1.0'
|
||||
implementation project(':react-native-keychain')
|
||||
implementation project(':instabug-reactnative')
|
||||
|
||||
compile 'com.github.status-im:function:0.0.1'
|
||||
implementation fileTree(dir: "node_modules/realm/android/libs", include: ["*.jar"])
|
||||
|
@ -21,8 +21,6 @@
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||
|
||||
<!-- these permissions should be removed -->
|
||||
<!-- RECORD_AUDIO is pulled in by instabug-reactnative, not needed for status-react -->
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove"/>
|
||||
<!-- React Native unnecessary permissions (https://github.com/facebook/react-native/issues/5886) -->
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove"/>
|
||||
|
||||
|
@ -23,7 +23,6 @@ import android.os.Bundle;
|
||||
import com.facebook.react.ReactActivity;
|
||||
import com.facebook.react.modules.core.PermissionListener;
|
||||
import org.devio.rn.splashscreen.SplashScreen;
|
||||
import com.instabug.library.Instabug;
|
||||
|
||||
import java.util.Properties;
|
||||
import im.status.ethereum.module.StatusThreadPoolExecutor;
|
||||
@ -115,8 +114,6 @@ public class MainActivity extends ReactActivity
|
||||
SplashScreen.show(this, true);
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Instabug.setIntroMessageEnabled(false);
|
||||
|
||||
if (!shouldShowRootedNotification()) {
|
||||
configureStatus();
|
||||
} else {
|
||||
|
@ -9,7 +9,6 @@ import io.invertase.firebase.RNFirebasePackage;
|
||||
import io.invertase.firebase.messaging.RNFirebaseMessagingPackage;
|
||||
import io.invertase.firebase.notifications.RNFirebaseNotificationsPackage;
|
||||
import net.rhogan.rnsecurerandom.RNSecureRandomPackage;
|
||||
import com.instabug.reactlibrary.RNInstabugReactnativePackage;
|
||||
import com.ocetnik.timer.BackgroundTimerPackage;
|
||||
import com.horcrux.svg.SvgPackage;
|
||||
import com.lugg.ReactNativeConfig.ReactNativeConfigPackage;
|
||||
@ -76,14 +75,7 @@ public class MainApplication extends MultiDexApplication implements ReactApplica
|
||||
new PickerPackage(),
|
||||
new WebViewBridgePackage(webViewDebugEnabled, callRPC),
|
||||
new ReactNativeConfigPackage(),
|
||||
new KeychainPackage(),
|
||||
new RNInstabugReactnativePackage.Builder(BuildConfig.INSTABUG_TOKEN,MainApplication.this)
|
||||
.setInvocationEvent("shake")
|
||||
.setPrimaryColor("#1D82DC")
|
||||
.setFloatingEdge("left")
|
||||
.setFloatingButtonOffsetFromTop(250)
|
||||
.build()
|
||||
));
|
||||
new KeychainPackage()));
|
||||
|
||||
return packages;
|
||||
}
|
||||
|
@ -5,8 +5,6 @@ include ':react-native-firebase'
|
||||
project(':react-native-firebase').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-firebase/android')
|
||||
include ':react-native-securerandom'
|
||||
project(':react-native-securerandom').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-securerandom/android')
|
||||
include ':instabug-reactnative'
|
||||
project(':instabug-reactnative').projectDir = new File(rootProject.projectDir, '../node_modules/instabug-reactnative/android')
|
||||
include ':react-native-background-timer'
|
||||
project(':react-native-background-timer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-background-timer/android')
|
||||
include ':react-native-svg'
|
||||
@ -14,8 +12,6 @@ project(':react-native-svg').projectDir = new File(rootProject.projectDir, '../n
|
||||
include ':app'
|
||||
include ':react-native-http-bridge'
|
||||
project(':react-native-http-bridge').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-http-bridge/android')
|
||||
include ':instabug-reactnative'
|
||||
project(':instabug-reactnative').projectDir = new File(rootProject.projectDir, '../node_modules/instabug-reactnative/android')
|
||||
include ':react-native-splash-screen'
|
||||
project(':react-native-splash-screen').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-splash-screen/android')
|
||||
include ':react-native-image-resizer'
|
||||
|
@ -24,7 +24,6 @@
|
||||
"web3"
|
||||
"web3-utils"
|
||||
"chance"
|
||||
"instabug-reactnative"
|
||||
"react-native-http-bridge"
|
||||
"emojilib"
|
||||
"eth-phishing-detect"
|
||||
|
@ -7,7 +7,6 @@
|
||||
"modules": [
|
||||
"react-native-image-resizer",
|
||||
"react-native-camera",
|
||||
"instabug-reactnative",
|
||||
"nfc-react-native",
|
||||
"react-native-background-timer"
|
||||
]
|
||||
@ -17,7 +16,6 @@
|
||||
"modules": [
|
||||
"react-native-image-resizer",
|
||||
"react-native-camera",
|
||||
"instabug-reactnative",
|
||||
"nfc-react-native",
|
||||
"react-native-background-timer"
|
||||
]
|
||||
|
5
desktop_files/package-lock.json
generated
5
desktop_files/package-lock.json
generated
@ -7146,11 +7146,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"instabug-reactnative": {
|
||||
"version": "2.12.0",
|
||||
"resolved": "https://registry.npmjs.org/instabug-reactnative/-/instabug-reactnative-2.12.0.tgz",
|
||||
"integrity": "sha512-aD2JLofdXfZWvlcg3t3lEoUM+HN7qLaKry68Ypjuh+cFGCXtblbKz4ozEfEFBw4rvEm31s8BSd1e/aFiHPXBmQ=="
|
||||
},
|
||||
"invariant": {
|
||||
"version": "2.2.4",
|
||||
"resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
|
||||
|
@ -44,7 +44,6 @@
|
||||
"google-breakpad": "git+https://github.com/status-im/google-breakpad.git",
|
||||
"homoglyph-finder": "1.1.1",
|
||||
"identicon.js": "github:status-im/identicon.js",
|
||||
"instabug-reactnative": "2.12.0",
|
||||
"js-sha3": "^0.8.0",
|
||||
"level-filesystem": "1.2.0",
|
||||
"metro": "^0.38.1",
|
||||
|
@ -27,17 +27,13 @@
|
||||
213311F38CA74CE280FD09AD /* libRNI18n.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 52F6ED6465184513A082652B /* libRNI18n.a */; };
|
||||
22118DE1207A419FBFE7B62D /* libRealmReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CD48A32459B64E96843BB238 /* libRealmReact.a */; };
|
||||
25DC9C9DC25846BD8D084888 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B9A886A2CB448B1ABA0EB62 /* libc++.tbd */; };
|
||||
3A8BF31C42291E324219071C /* InstabugCore.framework in Embed Instabug Framework */ = {isa = PBXBuildFile; fileRef = EA36FD18BC2ECACF0A8B83DE /* InstabugCore.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
||||
3E15DFEC1F6F4D7CAE088F49 /* libTcpSockets.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C2A4E93F6B154AEFA3485B45 /* libTcpSockets.a */; };
|
||||
475D202F20B7450D00879A77 /* libRNFirebase.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 475D1FC020B7413500879A77 /* libRNFirebase.a */; };
|
||||
4C16DE0C1F89508700AA10DB /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C16DE0B1F89508700AA10DB /* JavaScriptCore.framework */; };
|
||||
4CA4DA1B206D105D006A98B0 /* libRNInstabug.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9E3F1C121DDAE781005E4779 /* libRNInstabug.a */; };
|
||||
63AE4174241B852A045FAE1F /* InstabugCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EA36FD18BC2ECACF0A8B83DE /* InstabugCore.framework */; };
|
||||
74B758FC20D7C00B003343C3 /* launch-image-universal.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 74B758FB20D7C00B003343C3 /* launch-image-universal.storyboard */; };
|
||||
81C6E6AE0AA739BE9D87C1D0 /* libPods-StatusImTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FC1CBCFE6C906043D6CCEEE1 /* libPods-StatusImTests.a */; };
|
||||
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
|
||||
8E55E6877F950B81C8D711C5 /* libPods-StatusIm.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 101A4045637A2ADF57D28EF5 /* libPods-StatusIm.a */; };
|
||||
91446A820DA5E1C15C24D2A7 /* Instabug.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22D72275B7ADF9FC3304DCE5 /* Instabug.framework */; };
|
||||
925C1F4C1F7B73B20063DFA0 /* nanopb.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 925C1F451F7B73B20063DFA0 /* nanopb.framework */; };
|
||||
92A0DF7D1F4DE3A4002051BC /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 92A0DF491F4DE3A0002051BC /* GoogleService-Info.plist */; };
|
||||
983F077E2119C9D2004133ED /* message.wav in Resources */ = {isa = PBXBuildFile; fileRef = 983F07442119C9D2004133ED /* message.wav */; };
|
||||
@ -55,7 +51,6 @@
|
||||
BA68A2377A20496EA737000D /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 4E586E1B0E544F64AA9F5BD1 /* libz.tbd */; };
|
||||
C93242561FE1C68C00FE7099 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C93242531FE1C68C00FE7099 /* libRCTAnimation.a */; };
|
||||
CE4E31B31D8695250033ED64 /* Statusgo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE4E31B21D8695250033ED64 /* Statusgo.framework */; };
|
||||
DA0D1ABA19458751CC2840C3 /* Instabug.framework in Embed Instabug Framework */ = {isa = PBXBuildFile; fileRef = 22D72275B7ADF9FC3304DCE5 /* Instabug.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
||||
E0AD9E8F495A4907B65104BF /* libRCTImageResizer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2BEE3436791D42248F853999 /* libRCTImageResizer.a */; };
|
||||
FD4F213C3873473CB703B1D2 /* libRNFS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 674B3D9595A047AB8D518F4E /* libRNFS.a */; };
|
||||
/* End PBXBuildFile section */
|
||||
@ -264,13 +259,6 @@
|
||||
remoteGlobalIDString = 2D2A28881D9B049200D4039D;
|
||||
remoteInfo = "RCTWebSocket-tvOS";
|
||||
};
|
||||
9E3F1C111DDAE781005E4779 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = F3548417D8DA4362B6796A54 /* RNInstabug.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = 24DF11ED1DA3A2B90056F77C;
|
||||
remoteInfo = RNInstabug;
|
||||
};
|
||||
9EC013781E06FB1900155B5C /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 9EC0135C1E06FB1900155B5C /* RCTWKWebView.xcodeproj */;
|
||||
@ -482,18 +470,6 @@
|
||||
name = "Embed Frameworks";
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
C5A3444E637B7B715148AD1B /* Embed Instabug Framework */ = {
|
||||
isa = PBXCopyFilesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
dstPath = "";
|
||||
dstSubfolderSpec = 10;
|
||||
files = (
|
||||
DA0D1ABA19458751CC2840C3 /* Instabug.framework in Embed Instabug Framework */,
|
||||
3A8BF31C42291E324219071C /* InstabugCore.framework in Embed Instabug Framework */,
|
||||
);
|
||||
name = "Embed Instabug Framework";
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
@ -529,7 +505,6 @@
|
||||
20A5C96E1D92716C002C4965 /* QBImagePicker.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QBImagePicker.framework; path = "../node_modules/react-native-image-crop-picker/ios/QBImagePicker/build/Debug-iphoneos/QBImagePicker.framework"; sourceTree = "<group>"; };
|
||||
20B6B6831D92C42600CC5C6A /* RSKImageCropper.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = RSKImageCropper.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
20B6B6861D92C42600CC5C6A /* QBImagePicker.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = QBImagePicker.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
22D72275B7ADF9FC3304DCE5 /* Instabug.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Instabug.framework; path = "../node_modules/instabug-reactnative/ios/Instabug.framework"; sourceTree = "<group>"; };
|
||||
2BEE3436791D42248F853999 /* libRCTImageResizer.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTImageResizer.a; sourceTree = "<group>"; };
|
||||
305F194186D848FDB07AF34C /* RNFS.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNFS.xcodeproj; path = "../node_modules/react-native-fs/RNFS.xcodeproj"; sourceTree = "<group>"; };
|
||||
38A44830EC5708E89387F641 /* Pods-StatusIm.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StatusIm.release.xcconfig"; path = "Pods/Target Support Files/Pods-StatusIm/Pods-StatusIm.release.xcconfig"; sourceTree = "<group>"; };
|
||||
@ -542,7 +517,6 @@
|
||||
475D1FCE20B7415300879A77 /* libFirebaseMessaging.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libFirebaseMessaging.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
4C16DE0B1F89508700AA10DB /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
||||
4E586E1B0E544F64AA9F5BD1 /* libz.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
|
||||
4EC426A98043452BB6F9C134 /* libRNInstabug.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNInstabug.a; sourceTree = "<group>"; };
|
||||
52F6ED6465184513A082652B /* libRNI18n.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNI18n.a; sourceTree = "<group>"; };
|
||||
5535217F57E44D77AA9CF083 /* libRCTOrientation.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTOrientation.a; sourceTree = "<group>"; };
|
||||
5E5A7625B76441D984EA8C0D /* RCTImageResizer.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTImageResizer.xcodeproj; path = "../node_modules/react-native-image-resizer/ios/RCTImageResizer.xcodeproj"; sourceTree = "<group>"; };
|
||||
@ -583,9 +557,7 @@
|
||||
CE4E31B21D8695250033ED64 /* Statusgo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Statusgo.framework; path = "../modules/react-native-status/ios/RCTStatus/Statusgo.framework"; sourceTree = "<group>"; };
|
||||
D489EE8D5F52DA10AC715727 /* Pods-StatusImTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StatusImTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-StatusImTests/Pods-StatusImTests.release.xcconfig"; sourceTree = "<group>"; };
|
||||
DF1CD4C3D1254774ACCAE4E8 /* libBVLinearGradient.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libBVLinearGradient.a; sourceTree = "<group>"; };
|
||||
EA36FD18BC2ECACF0A8B83DE /* InstabugCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = InstabugCore.framework; path = "../node_modules/instabug-reactnative/ios/InstabugCore.framework"; sourceTree = "<group>"; };
|
||||
F090E261B9854867A728CE4F /* RealmReact.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RealmReact.xcodeproj; path = "../node_modules/realm/react-native/ios/RealmReact.xcodeproj"; sourceTree = "<group>"; };
|
||||
F3548417D8DA4362B6796A54 /* RNInstabug.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNInstabug.xcodeproj; path = "../node_modules/instabug-reactnative/ios/RNInstabug.xcodeproj"; sourceTree = "<group>"; };
|
||||
F9238D6B1E5F055900C047B9 /* SF-UI-Text-Semibold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Semibold.otf"; sourceTree = "<group>"; };
|
||||
FC1CBCFE6C906043D6CCEEE1 /* libPods-StatusImTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-StatusImTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
/* End PBXFileReference section */
|
||||
@ -604,7 +576,6 @@
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
475D202F20B7450D00879A77 /* libRNFirebase.a in Frameworks */,
|
||||
4CA4DA1B206D105D006A98B0 /* libRNInstabug.a in Frameworks */,
|
||||
C93242561FE1C68C00FE7099 /* libRCTAnimation.a in Frameworks */,
|
||||
4C16DE0C1F89508700AA10DB /* JavaScriptCore.framework in Frameworks */,
|
||||
B2DEA0D01E49E33300FA28D6 /* libRCTHttpServer.a in Frameworks */,
|
||||
@ -639,8 +610,6 @@
|
||||
8E55E6877F950B81C8D711C5 /* libPods-StatusIm.a in Frameworks */,
|
||||
9EF0836B1F3B53AB00876A8F /* libReactNativeConfig.a in Frameworks */,
|
||||
B957A49EB0DE44D9A31CAF2D /* libRNSVG.a in Frameworks */,
|
||||
91446A820DA5E1C15C24D2A7 /* Instabug.framework in Frameworks */,
|
||||
63AE4174241B852A045FAE1F /* InstabugCore.framework in Frameworks */,
|
||||
AB96C730942E49178F59AE6F /* libRNSecureRandom.a in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
@ -905,7 +874,6 @@
|
||||
38E1A2C8D0734EE99E2B16CE /* TcpSockets.xcodeproj */,
|
||||
439B6B4B407A4E2AACAFE5BE /* RCTStatus.xcodeproj */,
|
||||
5E5A7625B76441D984EA8C0D /* RCTImageResizer.xcodeproj */,
|
||||
F3548417D8DA4362B6796A54 /* RNInstabug.xcodeproj */,
|
||||
1E74DC52A1E449A2BA858B14 /* RNSVG.xcodeproj */,
|
||||
AF409BB755B94FB1BBA01927 /* RNSecureRandom.xcodeproj */,
|
||||
);
|
||||
@ -967,14 +935,6 @@
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9E3F1BE31DDAE781005E4779 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9E3F1C121DDAE781005E4779 /* libRNInstabug.a */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9EC0135D1E06FB1900155B5C /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@ -1012,8 +972,6 @@
|
||||
4E586E1B0E544F64AA9F5BD1 /* libz.tbd */,
|
||||
101A4045637A2ADF57D28EF5 /* libPods-StatusIm.a */,
|
||||
FC1CBCFE6C906043D6CCEEE1 /* libPods-StatusImTests.a */,
|
||||
22D72275B7ADF9FC3304DCE5 /* Instabug.framework */,
|
||||
EA36FD18BC2ECACF0A8B83DE /* InstabugCore.framework */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
@ -1064,7 +1022,6 @@
|
||||
CD48A32459B64E96843BB238 /* libRealmReact.a */,
|
||||
C2A4E93F6B154AEFA3485B45 /* libTcpSockets.a */,
|
||||
2BEE3436791D42248F853999 /* libRCTImageResizer.a */,
|
||||
4EC426A98043452BB6F9C134 /* libRNInstabug.a */,
|
||||
AF2BF381BC7B4EB0887F0091 /* libRNSVG.a */,
|
||||
7F752F17B1E04216B1337A72 /* libRNFIRMessaging.a */,
|
||||
1464A9A9E12F45068947C28F /* libRNSecureRandom.a */,
|
||||
@ -1114,7 +1071,6 @@
|
||||
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
|
||||
20B6B6891D92C42700CC5C6A /* Embed Frameworks */,
|
||||
E3914A731DF919ED00EBB515 /* Run Script */,
|
||||
C5A3444E637B7B715148AD1B /* Embed Instabug Framework */,
|
||||
D286FF71BA61530E740B7C82 /* Strip Frameworks */,
|
||||
);
|
||||
buildRules = (
|
||||
@ -1132,7 +1088,7 @@
|
||||
83CBB9F71A601CBA00E9B192 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 830;
|
||||
LastUpgradeCheck = 0940;
|
||||
ORGANIZATIONNAME = Facebook;
|
||||
TargetAttributes = {
|
||||
00E356ED1AD99517003FC87E = {
|
||||
@ -1265,10 +1221,6 @@
|
||||
ProductGroup = 20B7D1041D3F74CD00B70F14 /* Products */;
|
||||
ProjectRef = 46E2F6052EB44C698C680894 /* RNI18n.xcodeproj */;
|
||||
},
|
||||
{
|
||||
ProductGroup = 9E3F1BE31DDAE781005E4779 /* Products */;
|
||||
ProjectRef = F3548417D8DA4362B6796A54 /* RNInstabug.xcodeproj */;
|
||||
},
|
||||
{
|
||||
ProductGroup = 475D1EEE20B73EE000879A77 /* Products */;
|
||||
ProjectRef = AF409BB755B94FB1BBA01927 /* RNSecureRandom.xcodeproj */;
|
||||
@ -1491,13 +1443,6 @@
|
||||
remoteRef = 9E3F1C051DDAE781005E4779 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
9E3F1C121DDAE781005E4779 /* libRNInstabug.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = libRNInstabug.a;
|
||||
remoteRef = 9E3F1C111DDAE781005E4779 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
9EC013791E06FB1900155B5C /* libRCTWKWebView.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
@ -1767,20 +1712,6 @@
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||
};
|
||||
D286FF71BA61530E740B7C82 /* Strip Frameworks */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
name = "Strip Frameworks";
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "bash \"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/InstabugCore.framework/strip-frameworks.sh\"\n";
|
||||
};
|
||||
E3914A731DF919ED00EBB515 /* Run Script */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 8;
|
||||
@ -1943,7 +1874,6 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Pods/**",
|
||||
"$(PROJECT_DIR)",
|
||||
"../node_modules/instabug-reactnative/ios",
|
||||
);
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = NO;
|
||||
GCC_PREFIX_HEADER = "";
|
||||
@ -1961,7 +1891,6 @@
|
||||
"$(SRCROOT)/../node_modules/react-native-tcp/ios/**",
|
||||
"$(SRCROOT)/../modules/react-native-status/ios/RCTStatus/**",
|
||||
"$(SRCROOT)/../node_modules/react-native-image-resizer/ios/RCTImageResizer",
|
||||
"$(SRCROOT)/../node_modules/instabug-reactnative/ios/RNInstabug",
|
||||
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios",
|
||||
"$(SRCROOT)/../node_modules/react-native-config/ios/**",
|
||||
"$(SRCROOT)/../node_modules/react-native-svg/ios/**",
|
||||
@ -2010,7 +1939,6 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Pods/**",
|
||||
"$(PROJECT_DIR)",
|
||||
"../node_modules/instabug-reactnative/ios",
|
||||
);
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = NO;
|
||||
GCC_PREFIX_HEADER = "";
|
||||
@ -2028,7 +1956,6 @@
|
||||
"$(SRCROOT)/../node_modules/react-native-tcp/ios/**",
|
||||
"$(SRCROOT)/../modules/react-native-status/ios/RCTStatus/**",
|
||||
"$(SRCROOT)/../node_modules/react-native-image-resizer/ios/RCTImageResizer",
|
||||
"$(SRCROOT)/../node_modules/instabug-reactnative/ios/RNInstabug",
|
||||
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios",
|
||||
"$(SRCROOT)/../node_modules/react-native-config/ios/**",
|
||||
"$(SRCROOT)/../node_modules/react-native-svg/ios/**",
|
||||
@ -2067,14 +1994,22 @@
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
@ -2118,7 +2053,6 @@
|
||||
"$(SRCROOT)/../modules/react-native-status/ios/RCTStatus/**",
|
||||
"$(SRCROOT)/../modules/react-native-status/ios/RCTStatus/**",
|
||||
"$(SRCROOT)/../node_modules/react-native-image-resizer/ios/RCTImageResizer",
|
||||
"$(SRCROOT)/../node_modules/instabug-reactnative/ios/RNInstabug",
|
||||
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios/**",
|
||||
);
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||
@ -2136,14 +2070,22 @@
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
@ -2180,7 +2122,6 @@
|
||||
"$(SRCROOT)/../modules/react-native-status/ios/RCTStatus/**",
|
||||
"$(SRCROOT)/../modules/react-native-status/ios/RCTStatus/**",
|
||||
"$(SRCROOT)/../node_modules/react-native-image-resizer/ios/RCTImageResizer",
|
||||
"$(SRCROOT)/../node_modules/instabug-reactnative/ios/RNInstabug",
|
||||
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios/**",
|
||||
);
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||
|
@ -60,15 +60,13 @@
|
||||
</dict>
|
||||
</dict>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>Camera access is required to be able to scan QR codes.</string>
|
||||
<string>Please allow Status to use your phone camera</string>
|
||||
<key>NSContactsUsageDescription</key>
|
||||
<string>We need to access your contacts</string>
|
||||
<key>NSLocationAlwaysUsageDescription</key>
|
||||
<string>Location access is required for some DApps to function properly.</string>
|
||||
<key>NSLocationWhenInUseUsageDescription</key>
|
||||
<string>Location access is required for some DApps to function properly.</string>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>Microphone access is required for Instabug and Audio Messages</string>
|
||||
<key>NSPhotoLibraryUsageDescription</key>
|
||||
<string>Photos access it required to give you ability to choose custom profile pictures.</string>
|
||||
<key>UIBackgroundModes</key>
|
||||
@ -97,10 +95,8 @@
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<true/>
|
||||
<true/>
|
||||
<key>ITSEncryptionExportComplianceCode</key>
|
||||
<string>1aa92c4d-6194-4d7d-b70a-16b48256b87e</string>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>Please allow Status to use your phone camera</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
5
mobile_files/package-lock.json
generated
5
mobile_files/package-lock.json
generated
@ -5713,11 +5713,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"instabug-reactnative": {
|
||||
"version": "2.12.0",
|
||||
"resolved": "https://registry.npmjs.org/instabug-reactnative/-/instabug-reactnative-2.12.0.tgz",
|
||||
"integrity": "sha512-aD2JLofdXfZWvlcg3t3lEoUM+HN7qLaKry68Ypjuh+cFGCXtblbKz4ozEfEFBw4rvEm31s8BSd1e/aFiHPXBmQ=="
|
||||
},
|
||||
"invariant": {
|
||||
"version": "2.2.4",
|
||||
"resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
|
||||
|
@ -25,7 +25,6 @@
|
||||
"events": "1.1.1",
|
||||
"homoglyph-finder": "1.1.1",
|
||||
"identicon.js": "https://github.com/status-im/identicon.js.git",
|
||||
"instabug-reactnative": "2.12.0",
|
||||
"js-sha3": "^0.8.0",
|
||||
"level-filesystem": "1.2.0",
|
||||
"process": "0.11.10",
|
||||
|
@ -18,7 +18,6 @@ android {
|
||||
|
||||
dependencies {
|
||||
implementation 'com.facebook.react:react-native:+'
|
||||
implementation 'com.instabug.library:instabug:3+'
|
||||
compile 'com.github.status-im:function:0.0.1'
|
||||
|
||||
// WARNING: If you change this, make sure the GitHub release of the .aar exists.
|
||||
|
@ -30,7 +30,6 @@ import java.util.concurrent.Executors;
|
||||
|
||||
import org.json.JSONObject;
|
||||
import org.json.JSONException;
|
||||
import com.instabug.library.Instabug;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
@ -133,12 +132,6 @@ class StatusModule extends ReactContextBaseJavaModule implements LifecycleEventL
|
||||
logFile.setWritable(true);
|
||||
Log.d(TAG, "Can write " + logFile.canWrite());
|
||||
Uri gethLogUri = Uri.fromFile(logFile);
|
||||
try {
|
||||
Log.d(TAG, "Attach to geth.log to instabug " + gethLogUri.getPath());
|
||||
Instabug.setFileAttachment(gethLogUri, gethLogFileName);
|
||||
} catch (NullPointerException e) {
|
||||
Log.d(TAG, "Instabug is not initialized!");
|
||||
}
|
||||
|
||||
String gethLogFilePath = logFile.getAbsolutePath();
|
||||
Log.d(TAG, gethLogFilePath);
|
||||
|
@ -9,7 +9,6 @@
|
||||
/* Begin PBXBuildFile section */
|
||||
206C9F3E1D474E910063E3E6 /* RCTStatus.h in Copy Files */ = {isa = PBXBuildFile; fileRef = 206C9F3D1D474E910063E3E6 /* RCTStatus.h */; };
|
||||
206C9F401D474E910063E3E6 /* RCTStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = 206C9F3F1D474E910063E3E6 /* RCTStatus.m */; };
|
||||
9806BE77206D044D00548CC4 /* Instabug.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9806BE76206D044D00548CC4 /* Instabug.framework */; };
|
||||
CE4E31B11D86951A0033ED64 /* Statusgo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE4E31B01D86951A0033ED64 /* Statusgo.framework */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
@ -31,7 +30,6 @@
|
||||
206C9F3A1D474E910063E3E6 /* libRCTStatus.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTStatus.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
206C9F3D1D474E910063E3E6 /* RCTStatus.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTStatus.h; sourceTree = "<group>"; };
|
||||
206C9F3F1D474E910063E3E6 /* RCTStatus.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTStatus.m; sourceTree = "<group>"; };
|
||||
9806BE76206D044D00548CC4 /* Instabug.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Instabug.framework; path = "../../../../node_modules/instabug-reactnative/ios/Instabug.framework"; sourceTree = "<group>"; };
|
||||
CE4E31B01D86951A0033ED64 /* Statusgo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Statusgo.framework; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
@ -41,7 +39,6 @@
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
CE4E31B11D86951A0033ED64 /* Statusgo.framework in Frameworks */,
|
||||
9806BE77206D044D00548CC4 /* Instabug.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@ -75,14 +72,6 @@
|
||||
name = Status;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9E3F8AF11ED2CCBD0016D874 /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9806BE76206D044D00548CC4 /* Instabug.framework */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
@ -238,7 +227,6 @@
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)",
|
||||
"$(PROJECT_DIR)/../../../../ios/Pods/Instabug",
|
||||
);
|
||||
FRAMEWORK_VERSION = A;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
@ -267,7 +255,6 @@
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)",
|
||||
"$(PROJECT_DIR)/../../../../ios/Pods/Instabug",
|
||||
);
|
||||
FRAMEWORK_VERSION = A;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
|
@ -21,7 +21,6 @@
|
||||
(def dismiss-keyboard #js {})
|
||||
(def image-crop-picker #js {})
|
||||
(def image-resizer #js {})
|
||||
(def instabug #js {:IBGLog ( fn [])})
|
||||
(def nfc #js {})
|
||||
(def svg #js {})
|
||||
(def snoopy #js {})
|
||||
|
@ -17,7 +17,6 @@
|
||||
(def dismiss-keyboard (js/require "dismissKeyboard"))
|
||||
(def image-crop-picker (js/require "react-native-image-crop-picker"))
|
||||
(def image-resizer (js/require "react-native-image-resizer"))
|
||||
(def instabug (js/require "instabug-reactnative"))
|
||||
(def svg (js/require "react-native-svg"))
|
||||
(def react-native-firebase (js/require "react-native-firebase"))
|
||||
(def nfc-manager (js/require "react-native-nfc-manager"))
|
||||
|
@ -311,7 +311,7 @@
|
||||
(fx/defn open-chat-from-browser
|
||||
[cofx host]
|
||||
(let [topic (string/lower-case (apply str (map filter-letters-numbers-and-replace-dot-on-dash host)))]
|
||||
{:dispatch [:chat.ui/start-public-chat topic true]}))
|
||||
{:dispatch [:chat.ui/start-public-chat topic {:modal? true :navigation-reset? true}]}))
|
||||
|
||||
(re-frame/reg-fx
|
||||
:browser/resolve-ens-multihash
|
||||
|
@ -197,11 +197,10 @@
|
||||
|
||||
(fx/defn start-public-chat
|
||||
"Starts a new public chat"
|
||||
[cofx topic modal?]
|
||||
[cofx topic opts]
|
||||
(fx/merge cofx
|
||||
(add-public-chat topic)
|
||||
(navigate-to-chat topic {:modal? modal?
|
||||
:navigation-reset? true})
|
||||
(navigate-to-chat topic opts)
|
||||
(public-chat/join-public-chat topic)
|
||||
(when platform/desktop?
|
||||
(desktop.events/change-tab :home))))
|
||||
|
@ -555,8 +555,8 @@
|
||||
|
||||
(handlers/register-handler-fx
|
||||
:chat.ui/start-public-chat
|
||||
(fn [cofx [_ topic modal?]]
|
||||
(chat/start-public-chat cofx topic modal?)))
|
||||
(fn [cofx [_ topic opts]]
|
||||
(chat/start-public-chat cofx topic opts)))
|
||||
|
||||
(handlers/register-handler-fx
|
||||
:chat.ui/remove-chat
|
||||
|
@ -10,7 +10,6 @@
|
||||
[status-im.ui.components.react :as react]
|
||||
[status-im.notifications.core :as notifications]
|
||||
[status-im.core :as core]
|
||||
[status-im.utils.instabug :as instabug]
|
||||
[status-im.utils.snoopy :as snoopy]))
|
||||
|
||||
(defn app-state-change-handler [state]
|
||||
@ -46,5 +45,4 @@
|
||||
|
||||
(defn init []
|
||||
(core/init app-root)
|
||||
(snoopy/subscribe!)
|
||||
(instabug/init))
|
||||
(snoopy/subscribe!))
|
||||
|
@ -27,7 +27,7 @@
|
||||
{:container styles/input-container
|
||||
:on-change-text #(re-frame/dispatch [:set :public-group-topic %])
|
||||
:on-submit-editing #(when (db/valid-topic? topic)
|
||||
(re-frame/dispatch [:chat.ui/start-public-chat topic]))
|
||||
(re-frame/dispatch [:chat.ui/start-public-chat topic {:navigation-reset? true}]))
|
||||
:auto-capitalize :none
|
||||
:auto-focus false
|
||||
:accessibility-label :chat-name-input
|
||||
@ -44,7 +44,9 @@
|
||||
(first topic)]])
|
||||
|
||||
(defn- render-topic [topic]
|
||||
[react/touchable-highlight {:on-press #(re-frame/dispatch [:chat.ui/start-public-chat topic])
|
||||
[react/touchable-highlight {:on-press #(re-frame/dispatch [:chat.ui/start-public-chat
|
||||
topic
|
||||
{:navigation-reset? true}])
|
||||
:accessibility-label :chat-item}
|
||||
[react/view
|
||||
[list/item
|
||||
|
@ -105,7 +105,7 @@
|
||||
show-error-tooltip? topic-error
|
||||
create-public-chat #(when (public-chat.db/valid-topic? topic)
|
||||
(re-frame/dispatch [:set :public-group-topic nil])
|
||||
(re-frame/dispatch [:chat.ui/start-public-chat topic]))]
|
||||
(re-frame/dispatch [:chat.ui/start-public-chat topic {:navigation-reset? true}]))]
|
||||
[react/view {:style styles/add-contact-edit-view}
|
||||
[react/view {:flex 1
|
||||
:style (styles/add-pub-chat-input show-error-tooltip?)}
|
||||
|
@ -129,7 +129,7 @@
|
||||
[react/touchable-highlight {:style {}
|
||||
:on-press #(case link-tag
|
||||
:link (.openURL react/linking (http/normalize-url link))
|
||||
:tag (re-frame/dispatch [:chat.ui/start-public-chat (subs link 1)]))}
|
||||
:tag (re-frame/dispatch [:chat.ui/start-public-chat (subs link 1) {:navigation-reset? true}]))}
|
||||
[react/text {:style {:font-size 14
|
||||
:text-decoration-line :underline
|
||||
:color (if outgoing colors/white colors/blue)
|
||||
|
@ -1,12 +1,12 @@
|
||||
(ns status-im.ui.screens.help-center.views
|
||||
(:require-macros [status-im.utils.views :as views])
|
||||
(:require [status-im.i18n :as i18n]
|
||||
(:require [re-frame.core :as re-frame]
|
||||
[status-im.i18n :as i18n]
|
||||
[status-im.ui.components.react :as react]
|
||||
[status-im.ui.components.status-bar.view :as status-bar]
|
||||
[status-im.ui.components.toolbar.view :as toolbar]
|
||||
[status-im.ui.screens.help-center.styles :as styles]
|
||||
[status-im.ui.screens.profile.components.views :as profile.components]
|
||||
[status-im.utils.instabug :as instabug]))
|
||||
[status-im.ui.screens.profile.components.views :as profile.components]))
|
||||
|
||||
(views/defview help-center []
|
||||
[react/view styles/wrapper
|
||||
@ -20,10 +20,6 @@
|
||||
:accessibility-label :faq-button
|
||||
:action-fn #(.openURL react/linking "https://wiki.status.im/Questions_around_beta#firstHeading")}]
|
||||
[profile.components/settings-item-separator]
|
||||
[profile.components/settings-item {:label-kw :t/submit-bug
|
||||
[profile.components/settings-item {:label-kw :t/ask-in-status
|
||||
:accessibility-label :submit-bug-button
|
||||
:action-fn #(instabug/submit-bug)}]
|
||||
[profile.components/settings-item-separator]
|
||||
[profile.components/settings-item {:label-kw :t/request-feature
|
||||
:accessibility-label :request-feature-button
|
||||
:action-fn #(instabug/request-feature)}]]]])
|
||||
:action-fn #(re-frame/dispatch [:chat.ui/start-public-chat "status" {:navigation-reset? false}])}]]]])
|
||||
|
@ -37,7 +37,6 @@
|
||||
string/upper-case))
|
||||
(def fleet (get-config :FLEET "eth.beta"))
|
||||
(def default-network (get-config :DEFAULT_NETWORK))
|
||||
(def instabug-token (get-config :INSTABUG_TOKEN))
|
||||
(def pow-target (js/parseFloat (get-config :POW_TARGET "0.002")))
|
||||
(def pow-time (js/parseInt (get-config :POW_TIME "1")))
|
||||
(def use-sym-key (enabled? (get-config :USE_SYM_KEY 0)))
|
||||
|
@ -3,7 +3,6 @@
|
||||
[clojure.string :as string]
|
||||
[re-frame.core :refer [reg-event-db reg-event-fx] :as re-frame]
|
||||
[re-frame.interceptor :refer [->interceptor get-coeffect get-effect]]
|
||||
[status-im.utils.instabug :as instabug]
|
||||
[status-im.accounts.db :as accounts.db]
|
||||
[cljs.core.async :as async]
|
||||
[taoensso.timbre :as log]))
|
||||
|
@ -1,45 +0,0 @@
|
||||
(ns status-im.utils.instabug
|
||||
(:require [taoensso.timbre :as log]
|
||||
[status-im.utils.config :as config]
|
||||
[status-im.react-native.js-dependencies :as rn-dependencies]))
|
||||
|
||||
(def instabug rn-dependencies/instabug)
|
||||
|
||||
(defn submit-bug []
|
||||
(.invokeWithInvocationMode
|
||||
instabug
|
||||
(.. instabug
|
||||
-invocationMode
|
||||
-newBug)))
|
||||
|
||||
(defn request-feature []
|
||||
(.showFeatureRequests
|
||||
instabug))
|
||||
|
||||
(defn- prepare-event-name [event {:keys [target]}]
|
||||
(str event " " target))
|
||||
|
||||
(defn log [str]
|
||||
(if js/goog.DEBUG
|
||||
(log/debug str)
|
||||
(.IBGLog rn-dependencies/instabug str)))
|
||||
|
||||
(defn instabug-appender []
|
||||
{:enabled? true
|
||||
:async? false
|
||||
:min-level nil
|
||||
:rate-limit nil
|
||||
:output-fn :inherit
|
||||
|
||||
:fn (fn [data]
|
||||
(let [{:keys [level ?ns-str ?err output_]} data]
|
||||
(log (force output_))))})
|
||||
|
||||
(when-not js/goog.DEBUG
|
||||
(log/merge-config! {:appenders {:instabug (instabug-appender)}}))
|
||||
|
||||
(defn init []
|
||||
(.startWithToken rn-dependencies/instabug
|
||||
config/instabug-token
|
||||
(.. rn-dependencies/instabug -invocationEvent -shake))
|
||||
(.setIntroMessageEnabled rn-dependencies/instabug false))
|
@ -59,7 +59,7 @@
|
||||
|
||||
(fx/defn handle-public-chat [cofx public-chat]
|
||||
(log/info "universal-links: handling public chat " public-chat)
|
||||
(chat/start-public-chat cofx public-chat false))
|
||||
(chat/start-public-chat cofx public-chat {:navigation-reset? true}))
|
||||
|
||||
(fx/defn handle-view-profile [{:keys [db] :as cofx} profile-id]
|
||||
(log/info "universal-links: handling view profile" profile-id)
|
||||
|
@ -176,16 +176,12 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
|
||||
sign_in_view.create_user()
|
||||
profile_view = sign_in_view.profile_button.click()
|
||||
profile_view.help_button.click()
|
||||
profile_view.request_feature_button.click()
|
||||
profile_view.find_full_text('Feature Requests')
|
||||
profile_view.click_system_back_button()
|
||||
profile_view.submit_bug_button.click()
|
||||
profile_view.find_full_text('Report a problem')
|
||||
profile_view.click_system_back_button()
|
||||
profile_view.discard_button.click()
|
||||
base_web_view = profile_view.faq_button.click()
|
||||
base_web_view.open_in_webview()
|
||||
profile_view.find_text_part('Questions around beta')
|
||||
base_web_view.find_text_part('Questions around beta')
|
||||
base_web_view.click_system_back_button()
|
||||
profile_view.submit_bug_button.click()
|
||||
profile_view.find_full_text('#status')
|
||||
|
||||
@marks.testrail_id(5382)
|
||||
@marks.high
|
||||
|
@ -292,13 +292,6 @@ class HelpButton(BaseButton):
|
||||
self.locator = self.Locator.accessibility_id("help-button")
|
||||
|
||||
|
||||
class RequestFeatureButton(BaseButton):
|
||||
|
||||
def __init__(self, driver):
|
||||
super(RequestFeatureButton, self).__init__(driver)
|
||||
self.locator = self.Locator.accessibility_id("request-feature-button")
|
||||
|
||||
|
||||
class SubmitBugButton(BaseButton):
|
||||
|
||||
def __init__(self, driver):
|
||||
@ -452,7 +445,6 @@ class ProfileView(BaseView):
|
||||
self.capture_button = CaptureButton(self.driver)
|
||||
|
||||
self.help_button = HelpButton(self.driver)
|
||||
self.request_feature_button = RequestFeatureButton(self.driver)
|
||||
self.submit_bug_button = SubmitBugButton(self.driver)
|
||||
self.faq_button = FaqButton(self.driver)
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
(def i18n #js {:locale "en"})
|
||||
(def image-crop-picker #js {})
|
||||
(def image-resizer #js {})
|
||||
(def instabug #js {})
|
||||
(def linear-gradient #js {})
|
||||
(def nfc #js {})
|
||||
(def orientation #js {})
|
||||
|
@ -12,6 +12,7 @@
|
||||
"new-transaction": "New Transaction",
|
||||
"currency-display-name-bbd": "Barbados Dollar",
|
||||
"amount": "Amount",
|
||||
"ask-in-status": "Ask a question or report a bug",
|
||||
"open": "Open",
|
||||
"name-placeholder": "Display name",
|
||||
"find": "Find",
|
||||
|
Loading…
x
Reference in New Issue
Block a user