2017-07-16 09:04:35 +00:00
|
|
|
(ns status-im.react-native.js-dependencies)
|
|
|
|
|
2019-05-22 05:50:49 +00:00
|
|
|
(def action-button (fn [] #js {:default #js {:Item #js {}}}))
|
|
|
|
(def config (fn [] #js {:default #js {}}))
|
|
|
|
(def camera (fn [] #js {:default #js {:constants #js {}}}))
|
|
|
|
(def dialogs (fn [] #js {}))
|
|
|
|
(def dismiss-keyboard (fn [] #js {}))
|
|
|
|
(def emoji-picker (fn [] #js {:default #js {}}))
|
|
|
|
(def fs (fn [] #js {}))
|
|
|
|
(def http-bridge (fn [] #js {}))
|
2018-05-18 09:52:25 +00:00
|
|
|
(def i18n #js {:locale "en"})
|
2019-02-02 17:21:05 +00:00
|
|
|
(def react-native-languages #js {:language "en", :addEventListener (fn []), :removeEventListener (fn [])})
|
2019-05-22 05:50:49 +00:00
|
|
|
(def image-crop-picker (fn [] #js {}))
|
|
|
|
(def image-resizer (fn [] #js {}))
|
|
|
|
(def qr-code (fn [] #js {}))
|
2017-07-16 09:04:35 +00:00
|
|
|
(def react-native
|
|
|
|
#js {:NativeModules #js {}
|
2017-07-21 13:03:24 +00:00
|
|
|
:Animated #js {:View #js {}
|
|
|
|
:Text #js {}}
|
2017-08-11 10:07:10 +00:00
|
|
|
:DeviceEventEmitter #js {:addListener (fn [])}
|
|
|
|
:Dimensions #js {:get (fn [])}})
|
2017-07-16 09:04:35 +00:00
|
|
|
(def realm #js {:schemaVersion (fn [])
|
2018-07-11 19:52:53 +00:00
|
|
|
:defaultPath "/tmp/realm"
|
2017-07-16 09:04:35 +00:00
|
|
|
:close (fn [])})
|
2019-05-22 05:50:49 +00:00
|
|
|
(def vector-icons (fn [] #js {:default #js {}}))
|
|
|
|
(def webview-bridge (fn [] #js {:default #js {}}))
|
|
|
|
(def webview (fn [] #js {:WebView #js {}}))
|
2019-05-30 14:01:20 +00:00
|
|
|
(def touchid (fn [] #js {}))
|
2019-05-22 05:50:49 +00:00
|
|
|
(def svg (fn [] #js {:default #js {}}))
|
|
|
|
(def status-keycard (fn [] #js {:default #js {}}))
|
2018-06-29 12:28:46 +00:00
|
|
|
|
|
|
|
(defrecord Notification [])
|
2019-05-22 05:50:49 +00:00
|
|
|
(def react-native-firebase (fn [] #js {:default #js {:notifications #js {:Notification Notification}}}))
|
2017-07-16 09:04:35 +00:00
|
|
|
|
2018-10-16 13:23:29 +00:00
|
|
|
(def desktop-linking #js {:addEventListener (fn [])})
|
2018-12-06 20:00:14 +00:00
|
|
|
(def desktop-shortcuts #js {:addEventListener (fn [])})
|
2018-10-16 13:23:29 +00:00
|
|
|
|
2019-05-22 05:50:49 +00:00
|
|
|
(def snoopy (fn [] #js {:default #js {}}))
|
|
|
|
(def snoopy-filter (fn [] #js {:default #js {}}))
|
|
|
|
(def snoopy-bars (fn [] #js {:default #js {}}))
|
|
|
|
(def snoopy-buffer (fn [] #js {:default #js {}}))
|
2018-01-15 10:04:39 +00:00
|
|
|
|
2019-05-22 05:50:49 +00:00
|
|
|
(def fetch (fn [] #js {}))
|
2018-06-18 12:59:15 +00:00
|
|
|
|
2019-05-22 05:50:49 +00:00
|
|
|
(def background-timer (fn [] #js {:setTimeout js/setTimeout
|
|
|
|
:setInterval js/setInterval
|
|
|
|
:clearTimeout js/clearTimeout
|
|
|
|
:clearInterval js/clearInterval}))
|
|
|
|
|
|
|
|
(def keychain (fn [] #js {:setGenericPassword (constantly (.resolve js/Promise true))}))
|
|
|
|
(def secure-random (fn [] #(.resolve js/Promise (clj->js (range 0 %)))))
|
2018-08-22 16:16:32 +00:00
|
|
|
(def react-navigation #js {:NavigationActions #js {}})
|
2019-01-13 18:30:34 +00:00
|
|
|
(def desktop-menu #js {})
|
|
|
|
(def desktop-config #js {})
|
2019-05-22 05:50:49 +00:00
|
|
|
(def react-native-mail (fn [] #js {:mail #js {}}))
|
2019-07-05 09:05:36 +00:00
|
|
|
(def react-native-navigation-twopane #js {})
|
2019-01-13 18:30:34 +00:00
|
|
|
|