Add Instabug logging for status-go signals

Upgrade status-go to 1.1.0-25-gaeda17d
This commit is contained in:
Roman Volosovskyi 2017-01-19 15:23:06 +02:00 committed by Roman Volosovskyi
parent e1a1ab5c37
commit b2e4801251
7 changed files with 20 additions and 11 deletions

View File

@ -1,7 +1,7 @@
{
"name": "StatusIm",
"interface": "reagent",
"androidHost": "10.0.3.2",
"androidHost": "localhost",
"modules": [
"react-native-contacts",
"react-native-invertible-scroll-view",
@ -36,14 +36,15 @@
"react-native-swiper",
"react-native-share",
"react-native-emoji-picker",
"react-native-autolink"
"react-native-autolink",
"instabug-reactnative"
],
"imageDirs": [
"images"
],
"iosHost": "localhost",
"iosHost": "10.0.1.4",
"envRoots": {
"dev": "env/dev",
"prod": "env/prod"
}
}
}

View File

@ -195,5 +195,6 @@ var TopLevel = {
"y" : function () {},
"_value" : function () {},
"ListView": function() {},
"DataSource": function() {}
"DataSource": function() {},
"IBGLog": function() {}
};

View File

@ -14,5 +14,5 @@ android {
dependencies {
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')
}

View File

@ -25,7 +25,7 @@
<artifactItem>
<groupId>status-im</groupId>
<artifactId>status-go-ios-simulator</artifactId>
<version>1.1.0-14-g85f29c2</version>
<version>1.1.0-25-gaeda17d</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>./</outputDirectory>

View File

@ -32,7 +32,7 @@
"homoglyph-finder": "^1.1.1",
"https-browserify": "0.0.1",
"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",
"path-browserify": "0.0.0",
"process": "^0.11.5",
@ -63,8 +63,8 @@
"react-native-orientation": "github:youennPennarun/react-native-orientation",
"react-native-qrcode": "^0.2.2",
"react-native-randombytes": "^2.1.0",
"react-native-share": "^1.0.17",
"react-native-splash-screen": "^1.0.9",
"react-native-share": "1.0.17",
"react-native-splash-screen": "1.0.9",
"react-native-swiper": "1.5.3",
"react-native-tcp": "^2.0.4",
"react-native-udp": "^1.2.6",

View File

@ -27,7 +27,8 @@
[status-im.utils.types :as t]
[status-im.i18n :refer [label]]
[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 --------------------------------------------------------------
@ -135,6 +136,7 @@
(u/side-effect!
(fn [_ [_ event-str]]
(log/debug :event-str event-str)
(inst/log (str "Signal event: " event-str))
(let [{:keys [type event]} (t/json->clj event-str)]
(case type
"transaction.queued" (dispatch [:transaction-queued event])

View File

@ -0,0 +1,5 @@
(ns status-im.utils.instabug)
(def instabug-rn (js/require "instabug-reactnative"))
(defn log [str] (.IBGLog instabug-rn str))