diff --git a/.re-natal b/.re-natal index 5870e1e456..b629b7de5b 100644 --- a/.re-natal +++ b/.re-natal @@ -5,8 +5,7 @@ "modules": [ "react-native-contacts", "react-native-invertible-scroll-view", - "awesome-phonenumber", - "web3" + "awesome-phonenumber" ], "imageDirs": [ "images" diff --git a/package.json b/package.json index b3682689a5..0e1f52c038 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "react-native": "^0.21.0", "react-native-contacts": "^0.2.1", "react-native-i18n": "0.0.8", - "react-native-invertible-scroll-view": "^0.2.0", - "web3": "^0.15.3" + "react-native-invertible-scroll-view": "^0.2.0" } } diff --git a/project.clj b/project.clj index 536af542ba..e239682262 100644 --- a/project.clj +++ b/project.clj @@ -7,6 +7,7 @@ [org.clojure/clojurescript "1.7.170"] [org.omcljs/om "1.0.0-alpha28" :exclusions [cljsjs/react cljsjs/react-dom]] [natal-shell "0.1.6"] + [cljsjs/web3 "0.15.3-0"] [syng-im/protocol "0.1.0"]] :plugins [[lein-cljsbuild "1.1.1"] [lein-figwheel "0.5.0-2"]] @@ -31,10 +32,7 @@ :compiler {:output-to "target/android/not-used.js" :main "env.android.main" :output-dir "target/android" - :optimizations :none - :foreign-libs [{:file "resources/vendor/js/web3.js" - :file-min "resources/vendor/js/web3.min.js" - :provides ["cljsjs.web3"]}]}}}} + :optimizations :none}}}} :repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}} :prod {:cljsbuild {:builds {:ios {:source-paths ["src" "env/prod"] diff --git a/src/messenger/android/login.cljs b/src/messenger/android/login.cljs index de2ba82f04..5e7f0ef3d7 100644 --- a/src/messenger/android/login.cljs +++ b/src/messenger/android/login.cljs @@ -43,7 +43,8 @@ (defn get-whisper-identity-handler [phone-number] (fn [identity] - (if identity + ;; TODO to test newIdentity. Change to 'identity' to use saved identity. + (if false ;; identity (sign-in phone-number identity) (get-identity (fn [error identity] (if (not error)