mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-12 01:34:31 +00:00
Add Instabug logging for status-go signals
Upgrade status-go to 1.1.0-25-gaeda17d
This commit is contained in:
parent
e1a1ab5c37
commit
b2e4801251
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "StatusIm",
|
"name": "StatusIm",
|
||||||
"interface": "reagent",
|
"interface": "reagent",
|
||||||
"androidHost": "10.0.3.2",
|
"androidHost": "localhost",
|
||||||
"modules": [
|
"modules": [
|
||||||
"react-native-contacts",
|
"react-native-contacts",
|
||||||
"react-native-invertible-scroll-view",
|
"react-native-invertible-scroll-view",
|
||||||
@ -36,12 +36,13 @@
|
|||||||
"react-native-swiper",
|
"react-native-swiper",
|
||||||
"react-native-share",
|
"react-native-share",
|
||||||
"react-native-emoji-picker",
|
"react-native-emoji-picker",
|
||||||
"react-native-autolink"
|
"react-native-autolink",
|
||||||
|
"instabug-reactnative"
|
||||||
],
|
],
|
||||||
"imageDirs": [
|
"imageDirs": [
|
||||||
"images"
|
"images"
|
||||||
],
|
],
|
||||||
"iosHost": "localhost",
|
"iosHost": "10.0.1.4",
|
||||||
"envRoots": {
|
"envRoots": {
|
||||||
"dev": "env/dev",
|
"dev": "env/dev",
|
||||||
"prod": "env/prod"
|
"prod": "env/prod"
|
||||||
|
@ -195,5 +195,6 @@ var TopLevel = {
|
|||||||
"y" : function () {},
|
"y" : function () {},
|
||||||
"_value" : function () {},
|
"_value" : function () {},
|
||||||
"ListView": function() {},
|
"ListView": function() {},
|
||||||
"DataSource": function() {}
|
"DataSource": function() {},
|
||||||
|
"IBGLog": function() {}
|
||||||
};
|
};
|
||||||
|
@ -14,5 +14,5 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.facebook.react:react-native:+'
|
compile 'com.facebook.react:react-native:+'
|
||||||
compile(group: 'status-im', name: 'status-go', version: '1.1.0-14-g85f29c2', ext: 'aar')
|
compile(group: 'status-im', name: 'status-go', version: '1.1.0-25-gaeda17d', ext: 'aar')
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>status-im</groupId>
|
<groupId>status-im</groupId>
|
||||||
<artifactId>status-go-ios-simulator</artifactId>
|
<artifactId>status-go-ios-simulator</artifactId>
|
||||||
<version>1.1.0-14-g85f29c2</version>
|
<version>1.1.0-25-gaeda17d</version>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<overWrite>true</overWrite>
|
<overWrite>true</overWrite>
|
||||||
<outputDirectory>./</outputDirectory>
|
<outputDirectory>./</outputDirectory>
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"homoglyph-finder": "^1.1.1",
|
"homoglyph-finder": "^1.1.1",
|
||||||
"https-browserify": "0.0.1",
|
"https-browserify": "0.0.1",
|
||||||
"identicon.js": "github:status-im/identicon.js",
|
"identicon.js": "github:status-im/identicon.js",
|
||||||
"instabug-reactnative": "git+https://github.com/Instabug/instabug-reactnative.git",
|
"instabug-reactnative": "git+https://github.com/status-im/instabug-reactnative.git",
|
||||||
"os-browserify": "^0.1.2",
|
"os-browserify": "^0.1.2",
|
||||||
"path-browserify": "0.0.0",
|
"path-browserify": "0.0.0",
|
||||||
"process": "^0.11.5",
|
"process": "^0.11.5",
|
||||||
@ -63,8 +63,8 @@
|
|||||||
"react-native-orientation": "github:youennPennarun/react-native-orientation",
|
"react-native-orientation": "github:youennPennarun/react-native-orientation",
|
||||||
"react-native-qrcode": "^0.2.2",
|
"react-native-qrcode": "^0.2.2",
|
||||||
"react-native-randombytes": "^2.1.0",
|
"react-native-randombytes": "^2.1.0",
|
||||||
"react-native-share": "^1.0.17",
|
"react-native-share": "1.0.17",
|
||||||
"react-native-splash-screen": "^1.0.9",
|
"react-native-splash-screen": "1.0.9",
|
||||||
"react-native-swiper": "1.5.3",
|
"react-native-swiper": "1.5.3",
|
||||||
"react-native-tcp": "^2.0.4",
|
"react-native-tcp": "^2.0.4",
|
||||||
"react-native-udp": "^1.2.6",
|
"react-native-udp": "^1.2.6",
|
||||||
|
@ -27,7 +27,8 @@
|
|||||||
[status-im.utils.types :as t]
|
[status-im.utils.types :as t]
|
||||||
[status-im.i18n :refer [label]]
|
[status-im.i18n :refer [label]]
|
||||||
[status-im.constants :refer [console-chat-id]]
|
[status-im.constants :refer [console-chat-id]]
|
||||||
[status-im.utils.ethereum-network :as enet]))
|
[status-im.utils.ethereum-network :as enet]
|
||||||
|
[status-im.utils.instabug :as inst]))
|
||||||
|
|
||||||
;; -- Common --------------------------------------------------------------
|
;; -- Common --------------------------------------------------------------
|
||||||
|
|
||||||
@ -135,6 +136,7 @@
|
|||||||
(u/side-effect!
|
(u/side-effect!
|
||||||
(fn [_ [_ event-str]]
|
(fn [_ [_ event-str]]
|
||||||
(log/debug :event-str event-str)
|
(log/debug :event-str event-str)
|
||||||
|
(inst/log (str "Signal event: " event-str))
|
||||||
(let [{:keys [type event]} (t/json->clj event-str)]
|
(let [{:keys [type event]} (t/json->clj event-str)]
|
||||||
(case type
|
(case type
|
||||||
"transaction.queued" (dispatch [:transaction-queued event])
|
"transaction.queued" (dispatch [:transaction-queued event])
|
||||||
|
5
src/status_im/utils/instabug.cljs
Normal file
5
src/status_im/utils/instabug.cljs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
(ns status-im.utils.instabug)
|
||||||
|
|
||||||
|
(def instabug-rn (js/require "instabug-reactnative"))
|
||||||
|
|
||||||
|
(defn log [str] (.IBGLog instabug-rn str))
|
Loading…
x
Reference in New Issue
Block a user