Skip to content

Commit b1fe992

Browse files
authored
Merge pull request #244 from internxt/release/1.6.0
[_] : Release/1.6.0
2 parents 937f427 + 540af74 commit b1fe992

File tree

37 files changed

+715
-330
lines changed

37 files changed

+715
-330
lines changed

__mocks__/react-native-fs.ts renamed to __mocks__/@dr.pogodin/react-native-fs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
jest.mock('react-native-fs', () => {
1+
jest.mock('@dr.pogodin/react-native-fs', () => {
22
return {
33
mkdir: jest.fn(),
44
moveFile: jest.fn(),

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ android {
8888
applicationId 'com.internxt.cloud'
8989
minSdkVersion rootProject.ext.minSdkVersion
9090
targetSdkVersion rootProject.ext.targetSdkVersion
91-
versionCode 95
92-
versionName "1.5.38"
91+
versionCode 99
92+
versionName "1.6.0"
9393

9494
buildConfigField("boolean", "REACT_NATIVE_UNSTABLE_USE_RUNTIME_SCHEDULER_ALWAYS", (findProperty("reactNative.unstable_useRuntimeSchedulerAlways") ?: true).toString())
9595
}

android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
xmlns:tools="http://schemas.android.com/tools">
23
<uses-permission android:name="android.permission.DETECT_SCREEN_CAPTURE"/>
34
<uses-permission android:name="android.permission.INTERNET"/>
45
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

android/app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<string name="app_name">Internxt</string>
33
<string name="expo_splash_screen_resize_mode" translatable="false">cover</string>
44
<string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string>
5-
<string name="expo_runtime_version">1.5.38</string>
5+
<string name="expo_runtime_version">1.6.0</string>
66
</resources>

assets/lang/strings.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const strings = new LocalizedStrings({
1414
current: 'Current',
1515
new: 'New',
1616
calculating: 'Calculating',
17+
decrypting: 'Decrypting',
1718
atTime: 'at',
1819
loading: 'Loading',
1920
downloading: 'Downloading...',
@@ -647,6 +648,7 @@ const strings = new LocalizedStrings({
647648
confirmDeleteSharedLink: 'Users with the link will lose access to the shared content.',
648649
linkDeleted: 'Link deleted successfully',
649650
trashEmpty: 'Trash is empty',
651+
downloadLimit: 'The download limit in mobile app is 5GB.',
650652
},
651653
errors: {
652654
runtimeLogsMissing: 'The logs file is missing or empty',
@@ -675,7 +677,6 @@ const strings = new LocalizedStrings({
675677
unknown: 'Unknown error',
676678
uploadFile: 'File upload error: {0}',
677679
storageLimitReached: 'You have reached your storage limit',
678-
679680
inviteAFriend: 'Error sending invitation: {0}',
680681
loadProducts: 'Cannot load products: {0}',
681682
passwordsDontMatch: "Passwords don't match",
@@ -697,6 +698,7 @@ const strings = new LocalizedStrings({
697698
changePassword: 'Error changing password',
698699
loadPrices: 'Error loading prices',
699700
cancelSubscription: 'Error cancelling subscription',
701+
notEnoughSpaceOnDevice: 'Not enough storage space available for download',
700702
},
701703
},
702704
es: {
@@ -708,6 +710,7 @@ const strings = new LocalizedStrings({
708710
current: 'Actual',
709711
new: 'Nuevo',
710712
calculating: 'Calculando',
713+
decrypting: 'Desencriptando',
711714
atTime: 'a las',
712715
loading: 'Cargando',
713716
security: 'Seguridad',
@@ -1345,6 +1348,7 @@ const strings = new LocalizedStrings({
13451348
confirmDeleteSharedLink: 'Los usuarios con el link compartido perderán el acceso a este contenido compartido.',
13461349
linkDeleted: 'Link eliminado correctamente',
13471350
trashEmpty: 'Papelera vaciada',
1351+
downloadLimit: 'El límite de descarga en la app movil son 5GB',
13481352
},
13491353
errors: {
13501354
runtimeLogsMissing: 'El archivo no se encuentra o está vacío',
@@ -1394,6 +1398,7 @@ const strings = new LocalizedStrings({
13941398
changePassword: 'Error cambiando contraseña',
13951399
loadPrices: 'Error cargando precios',
13961400
cancelSubscription: 'Error cancelando suscripción',
1401+
notEnoughSpaceOnDevice: 'No hay suficiente espacio de almacenamiento disponible para la descarga',
13971402
},
13981403
},
13991404
});

ios/Internxt.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@
280280
"${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/ReachabilitySwift.bundle",
281281
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/RCTI18nStrings.bundle",
282282
"${PODS_CONFIGURATION_BUILD_DIR}/Rudder/Rudder.bundle",
283+
"${PODS_CONFIGURATION_BUILD_DIR}/dr-pogodin-react-native-fs/RNFS_PrivacyInfo.bundle",
283284
);
284285
name = "[CP] Copy Pods Resources";
285286
outputPaths = (
@@ -293,6 +294,7 @@
293294
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ReachabilitySwift.bundle",
294295
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RCTI18nStrings.bundle",
295296
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Rudder.bundle",
297+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNFS_PrivacyInfo.bundle",
296298
);
297299
runOnlyForDeploymentPostprocessing = 0;
298300
shellPath = /bin/sh;
@@ -343,7 +345,7 @@
343345
);
344346
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
345347
PRODUCT_BUNDLE_IDENTIFIER = com.internxt.snacks;
346-
PRODUCT_NAME = "Internxt";
348+
PRODUCT_NAME = Internxt;
347349
SWIFT_OBJC_BRIDGING_HEADER = "Internxt/Internxt-Bridging-Header.h";
348350
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
349351
SWIFT_VERSION = 5.0;
@@ -374,7 +376,7 @@
374376
);
375377
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
376378
PRODUCT_BUNDLE_IDENTIFIER = com.internxt.snacks;
377-
PRODUCT_NAME = "Internxt";
379+
PRODUCT_NAME = Internxt;
378380
SWIFT_OBJC_BRIDGING_HEADER = "Internxt/Internxt-Bridging-Header.h";
379381
SWIFT_VERSION = 5.0;
380382
TARGETED_DEVICE_FAMILY = "1,2";

ios/Internxt/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundlePackageType</key>
2020
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>1.5.38</string>
22+
<string>1.6.0</string>
2323
<key>CFBundleSignature</key>
2424
<string>????</string>
2525
<key>CFBundleURLTypes</key>
@@ -33,7 +33,7 @@
3333
</dict>
3434
</array>
3535
<key>CFBundleVersion</key>
36-
<string>5</string>
36+
<string>11</string>
3737
<key>LSRequiresIPhoneOS</key>
3838
<true/>
3939
<key>NSAppTransportSecurity</key>

ios/Internxt/Supporting/Expo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<key>EXUpdatesLaunchWaitMs</key>
1010
<integer>0</integer>
1111
<key>EXUpdatesRuntimeVersion</key>
12-
<string>1.5.38</string>
12+
<string>1.6.0</string>
1313
<key>EXUpdatesURL</key>
1414
<string>https://u.expo.dev/680f4feb-6315-4a50-93ec-36dcd0b831d2</string>
1515
</dict>

ios/Podfile.lock

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
PODS:
22
- boost (1.83.0)
33
- DoubleConversion (1.1.6)
4+
- dr-pogodin-react-native-fs (2.27.0):
5+
- glog
6+
- RCT-Folly (= 2022.05.16.00)
7+
- React-Core
48
- EASClient (0.11.2):
59
- ExpoModulesCore
610
- EXConstants (15.4.6):
@@ -938,9 +942,13 @@ PODS:
938942
- React-Mapbuffer (0.73.6):
939943
- glog
940944
- React-debug
945+
- react-native-create-thumbnail (2.0.0):
946+
- React-Core
941947
- react-native-document-picker (4.3.0):
942948
- React-Core
943-
- react-native-image-picker (4.10.3):
949+
- react-native-image-picker (7.1.2):
950+
- glog
951+
- RCT-Folly (= 2022.05.16.00)
944952
- React-Core
945953
- react-native-pdf (6.7.5):
946954
- React-Core
@@ -1134,7 +1142,7 @@ PODS:
11341142
- React-Core
11351143
- RealmJS (11.10.2):
11361144
- React
1137-
- rn-crypto (0.1.12):
1145+
- rn-crypto (0.1.14):
11381146
- IDZSwiftCommonCrypto (~> 0.13)
11391147
- React-Core
11401148
- rn-fetch-blob (0.11.2):
@@ -1151,8 +1159,6 @@ PODS:
11511159
- React-Core
11521160
- RNFlashList (1.6.3):
11531161
- React-Core
1154-
- RNFS (2.20.0):
1155-
- React-Core
11561162
- RNGestureHandler (2.14.1):
11571163
- glog
11581164
- RCT-Folly (= 2022.05.16.00)
@@ -1195,6 +1201,7 @@ PODS:
11951201
DEPENDENCIES:
11961202
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
11971203
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
1204+
- "dr-pogodin-react-native-fs (from `../node_modules/@dr.pogodin/react-native-fs`)"
11981205
- EASClient (from `../node_modules/expo-eas-client/ios`)
11991206
- EXConstants (from `../node_modules/expo-constants/ios`)
12001207
- EXFont (from `../node_modules/expo-font/ios`)
@@ -1246,6 +1253,7 @@ DEPENDENCIES:
12461253
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector-modern`)
12471254
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
12481255
- React-Mapbuffer (from `../node_modules/react-native/ReactCommon`)
1256+
- react-native-create-thumbnail (from `../node_modules/react-native-create-thumbnail`)
12491257
- react-native-document-picker (from `../node_modules/react-native-document-picker`)
12501258
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
12511259
- react-native-pdf (from `../node_modules/react-native-pdf`)
@@ -1284,7 +1292,6 @@ DEPENDENCIES:
12841292
- RNFastImage (from `../node_modules/react-native-fast-image`)
12851293
- RNFileViewer (from `../node_modules/react-native-file-viewer`)
12861294
- "RNFlashList (from `../node_modules/@shopify/flash-list`)"
1287-
- RNFS (from `../node_modules/react-native-fs`)
12881295
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
12891296
- RNPermissions (from `../node_modules/react-native-permissions`)
12901297
- RNReanimated (from `../node_modules/react-native-reanimated`)
@@ -1314,6 +1321,8 @@ EXTERNAL SOURCES:
13141321
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
13151322
DoubleConversion:
13161323
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
1324+
dr-pogodin-react-native-fs:
1325+
:path: "../node_modules/@dr.pogodin/react-native-fs"
13171326
EASClient:
13181327
:path: "../node_modules/expo-eas-client/ios"
13191328
EXConstants:
@@ -1412,6 +1421,8 @@ EXTERNAL SOURCES:
14121421
:path: "../node_modules/react-native/ReactCommon/logger"
14131422
React-Mapbuffer:
14141423
:path: "../node_modules/react-native/ReactCommon"
1424+
react-native-create-thumbnail:
1425+
:path: "../node_modules/react-native-create-thumbnail"
14151426
react-native-document-picker:
14161427
:path: "../node_modules/react-native-document-picker"
14171428
react-native-image-picker:
@@ -1488,8 +1499,6 @@ EXTERNAL SOURCES:
14881499
:path: "../node_modules/react-native-file-viewer"
14891500
RNFlashList:
14901501
:path: "../node_modules/@shopify/flash-list"
1491-
RNFS:
1492-
:path: "../node_modules/react-native-fs"
14931502
RNGestureHandler:
14941503
:path: "../node_modules/react-native-gesture-handler"
14951504
RNPermissions:
@@ -1510,6 +1519,7 @@ EXTERNAL SOURCES:
15101519
SPEC CHECKSUMS:
15111520
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
15121521
DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953
1522+
dr-pogodin-react-native-fs: 3a0fa8611f662cafd0059aede51c56099deada1e
15131523
EASClient: a42ee8bf36c93b3128352faf2ae49405ab4f80bd
15141524
EXConstants: a5f6276e565d98f9eb4280f81241fc342d641590
15151525
EXFont: f20669cb266ef48b004f1eb1f2b20db96cd1df9f
@@ -1564,8 +1574,9 @@ SPEC CHECKSUMS:
15641574
React-jsinspector: 85583ef014ce53d731a98c66a0e24496f7a83066
15651575
React-logger: 3eb80a977f0d9669468ef641a5e1fabbc50a09ec
15661576
React-Mapbuffer: 84ea43c6c6232049135b1550b8c60b2faac19fab
1577+
react-native-create-thumbnail: ab55d24aea01723cf386f18b0b542aabb1982f27
15671578
react-native-document-picker: 20f652c2402d3ddc81f396d8167c3bd978add4a2
1568-
react-native-image-picker: 60f4246eb5bb7187fc15638a8c1f13abd3820695
1579+
react-native-image-picker: d3db110a3ded6e48c93aef7e8e51afdde8b16ed0
15691580
react-native-pdf: 103940c90d62adfd259f63cca99c7c0c306b514c
15701581
react-native-pdf-thumbnail: 390b1bc4b115b613ca61d6b14cbc712b3621b1df
15711582
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
@@ -1595,14 +1606,13 @@ SPEC CHECKSUMS:
15951606
ReactCommon: 447281ad2034ea3252bf81a60d1f77d5afb0b636
15961607
ReactNativeLocalization: fb171138cdc80d5d0d4f20243d2fc82c2b3cc48f
15971608
RealmJS: 73a36da3cbbe85e1bdcbf55683172b51f35070d3
1598-
rn-crypto: 160ce10c618571e5c051c8e12315df0b04ac7c3e
1609+
rn-crypto: 11206fba572b93aa936f225fa7e9dec24a330a58
15991610
rn-fetch-blob: f525a73a78df9ed5d35e67ea65e79d53c15255bc
16001611
RNCAsyncStorage: 618d03a5f52fbccb3d7010076bc54712844c18ef
16011612
RNDeviceInfo: aad3c663b25752a52bf8fce93f2354001dd185aa
16021613
RNFastImage: 5c9c9fed9c076e521b3f509fe79e790418a544e8
16031614
RNFileViewer: ce7ca3ac370e18554d35d6355cffd7c30437c592
16041615
RNFlashList: 4b4b6b093afc0df60ae08f9cbf6ccd4c836c667a
1605-
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
16061616
RNGestureHandler: 15c6ef51acba34c49ff03003806cf5dd6098f383
16071617
RNPermissions: 4e3714e18afe7141d000beae3755e5b5fb2f5e05
16081618
RNReanimated: f6b02d8f5eaa2830296411d4ec3b8ef5442dd13d

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "drive-mobile",
3-
"version": "v1.5.38",
3+
"version": "v1.6.0",
44
"private": true,
55
"license": "GNU",
66
"scripts": {
@@ -30,12 +30,13 @@
3030
},
3131
"dependencies": {
3232
"@burstware/react-native-portal": "^1.0.2",
33+
"@dr.pogodin/react-native-fs": "2.27.0",
3334
"@expo/config-plugins": "7.8.4",
3435
"@expo/config-types": "^47.0.0",
3536
"@hookform/resolvers": "^2.9.1",
3637
"@internxt/lib": "^1.2.0",
3738
"@internxt/mobile-sdk": "^0.2.41",
38-
"@internxt/rn-crypto": "^0.1.12",
39+
"@internxt/rn-crypto": "0.1.14",
3940
"@internxt/sdk": "^1.4.96",
4041
"@react-native-async-storage/async-storage": "1.21.0",
4142
"@react-navigation/bottom-tabs": "^6.2.0",
@@ -92,14 +93,14 @@
9293
"react-native": "0.73.6",
9394
"react-native-bip39": "^2.3.0",
9495
"react-native-collapsible": "^1.6.0",
96+
"react-native-create-thumbnail": "^2.0.0",
9597
"react-native-crypto": "^2.2.0",
9698
"react-native-device-info": "^8.4.8",
9799
"react-native-document-picker": "^4.1.0",
98100
"react-native-fast-image": "^8.5.11",
99101
"react-native-file-viewer": "^2.1.4",
100-
"react-native-fs": "^2.16.6",
101102
"react-native-gesture-handler": "~2.14.0",
102-
"react-native-image-picker": "^4.0.6",
103+
"react-native-image-picker": "^7.1.2",
103104
"react-native-image-zoom-viewer": "^3.0.1",
104105
"react-native-localization": "^2.3.1",
105106
"react-native-logs": "^5.0.1",

0 commit comments

Comments
 (0)