Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
cdc8b46
Fixed Android cursor position bug in TextInput
Oct 25, 2024
18b10f1
Added patch to not convert heic files to jpg when upload them from io…
Nov 11, 2024
6c68b70
Fixed how decimals are diplayed in plans modal
Nov 12, 2024
9eea2b7
Added close preview abillity when swipe back in preview view
Nov 12, 2024
47bc88e
Sonar cloud minor change
Nov 12, 2024
6b44c10
Merge pull request #237 from internxt/bugfix/PB-2951-swipe-back-from-…
CandelR Nov 13, 2024
6aac8d0
Merge pull request #235 from internxt/bugfix/PB-2949-issue-renaming-m…
CandelR Nov 13, 2024
28c29e3
Merge pull request #236 from internxt/bugfix/PB-2967-format-changes-w…
CandelR Nov 13, 2024
c636cf9
Display server message when login fails instead of generic message
Nov 13, 2024
74a1b3d
Merge pull request #238 from internxt/bugfix/PB-2739-unable-to-log-in…
CandelR Nov 14, 2024
eace2bc
Fixed bug that modal stay stucked at bottom of the screen
Nov 18, 2024
0a44adb
Merge pull request #240 from internxt/bugfix/PB-2965-graphical-problems
CandelR Nov 18, 2024
6e63967
Migrated react-native-fs to forked library to version that fix error …
Nov 20, 2024
26d949c
Updated react native fs library and restored video thumbnail creation
Nov 21, 2024
34f2e09
Merge pull request #241 from internxt/bugfix/PB-2600-error-uploading-…
CandelR Dec 2, 2024
2a0d00e
Update project version to new release and added logs to register poss…
Dec 4, 2024
16a230c
Changed error log message
CandelR Dec 9, 2024
243faaf
Merge pull request #243 from internxt/bugfix/PB-3286-3278-error-takin…
CandelR Dec 9, 2024
de35eda
Updated android version code
CandelR Dec 12, 2024
4216c16
Fixed iPhone 15 download error related to react-native-fs library
CandelR Dec 13, 2024
9d8b616
Fixed Android cursor positioning when delete selected text in TextInput
CandelR Dec 13, 2024
f7b5f85
Updated android gradle versionCode field
CandelR Dec 13, 2024
08e3132
Limited download file size to 3GB and added folder flag to identify f…
CandelR Dec 17, 2024
5a13d4a
Changed download limit to 3GB max instead minus than 3GB
CandelR Dec 17, 2024
3a50f08
Test download in chunks
CandelR Dec 17, 2024
0a5aae1
Download file in chunks with RNFS
CandelR Dec 17, 2024
4b2605d
Merge pull request #245 from internxt/bugfix/PB-3278-PB-2949-PB-2967-…
CandelR Dec 19, 2024
2f7da8f
Bump rn-crypto, added native joinFiles function, added device space c…
CandelR Dec 19, 2024
6c0ae62
Modified download/decrypt percentage message
CandelR Dec 20, 2024
bfdc790
Upgraded download limit to 5GB
CandelR Dec 20, 2024
d72096b
Remove chunks before start the download, added decrypting message whe…
CandelR Dec 20, 2024
03d0e61
Updated yarn lock
CandelR Dec 20, 2024
ac5b43b
Minor fix on android cursor position
CandelR Dec 20, 2024
d0ea213
Updated android gradle versionCode
CandelR Dec 20, 2024
25fb6ef
Removed unnecessary android permission
CandelR Dec 20, 2024
577502c
Updated gradle build version
CandelR Dec 20, 2024
cda9c2e
Remove unnecessary tyr catch and added comment
CandelR Dec 23, 2024
540af74
Merge pull request #246 from internxt/feature/download-in-chunks
CandelR Dec 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jest.mock('react-native-fs', () => {
jest.mock('@dr.pogodin/react-native-fs', () => {
return {
mkdir: jest.fn(),
moveFile: jest.fn(),
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ android {
applicationId 'com.internxt.cloud'
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 95
versionName "1.5.38"
versionCode 99
versionName "1.6.0"

buildConfigField("boolean", "REACT_NATIVE_UNSTABLE_USE_RUNTIME_SCHEDULER_ALWAYS", (findProperty("reactNative.unstable_useRuntimeSchedulerAlways") ?: true).toString())
}
Expand Down
3 changes: 2 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.DETECT_SCREEN_CAPTURE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<string name="app_name">Internxt</string>
<string name="expo_splash_screen_resize_mode" translatable="false">cover</string>
<string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string>
<string name="expo_runtime_version">1.5.38</string>
<string name="expo_runtime_version">1.6.0</string>
</resources>
7 changes: 6 additions & 1 deletion assets/lang/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const strings = new LocalizedStrings({
current: 'Current',
new: 'New',
calculating: 'Calculating',
decrypting: 'Decrypting',
atTime: 'at',
loading: 'Loading',
downloading: 'Downloading...',
Expand Down Expand Up @@ -647,6 +648,7 @@ const strings = new LocalizedStrings({
confirmDeleteSharedLink: 'Users with the link will lose access to the shared content.',
linkDeleted: 'Link deleted successfully',
trashEmpty: 'Trash is empty',
downloadLimit: 'The download limit in mobile app is 5GB.',
},
errors: {
runtimeLogsMissing: 'The logs file is missing or empty',
Expand Down Expand Up @@ -675,7 +677,6 @@ const strings = new LocalizedStrings({
unknown: 'Unknown error',
uploadFile: 'File upload error: {0}',
storageLimitReached: 'You have reached your storage limit',

inviteAFriend: 'Error sending invitation: {0}',
loadProducts: 'Cannot load products: {0}',
passwordsDontMatch: "Passwords don't match",
Expand All @@ -697,6 +698,7 @@ const strings = new LocalizedStrings({
changePassword: 'Error changing password',
loadPrices: 'Error loading prices',
cancelSubscription: 'Error cancelling subscription',
notEnoughSpaceOnDevice: 'Not enough storage space available for download',
},
},
es: {
Expand All @@ -708,6 +710,7 @@ const strings = new LocalizedStrings({
current: 'Actual',
new: 'Nuevo',
calculating: 'Calculando',
decrypting: 'Desencriptando',
atTime: 'a las',
loading: 'Cargando',
security: 'Seguridad',
Expand Down Expand Up @@ -1345,6 +1348,7 @@ const strings = new LocalizedStrings({
confirmDeleteSharedLink: 'Los usuarios con el link compartido perderán el acceso a este contenido compartido.',
linkDeleted: 'Link eliminado correctamente',
trashEmpty: 'Papelera vaciada',
downloadLimit: 'El límite de descarga en la app movil son 5GB',
},
errors: {
runtimeLogsMissing: 'El archivo no se encuentra o está vacío',
Expand Down Expand Up @@ -1394,6 +1398,7 @@ const strings = new LocalizedStrings({
changePassword: 'Error cambiando contraseña',
loadPrices: 'Error cargando precios',
cancelSubscription: 'Error cancelando suscripción',
notEnoughSpaceOnDevice: 'No hay suficiente espacio de almacenamiento disponible para la descarga',
},
},
});
Expand Down
6 changes: 4 additions & 2 deletions ios/Internxt.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@
"${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/ReachabilitySwift.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/RCTI18nStrings.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/Rudder/Rudder.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/dr-pogodin-react-native-fs/RNFS_PrivacyInfo.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
Expand All @@ -293,6 +294,7 @@
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ReachabilitySwift.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RCTI18nStrings.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Rudder.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNFS_PrivacyInfo.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down Expand Up @@ -343,7 +345,7 @@
);
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
PRODUCT_BUNDLE_IDENTIFIER = com.internxt.snacks;
PRODUCT_NAME = "Internxt";
PRODUCT_NAME = Internxt;
SWIFT_OBJC_BRIDGING_HEADER = "Internxt/Internxt-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -374,7 +376,7 @@
);
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = com.internxt.snacks;
PRODUCT_NAME = "Internxt";
PRODUCT_NAME = Internxt;
SWIFT_OBJC_BRIDGING_HEADER = "Internxt/Internxt-Bridging-Header.h";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down
4 changes: 2 additions & 2 deletions ios/Internxt/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.5.38</string>
<string>1.6.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -33,7 +33,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>5</string>
<string>11</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/Internxt/Supporting/Expo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>EXUpdatesLaunchWaitMs</key>
<integer>0</integer>
<key>EXUpdatesRuntimeVersion</key>
<string>1.5.38</string>
<string>1.6.0</string>
<key>EXUpdatesURL</key>
<string>https://u.expo.dev/680f4feb-6315-4a50-93ec-36dcd0b831d2</string>
</dict>
Expand Down
30 changes: 20 additions & 10 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
PODS:
- boost (1.83.0)
- DoubleConversion (1.1.6)
- dr-pogodin-react-native-fs (2.27.0):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
- EASClient (0.11.2):
- ExpoModulesCore
- EXConstants (15.4.6):
Expand Down Expand Up @@ -938,9 +942,13 @@ PODS:
- React-Mapbuffer (0.73.6):
- glog
- React-debug
- react-native-create-thumbnail (2.0.0):
- React-Core
- react-native-document-picker (4.3.0):
- React-Core
- react-native-image-picker (4.10.3):
- react-native-image-picker (7.1.2):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
- react-native-pdf (6.7.5):
- React-Core
Expand Down Expand Up @@ -1134,7 +1142,7 @@ PODS:
- React-Core
- RealmJS (11.10.2):
- React
- rn-crypto (0.1.12):
- rn-crypto (0.1.14):
- IDZSwiftCommonCrypto (~> 0.13)
- React-Core
- rn-fetch-blob (0.11.2):
Expand All @@ -1151,8 +1159,6 @@ PODS:
- React-Core
- RNFlashList (1.6.3):
- React-Core
- RNFS (2.20.0):
- React-Core
- RNGestureHandler (2.14.1):
- glog
- RCT-Folly (= 2022.05.16.00)
Expand Down Expand Up @@ -1195,6 +1201,7 @@ PODS:
DEPENDENCIES:
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- "dr-pogodin-react-native-fs (from `../node_modules/@dr.pogodin/react-native-fs`)"
- EASClient (from `../node_modules/expo-eas-client/ios`)
- EXConstants (from `../node_modules/expo-constants/ios`)
- EXFont (from `../node_modules/expo-font/ios`)
Expand Down Expand Up @@ -1246,6 +1253,7 @@ DEPENDENCIES:
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector-modern`)
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
- React-Mapbuffer (from `../node_modules/react-native/ReactCommon`)
- react-native-create-thumbnail (from `../node_modules/react-native-create-thumbnail`)
- react-native-document-picker (from `../node_modules/react-native-document-picker`)
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
- react-native-pdf (from `../node_modules/react-native-pdf`)
Expand Down Expand Up @@ -1284,7 +1292,6 @@ DEPENDENCIES:
- RNFastImage (from `../node_modules/react-native-fast-image`)
- RNFileViewer (from `../node_modules/react-native-file-viewer`)
- "RNFlashList (from `../node_modules/@shopify/flash-list`)"
- RNFS (from `../node_modules/react-native-fs`)
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- RNPermissions (from `../node_modules/react-native-permissions`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
Expand Down Expand Up @@ -1314,6 +1321,8 @@ EXTERNAL SOURCES:
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
dr-pogodin-react-native-fs:
:path: "../node_modules/@dr.pogodin/react-native-fs"
EASClient:
:path: "../node_modules/expo-eas-client/ios"
EXConstants:
Expand Down Expand Up @@ -1412,6 +1421,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/logger"
React-Mapbuffer:
:path: "../node_modules/react-native/ReactCommon"
react-native-create-thumbnail:
:path: "../node_modules/react-native-create-thumbnail"
react-native-document-picker:
:path: "../node_modules/react-native-document-picker"
react-native-image-picker:
Expand Down Expand Up @@ -1488,8 +1499,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-file-viewer"
RNFlashList:
:path: "../node_modules/@shopify/flash-list"
RNFS:
:path: "../node_modules/react-native-fs"
RNGestureHandler:
:path: "../node_modules/react-native-gesture-handler"
RNPermissions:
Expand All @@ -1510,6 +1519,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953
dr-pogodin-react-native-fs: 3a0fa8611f662cafd0059aede51c56099deada1e
EASClient: a42ee8bf36c93b3128352faf2ae49405ab4f80bd
EXConstants: a5f6276e565d98f9eb4280f81241fc342d641590
EXFont: f20669cb266ef48b004f1eb1f2b20db96cd1df9f
Expand Down Expand Up @@ -1564,8 +1574,9 @@ SPEC CHECKSUMS:
React-jsinspector: 85583ef014ce53d731a98c66a0e24496f7a83066
React-logger: 3eb80a977f0d9669468ef641a5e1fabbc50a09ec
React-Mapbuffer: 84ea43c6c6232049135b1550b8c60b2faac19fab
react-native-create-thumbnail: ab55d24aea01723cf386f18b0b542aabb1982f27
react-native-document-picker: 20f652c2402d3ddc81f396d8167c3bd978add4a2
react-native-image-picker: 60f4246eb5bb7187fc15638a8c1f13abd3820695
react-native-image-picker: d3db110a3ded6e48c93aef7e8e51afdde8b16ed0
react-native-pdf: 103940c90d62adfd259f63cca99c7c0c306b514c
react-native-pdf-thumbnail: 390b1bc4b115b613ca61d6b14cbc712b3621b1df
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
Expand Down Expand Up @@ -1595,14 +1606,13 @@ SPEC CHECKSUMS:
ReactCommon: 447281ad2034ea3252bf81a60d1f77d5afb0b636
ReactNativeLocalization: fb171138cdc80d5d0d4f20243d2fc82c2b3cc48f
RealmJS: 73a36da3cbbe85e1bdcbf55683172b51f35070d3
rn-crypto: 160ce10c618571e5c051c8e12315df0b04ac7c3e
rn-crypto: 11206fba572b93aa936f225fa7e9dec24a330a58
rn-fetch-blob: f525a73a78df9ed5d35e67ea65e79d53c15255bc
RNCAsyncStorage: 618d03a5f52fbccb3d7010076bc54712844c18ef
RNDeviceInfo: aad3c663b25752a52bf8fce93f2354001dd185aa
RNFastImage: 5c9c9fed9c076e521b3f509fe79e790418a544e8
RNFileViewer: ce7ca3ac370e18554d35d6355cffd7c30437c592
RNFlashList: 4b4b6b093afc0df60ae08f9cbf6ccd4c836c667a
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNGestureHandler: 15c6ef51acba34c49ff03003806cf5dd6098f383
RNPermissions: 4e3714e18afe7141d000beae3755e5b5fb2f5e05
RNReanimated: f6b02d8f5eaa2830296411d4ec3b8ef5442dd13d
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drive-mobile",
"version": "v1.5.38",
"version": "v1.6.0",
"private": true,
"license": "GNU",
"scripts": {
Expand Down Expand Up @@ -30,12 +30,13 @@
},
"dependencies": {
"@burstware/react-native-portal": "^1.0.2",
"@dr.pogodin/react-native-fs": "2.27.0",
"@expo/config-plugins": "7.8.4",
"@expo/config-types": "^47.0.0",
"@hookform/resolvers": "^2.9.1",
"@internxt/lib": "^1.2.0",
"@internxt/mobile-sdk": "^0.2.41",
"@internxt/rn-crypto": "^0.1.12",
"@internxt/rn-crypto": "0.1.14",
"@internxt/sdk": "^1.4.96",
"@react-native-async-storage/async-storage": "1.21.0",
"@react-navigation/bottom-tabs": "^6.2.0",
Expand Down Expand Up @@ -92,14 +93,14 @@
"react-native": "0.73.6",
"react-native-bip39": "^2.3.0",
"react-native-collapsible": "^1.6.0",
"react-native-create-thumbnail": "^2.0.0",
"react-native-crypto": "^2.2.0",
"react-native-device-info": "^8.4.8",
"react-native-document-picker": "^4.1.0",
"react-native-fast-image": "^8.5.11",
"react-native-file-viewer": "^2.1.4",
"react-native-fs": "^2.16.6",
"react-native-gesture-handler": "~2.14.0",
"react-native-image-picker": "^4.0.6",
"react-native-image-picker": "^7.1.2",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-localization": "^2.3.1",
"react-native-logs": "^5.0.1",
Expand Down
24 changes: 24 additions & 0 deletions patches/react-native-image-picker+7.1.2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/node_modules/react-native-image-picker/ios/ImagePickerUtils.mm b/node_modules/react-native-image-picker/ios/ImagePickerUtils.mm
index 443500d..6f8d0ba 100644
--- a/node_modules/react-native-image-picker/ios/ImagePickerUtils.mm
+++ b/node_modules/react-native-image-picker/ios/ImagePickerUtils.mm
@@ -97,6 +97,8 @@
const uint8_t firstByteJpg = 0xFF;
const uint8_t firstBytePng = 0x89;
const uint8_t firstByteGif = 0x47;
+ const uint8_t firstByteWebp = 0x52;
+ const uint8_t firstByteHeic = 0x00;

uint8_t firstByte;
[imageData getBytes:&firstByte length:1];
@@ -107,6 +109,10 @@
return @"png";
case firstByteGif:
return @"gif";
+ case firstByteWebp:
+ return @"webp";
+ case firstByteHeic:
+ return @"heic";
default:
return @"jpg";
}
Loading
Loading