-
Notifications
You must be signed in to change notification settings - Fork 986
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update react-native and project dependencies
Fix all prop-type and react-create-class errors Fix breaking changes in dependencies update rn-nodeify Resolve XCode project merge conflicts Add firebase to Pods
- Loading branch information
Showing
46 changed files
with
2,108 additions
and
1,640 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["react-native"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.pbxproj -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
keystore( | ||
name = "debug", | ||
properties = "debug.keystore.properties", | ||
store = "debug.keystore", | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
key.store=debug.keystore | ||
key.alias=androiddebugkey | ||
key.store.password=android | ||
key.alias.password=android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "StatusIm", | ||
"displayName": "StatusIm" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(ns env.config) | ||
|
||
(def figwheel-urls { | ||
:ios "ws://localhost:3449/figwheel-ws" | ||
:android "ws://10.0.2.2:3449/figwheel-ws" | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,31 @@ | ||
(ns ^:figwheel-no-load env.ios.main | ||
(:require [reagent.core :as r] | ||
[re-frisk-remote.core :as rr] | ||
[re-frame.core :as re-frame] | ||
[status-im.ios.core :as core] | ||
[status-im.utils.handlers :as utils.handlers] | ||
[figwheel.client :as figwheel :include-macros true] | ||
[cljs.pprint])) | ||
[figwheel.client :as figwheel] | ||
[re-frisk-remote.core :as rr] | ||
[env.config :as conf])) | ||
|
||
(enable-console-print!) | ||
|
||
(assert (exists? core/init) "Fatal Error - Your core.cljs file doesn't define an 'init' function!!! - Perhaps there was a compilation failure?") | ||
(assert (exists? core/app-root) "Fatal Error - Your core.cljs file doesn't define an 'app-root' function!!! - Perhaps there was a compilation failure?") | ||
|
||
(def cnt (r/atom 0)) | ||
(defn reloader [] @cnt [core/app-root]) | ||
|
||
;; Do not delete, root-el is used by the figwheel-bridge.js | ||
(def root-el (r/as-element [reloader])) | ||
|
||
(figwheel/watch-and-reload | ||
:websocket-url "ws://localhost:3449/figwheel-ws" | ||
:heads-up-display false | ||
:jsload-callback #(swap! cnt inc)) | ||
(defn callback [] | ||
(re-frame/clear-subscription-cache!) | ||
(swap! cnt inc) | ||
(status-im.native-module.core/init-jail) | ||
(re-frame/dispatch [:load-commands!])) | ||
|
||
(utils.handlers/add-pre-event-callback rr/pre-event-callback) | ||
(figwheel/watch-and-reload | ||
:websocket-url "ws://10.0.1.15:3449/figwheel-ws" | ||
:heads-up-display false | ||
:jsload-callback callback) | ||
|
||
(rr/enable-re-frisk-remote! {:host "localhost:4567" :on-init core/init}) | ||
(rr/enable-re-frisk-remote! {:host "localhost:4567" :on-init core/init :pre-send (fn [db] (update db :chats #(into {} %)))}) |
Oops, something went wrong.