Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 4121c29
Author: shamardy <shamardy@yahoo.com>
Date:   Wed Jul 10 15:18:46 2019 +0200

    fix desktop dependencies

commit 51ad41b
Author: shamardy <shamardy@yahoo.com>
Date:   Mon Jun 24 08:51:09 2019 +0200

    fix

commit 5383bf8
Author: shamardy <shamardy@yahoo.com>
Date:   Sun Jun 23 08:31:35 2019 +0200

    fix

commit 97087a4
Author: shamardy <shamardy@yahoo.com>
Date:   Sun Jun 23 04:54:58 2019 +0200

    fix

commit 74b2ad3
Author: shamardy <shamardy@yahoo.com>
Date:   Thu Jun 20 08:13:08 2019 +0200

    fix project.pbxproj

commit 2eeb4d5
Author: shamardy <shamardy@yahoo.com>
Date:   Thu Jun 20 07:20:34 2019 +0200

    fix project.pbxproj

commit 58bdcac
Author: shamardy <shamardy@yahoo.com>
Date:   Thu Jun 20 06:58:54 2019 +0200

    fix

commit 2fe99a9
Author: shamardy <shamardy@yahoo.com>
Date:   Wed Jun 19 06:08:45 2019 +0200

    fix

commit b3e514e
Author: shamardy <shamardy@yahoo.com>
Date:   Tue Jun 18 20:26:37 2019 +0200

    Squashed commit of the following:

    commit 56ae978
    Author: shamardy <shamardy@yahoo.com>
    Date:   Tue Jun 18 20:18:47 2019 +0200

        Fix Podfile.lock

    commit e3b5368
    Author: shamardy <shamardy@yahoo.com>
    Date:   Sun Jun 16 17:11:55 2019 +0200

        fix

    commit ffc4b2f
    Author: shamardy <shamardy@yahoo.com>
    Date:   Sun Jun 16 16:29:57 2019 +0200

        fix fast-image-class

    commit a7dfa66
    Author: shamardy <shamardy@yahoo.com>
    Date:   Sun Jun 16 03:11:35 2019 +0200

        Squashed commit of the following:

        commit cd7f03e
        Author: shamardy <shamardy@yahoo.com>
        Date:   Sun Jun 16 02:56:31 2019 +0200

            Fixes

        commit 2cc1243
        Author: shamardy <shamardy@yahoo.com>
        Date:   Wed Jun 12 05:50:56 2019 +0200

            Use FastImage instead of Native Image

        commit d404c04
        Author: shamardy <shamardy@yahoo.com>
        Date:   Mon Jun 10 14:55:13 2019 +0200

            Squashed commit of the following:

            commit 42c89c1
            Author: shamardy <shamardy@yahoo.com>
            Date:   Mon Jun 10 14:48:12 2019 +0200

                Use react-native-fast-image for remote images
  • Loading branch information
shamardy committed Jul 10, 2019
1 parent 7516243 commit b0da535
Show file tree
Hide file tree
Showing 14 changed files with 113 additions and 64 deletions.
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ android {
}

dependencies {
implementation project(':react-native-fast-image')
implementation project(':react-native-background-timer')
implementation project(':react-native-svg')
implementation 'com.android.support:multidex:1.0.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import com.aakashns.reactnativedialogs.ReactNativeDialogsPackage;
import com.facebook.react.ReactApplication;
import com.dylanvann.fastimage.FastImageViewPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
Expand Down Expand Up @@ -55,6 +56,7 @@ protected List<ReactPackage> getPackages() {
Function<String, String> callRPC = statusPackage.getCallRPC();
return Arrays.asList(
new MainReactPackage(),
new FastImageViewPackage(),
new RNMail(),
new RNFirebasePackage(),
new RNFirebaseMessagingPackage(),
Expand Down
2 changes: 2 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
rootProject.name = 'StatusIm'
include ':react-native-fast-image'
project(':react-native-fast-image').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fast-image/android')
include ':react-native-nfc-manager'
project(':react-native-nfc-manager').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-nfc-manager/android')
include ':react-native-firebase'
Expand Down
1 change: 1 addition & 0 deletions clj-rn.conf.edn
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"i18n-js"
"realm/react-native"
"dismissKeyboard"
"react-native-fast-image"
"react-native-splash-screen"
"react-native-status"
"react-native-status-keycard"
Expand Down
9 changes: 6 additions & 3 deletions components/src/status_im/ui/components/react.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@

(def text-class ((get-class "Text")))
(def text-input-class (get-class "TextInput"))
(def image-class (get-class "Image"))
(def picker-obj (lazy-get-react-property "Picker"))
(defn picker-class [] (adapt-class (picker-obj)))
(defn picker-item-class [] (adapt-class (.-Item (picker-obj))))
Expand All @@ -72,10 +71,14 @@
(and (contains? source :uri)
(:uri source))))

(def fast-image-class js-dependencies/fast-image)

(defn image [{:keys [source] :as props}]
(when (valid-source? source)
(let [source (if (fn? source) (source) source)]
[(image-class) (assoc props :source source)])))
(let [source (if (fn? source) (source) source)
fast-image (.-default (fast-image-class))]

[(fast-image) (assoc props :source source)])))

(def switch-class (get-class "Switch"))

Expand Down
1 change: 1 addition & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ target 'StatusIm' do
pod 'React', :path => '../node_modules/react-native'
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'react-native-background-timer', :path => '../node_modules/react-native-background-timer'
pod 'react-native-fast-image', :path => '../node_modules/react-native-fast-image'
pod 'RNKeychain', :path => '../node_modules/react-native-keychain'
pod 'react-native-camera', path: '../node_modules/react-native-camera'
pod 'react-native-webview', path: '../node_modules/react-native-webview'
Expand Down
145 changes: 84 additions & 61 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,52 +1,61 @@
PODS:
- Firebase/Core (5.7.0):
- Firebase/Core (6.3.0):
- Firebase/CoreOnly
- FirebaseAnalytics (= 5.1.1)
- Firebase/CoreOnly (5.7.0):
- FirebaseCore (= 5.1.2)
- Firebase/Messaging (5.7.0):
- FirebaseAnalytics (= 6.0.2)
- Firebase/CoreOnly (6.3.0):
- FirebaseCore (= 6.0.3)
- Firebase/Messaging (6.3.0):
- Firebase/CoreOnly
- FirebaseMessaging (= 3.1.1)
- FirebaseAnalytics (5.1.1):
- FirebaseCore (~> 5.1)
- FirebaseInstanceID (~> 3.2)
- GoogleAppMeasurement (~> 5.1)
- GoogleUtilities/AppDelegateSwizzler (~> 5.2.0)
- GoogleUtilities/MethodSwizzler (~> 5.2.0)
- GoogleUtilities/Network (~> 5.2)
- "GoogleUtilities/NSData+zlib (~> 5.2)"
- FirebaseMessaging (~> 4.1.0)
- FirebaseAnalytics (6.0.2):
- FirebaseCore (~> 6.0)
- FirebaseInstanceID (~> 4.2)
- GoogleAppMeasurement (= 6.0.2)
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (~> 0.3)
- FirebaseCore (5.1.2):
- GoogleUtilities/Logger (~> 5.2)
- FirebaseInstanceID (3.2.1):
- FirebaseCore (~> 5.1)
- GoogleUtilities/Environment (~> 5.2)
- FirebaseMessaging (3.1.1):
- FirebaseCore (~> 5.0)
- FirebaseInstanceID (~> 3.0)
- GoogleUtilities/Reachability (~> 5.2)
- FirebaseAnalyticsInterop (1.2.0)
- FirebaseCore (6.0.3):
- GoogleUtilities/Environment (~> 6.0)
- GoogleUtilities/Logger (~> 6.0)
- FirebaseInstanceID (4.2.0):
- FirebaseCore (~> 6.0)
- GoogleUtilities/Environment (~> 6.0)
- GoogleUtilities/UserDefaults (~> 6.0)
- FirebaseMessaging (4.1.0):
- FirebaseAnalyticsInterop (~> 1.1)
- FirebaseCore (~> 6.0)
- FirebaseInstanceID (~> 4.1)
- GoogleUtilities/AppDelegateSwizzler (~> 6.2)
- GoogleUtilities/Environment (~> 6.2)
- GoogleUtilities/Reachability (~> 6.2)
- GoogleUtilities/UserDefaults (~> 6.2)
- Protobuf (~> 3.1)
- GoogleAppMeasurement (5.1.1):
- GoogleUtilities/AppDelegateSwizzler (~> 5.2.0)
- GoogleUtilities/MethodSwizzler (~> 5.2.0)
- GoogleUtilities/Network (~> 5.2)
- "GoogleUtilities/NSData+zlib (~> 5.2)"
- GoogleAppMeasurement (6.0.2):
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (~> 0.3)
- GoogleUtilities/AppDelegateSwizzler (5.2.2):
- GoogleUtilities/AppDelegateSwizzler (6.2.0):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (5.2.2)
- GoogleUtilities/Logger (5.2.2):
- GoogleUtilities/Environment (6.2.0)
- GoogleUtilities/Logger (6.2.0):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (5.2.2):
- GoogleUtilities/MethodSwizzler (6.2.0):
- GoogleUtilities/Logger
- GoogleUtilities/Network (5.2.2):
- GoogleUtilities/Network (6.2.0):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (5.2.2)"
- GoogleUtilities/Reachability (5.2.2):
- "GoogleUtilities/NSData+zlib (6.2.0)"
- GoogleUtilities/Reachability (6.2.0):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (6.2.0):
- GoogleUtilities/Logger
- nanopb (0.3.8):
- nanopb/decode (= 0.3.8)
Expand All @@ -58,26 +67,32 @@ PODS:
- React/Core (= 0.59.10)
- react-native-background-timer (2.1.0-alpha.6):
- React
- react-native-camera (1.1.5):
- react-native-camera (2.10.2):
- React
- react-native-camera/RCT (= 2.10.2)
- react-native-camera/RN (= 2.10.2)
- react-native-camera/RCT (2.10.2):
- React
- react-native-camera/RCT (= 1.1.5)
- react-native-camera/RN (= 1.1.5)
- react-native-camera/RCT (1.1.5):
- react-native-camera/RN (2.10.2):
- React
- react-native-camera/RN (1.1.5):
- react-native-fast-image (6.0.3):
- React
- react-native-webview (5.2.1):
- SDWebImage (~> 5.0)
- react-native-webview (5.12.0):
- React
- React/Core (0.59.10):
- yoga (= 0.59.10.React)
- RNKeychain (3.0.0-rc.3):
- React
- SDWebImage (5.0.6):
- SDWebImage/Core (= 5.0.6)
- SDWebImage/Core (5.0.6)
- SQLCipher (3.4.2):
- SQLCipher/standard (= 3.4.2)
- SQLCipher/common (3.4.2)
- SQLCipher/standard (3.4.2):
- SQLCipher/common
- SSZipArchive (2.1.4)
- SSZipArchive (2.2.2)
- TouchID (4.4.1):
- React
- yoga (0.59.10.React)
Expand All @@ -88,6 +103,7 @@ DEPENDENCIES:
- React (from `../node_modules/react-native`)
- react-native-background-timer (from `../node_modules/react-native-background-timer`)
- react-native-camera (from `../node_modules/react-native-camera`)
- react-native-fast-image (from `../node_modules/react-native-fast-image`)
- react-native-webview (from `../node_modules/react-native-webview`)
- RNKeychain (from `../node_modules/react-native-keychain`)
- SQLCipher (~> 3.0)
Expand All @@ -99,13 +115,15 @@ SPEC REPOS:
https://github.com/cocoapods/specs.git:
- Firebase
- FirebaseAnalytics
- FirebaseAnalyticsInterop
- FirebaseCore
- FirebaseInstanceID
- FirebaseMessaging
- GoogleAppMeasurement
- GoogleUtilities
- nanopb
- Protobuf
- SDWebImage
- SQLCipher
- SSZipArchive

Expand All @@ -116,6 +134,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-background-timer"
react-native-camera:
:path: "../node_modules/react-native-camera"
react-native-fast-image:
:path: "../node_modules/react-native-fast-image"
react-native-webview:
:path: "../node_modules/react-native-webview"
RNKeychain:
Expand All @@ -126,25 +146,28 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
Firebase: 734a4f92957aa6c40e7ae3fda3d9359e1890aa87
FirebaseAnalytics: 993577e91157feb40945abedd6ab346d8a4b6ac8
FirebaseCore: 3a97432acb324b439fbed338e642f9cbb516a63d
FirebaseInstanceID: ea5af6920d0a4a29b40459d055bebe4a6c1333c4
FirebaseMessaging: 698c94dd1e3436346c29bb9c85dcdca4c4a0c30b
GoogleAppMeasurement: f7507b39b70ad0bd80b3d81518b2f43868974307
GoogleUtilities: 06b66f9567769a7958db20a92f0128b2843e49d5
nanopb: 5601e6bca2dbf1ed831b519092ec110f66982ca3
Protobuf: 1eb9700044745f00181c136ef21b8ff3ad5a0fd5
React: 1d605e098d69bdf08960787f3446f0a9dc2e2ccf
react-native-background-timer: bb7a98c8e97fc7c290de2d423dd09ddb73dcbcbb
react-native-camera: 68ad5143d2d0636236d46c7de8d2a6455ca52a36
react-native-webview: a42108b827082f8f0333529b0772102031d5960d
RNKeychain: 627c6095cef215dd3d9804a9a9cf45ab96aa3997
Firebase: 8432d732974498afd5987e9001a05f90f1a3d625
FirebaseAnalytics: 470ddab7253b21ad5a40bebd4a9903d7ae19386a
FirebaseAnalyticsInterop: efbe45c8385ec626e29f9525e5ebd38520dfb6c1
FirebaseCore: 68f8a7f50cdae542715d4e86afa37c4067217dcb
FirebaseInstanceID: f20243a1d828e0e9a3798b995174dedc16f1b32a
FirebaseMessaging: 0ac5310133e6ada4cdd44d42e92038855214a5e9
GoogleAppMeasurement: a35a645835bae31b6bdc0576396bc23908f12a22
GoogleUtilities: 996e0db07153674fd1b54b220fda3a3dc3547cba
nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48
Protobuf: 3f617b9a6e73605565086864c9bc26b2bf2dd5a3
React: a86b92f00edbe1873a63e4a212c29b7a7ad5224f
react-native-background-timer: 0d34748e53a972507c66963490c775321a88f6f2
react-native-camera: ea85f74cf2e501d2a91a3da7092ecdac082f18df
react-native-fast-image: 3390cc968d598f0c6b5c710df138f4b653a87231
react-native-webview: 26d8993b090ca5d59eb9a9466dcb8291baa3223e
RNKeychain: c658833a9cb2cbcba6423bdd6e16cce59e27da0e
SDWebImage: 920f1a2ff1ca8296ad34f6e0510a1ef1d70ac965
SQLCipher: f9fcf29b2e59ced7defc2a2bdd0ebe79b40d4990
SSZipArchive: 41455d4b8d2b6ab93990820b50dc697c2554a322
TouchID: b0640fedb86fa2db2fe1df15b61594ad49e76288
yoga: 128daf064cacaede0c3bb27424b6b4c71052e6cd
SSZipArchive: fa16b8cc4cdeceb698e5e5d9f67e9558532fbf23
TouchID: ba4c656d849cceabc2e4eef722dea5e55959ecf4
yoga: 03ff42a6f223fb88deeaed60249020d80c3091ee

PODFILE CHECKSUM: 13006106aa0716d54fffebf8dcb42006f0fb8798
PODFILE CHECKSUM: 856a96a1adadd7f3831627fa279e4d525b38e72f

COCOAPODS: 1.5.3
COCOAPODS: 1.7.2
6 changes: 6 additions & 0 deletions ios/StatusIm.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@
9ED2F45D1D9D52DD00B36508 /* SF-UI-Text-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Regular.otf"; sourceTree = "<group>"; };
9ED2F4601D9D577B00B36508 /* SF-UI-Text-Bold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Bold.otf"; sourceTree = "<group>"; };
9EF083381F3B538A00876A8F /* ReactNativeConfig.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeConfig.xcodeproj; path = "../node_modules/react-native-config/ios/ReactNativeConfig.xcodeproj"; sourceTree = "<group>"; };
A07BA982B9DE419EA289491E /* FastImage.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = FastImage.xcodeproj; path = "../node_modules/react-native-fast-image/ios/FastImage.xcodeproj"; sourceTree = "<group>"; };
A4F2BBE8D4DD4140A6CCAC39 /* Inter-SemiBoldItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-SemiBoldItalic.otf"; path = "../resources/fonts/Inter-SemiBoldItalic.otf"; sourceTree = "<group>"; };
ABC194DC2210099B00EB06E6 /* RNLanguages.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RNLanguages.xcodeproj; path = "../node_modules/react-native-languages/ios/RNLanguages.xcodeproj"; sourceTree = "<group>"; };
ACA66A8F16CD2FE21F38738B /* Pods-StatusIm.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StatusIm.debug.xcconfig"; path = "Pods/Target Support Files/Pods-StatusIm/Pods-StatusIm.debug.xcconfig"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1001,6 +1002,7 @@
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
A07BA982B9DE419EA289491E /* FastImage.xcodeproj */,
305F194186D848FDB07AF34C /* RNFS.xcodeproj */,
F090E261B9854867A728CE4F /* RealmReact.xcodeproj */,
38E1A2C8D0734EE99E2B16CE /* TcpSockets.xcodeproj */,
Expand Down Expand Up @@ -1285,6 +1287,10 @@
productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = FCB20344226EA27900FF4BB3 /* Products */;
ProjectRef = A07BA982B9DE419EA289491E /* FastImage.xcodeproj */;
},
{
ProductGroup = 20A5C94C1D927137002C4965 /* Products */;
ProjectRef = 20A5C94B1D927137002C4965 /* imageCropPicker.xcodeproj */;
Expand Down
1 change: 1 addition & 0 deletions mobile_files/package.json.orig
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"react-native-tcp": "git+https://github.com/status-im/react-native-tcp.git#v3.3.0-1-status",
"react-native-touch-id": "^4.4.1",
"react-native-udp": "git+https://github.com/status-im/react-native-udp.git#v2.3.1-1-status",
"react-native-fast-image": "^6.0.3",
"react-native-webview": "^5.2.1",
"react-native-webview-bridge": "git+https://github.com/status-im/react-native-webview-bridge.git#fix/classnames-colision",
"react-navigation": "^3.11.0",
Expand Down
5 changes: 5 additions & 0 deletions mobile_files/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5764,6 +5764,11 @@ react-native-touch-id@^4.4.1:
ip-regex "^1.0.3"
util "^0.10.3"

react-native-fast-image@^6.0.3:
version "6.0.3"
resolved "https://registry.yarnpkg.com/react-native-fast-image/-/react-native-fast-image-6.0.3.tgz#e644076c5e21dd8695db07905779352b2b9c1cb8"
integrity sha512-49OdbWV0XD2mb5VTdLRJCQ9qpMgGdliRwHSue/aJxgLLLmDK6dmFIJ/LvEn0F9e5Je16K++5lS6yJAACvvxAfw==

"react-native-webview-bridge@git+https://github.com/status-im/react-native-webview-bridge.git#fix/classnames-colision":
version "0.33.16"
resolved "git+https://github.com/status-im/react-native-webview-bridge.git#26c75b82b78ab9e91812d14d39d9dcfd68bd83d8"
Expand Down
1 change: 1 addition & 0 deletions packager/modulePaths.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ module.exports = [
"node_modules/react-native-svg/elements/ClipPath.js",
"node_modules/react-native-svg/elements/Pattern.js",
"node_modules/react-native-svg/elements/Mask.js",
"node_modules/react-native-fast-image/src/index.js",
"node_modules/react-native-firebase/dist/index.js",
"node_modules/react-native-firebase/dist/modules/core/firebase.js",
"node_modules/react-native-firebase/dist/utils/apps.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
(def status-keycard (fn [] #js {:default #js {}}))
(def dialogs (fn [] #js {}))
(def dismiss-keyboard (fn [] #js {}))
(def fast-image (fn [] #js {}))
(def image-crop-picker (fn [] #js {}))
(def image-resizer (fn [] #js {}))
(def svg #js {})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
(def camera (js-require/js-require "react-native-camera"))
(def dialogs (js-require/js-require "react-native-dialogs"))
(def dismiss-keyboard (js-require/js-require "dismissKeyboard"))
(def fast-image (js-require/js-require "react-native-fast-image"))
(def image-crop-picker (js-require/js-require "react-native-image-crop-picker"))
(def image-resizer (js-require/js-require "react-native-image-resizer"))
(def svg (js/require "react-native-svg"))
Expand Down
1 change: 1 addition & 0 deletions test/cljs/status_im/react_native/js_dependencies.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
(def http-bridge (fn [] #js {}))
(def i18n #js {:locale "en"})
(def react-native-languages #js {:language "en", :addEventListener (fn []), :removeEventListener (fn [])})
(def fast-image (fn [] #js {:FastImage #js {}}))
(def image-crop-picker (fn [] #js {}))
(def image-resizer (fn [] #js {}))
(def qr-code (fn [] #js {}))
Expand Down

0 comments on commit b0da535

Please sign in to comment.