diff --git a/.re-natal b/.re-natal index 54c02eccf9..deff5dd006 100644 --- a/.re-natal +++ b/.re-natal @@ -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" } -} \ No newline at end of file +} diff --git a/externs/externs.js b/externs/externs.js index e1cb6477a5..5efe6adb00 100644 --- a/externs/externs.js +++ b/externs/externs.js @@ -195,5 +195,6 @@ var TopLevel = { "y" : function () {}, "_value" : function () {}, "ListView": function() {}, -"DataSource": function() {} +"DataSource": function() {}, +"IBGLog": function() {} }; diff --git a/modules/react-native-status/android/build.gradle b/modules/react-native-status/android/build.gradle index 33968eb7be..367ac675c5 100644 --- a/modules/react-native-status/android/build.gradle +++ b/modules/react-native-status/android/build.gradle @@ -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') } diff --git a/modules/react-native-status/ios/RCTStatus/pom.xml b/modules/react-native-status/ios/RCTStatus/pom.xml index 1722fea199..ea67e4cde5 100644 --- a/modules/react-native-status/ios/RCTStatus/pom.xml +++ b/modules/react-native-status/ios/RCTStatus/pom.xml @@ -25,7 +25,7 @@ status-im status-go-ios-simulator - 1.1.0-14-g85f29c2 + 1.1.0-25-gaeda17d zip true ./ diff --git a/package.json b/package.json index 8ff2e73d02..ea1a531031 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/status_im/handlers.cljs b/src/status_im/handlers.cljs index d347211dc4..4cf21e07bf 100644 --- a/src/status_im/handlers.cljs +++ b/src/status_im/handlers.cljs @@ -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]) diff --git a/src/status_im/utils/instabug.cljs b/src/status_im/utils/instabug.cljs new file mode 100644 index 0000000000..990a866dd8 --- /dev/null +++ b/src/status_im/utils/instabug.cljs @@ -0,0 +1,5 @@ +(ns status-im.utils.instabug) + +(def instabug-rn (js/require "instabug-reactnative")) + +(defn log [str] (.IBGLog instabug-rn str))