Skip to content

Commit afe8758

Browse files
authored
Merge pull request #279 from internxt/release/1.8.0
[_] release/1.8.0
2 parents 7c4d211 + 9506118 commit afe8758

File tree

100 files changed

+3192
-1517
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+3192
-1517
lines changed

__tests__/unit/mocks/sdkManager.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ import { SdkManager } from '@internxt-mobile/services/common/sdk/SdkManager';
22

33
export const SdkManagerMock: SdkManager = {
44
getApiSecurity: jest.fn(),
5-
auth: jest.fn()(),
65
authV2: jest.fn()(),
7-
users: jest.fn()(),
6+
usersV2: jest.fn()(),
7+
usersV2WithoutToken: jest.fn()(),
88
payments: jest.fn()(),
9-
storage: jest.fn()(),
109
storageV2: jest.fn()(),
1110
share: jest.fn()(),
1211
trash: 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 103
92-
versionName "1.7.2"
91+
versionCode 106
92+
versionName "1.8.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: 3 additions & 2 deletions
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" package="com.internxt.cloud">
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"/>
@@ -15,7 +16,7 @@
1516
<data android:scheme="https"/>
1617
</intent>
1718
</queries>
18-
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:requestLegacyExternalStorage="true" android:usesCleartextTraffic="false">
19+
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme" android:requestLegacyExternalStorage="true" android:usesCleartextTraffic="false">
1920
<meta-data android:name="expo.modules.updates.ENABLED" android:value="true"/>
2021
<meta-data android:name="expo.modules.updates.EXPO_RUNTIME_VERSION" android:value="@string/expo_runtime_version"/>
2122
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
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.7.2</string>
5+
<string name="expo_runtime_version">1.8.0</string>
6+
<string name="expo_system_ui_user_interface_style" translatable="false">automatic</string>
67
</resources>

android/gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ EX_DEV_CLIENT_NETWORK_INSPECTOR=true
5555
# Use legacy packaging to compress native libraries in the resulting APK.
5656
expo.useLegacyPackaging=false
5757

58-
android.compileSdkVersion=34
58+
android.compileSdkVersion=34
59+
expo.jsEngine=hermes

app.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const appConfig: ExpoConfig & { extra: AppEnv & { NODE_ENV: AppStage; RELEASE_ID
2525
resizeMode: 'cover',
2626
backgroundColor: '#091e42',
2727
},
28+
userInterfaceStyle: 'automatic',
2829

2930
updates: {
3031
url: 'https://u.expo.dev/680f4feb-6315-4a50-93ec-36dcd0b831d2',

assets/lang/strings.ts

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ const strings = new LocalizedStrings({
193193
title: 'Folder is empty',
194194
message: 'Tap the + button to upload a file or create something new',
195195
},
196-
searchInThisFolder: 'Search in this folder',
196+
searchInThisFolder: 'Search items in this folder',
197+
searchInAllFolders: 'Search all my files',
197198
encrypting: 'Encrypting',
198199
decrypting: 'Decrypting',
199200
downloadingPercent: 'Downloading... {0}%',
@@ -256,6 +257,8 @@ const strings = new LocalizedStrings({
256257
legal: 'Legal',
257258
debug: 'Debug',
258259
signOut: 'Log out',
260+
darkMode: 'Dark mode',
261+
darkModeDescription: 'Change the app theme',
259262
},
260263
AccountScreen: {
261264
title: 'Account',
@@ -297,7 +300,7 @@ const strings = new LocalizedStrings({
297300
},
298301
twoFactor: {
299302
title: 'Two factor authentication (2FA)',
300-
text: 'Two-factor authentication provides an extra layer of security by requiring an extra verification when you log in. In adittion to your password, you’ll also need a generated code.',
303+
text: 'Two-factor authentication provides an extra layer of security by requiring an extra verification when you log in. In addition to your password, you’ll also need a generated code.',
301304
enable: 'Enable 2FA',
302305
disable: 'Disable 2FA',
303306
},
@@ -444,6 +447,23 @@ const strings = new LocalizedStrings({
444447
},
445448
},
446449
modals: {
450+
GlobalSearchModal: {
451+
searchPlaceholder: 'Search all my files',
452+
searching: 'Searching...',
453+
noResultsTitle: 'No results found',
454+
noResultsMessage: 'Try a different search',
455+
searchPromptTitle: 'Search files and folders',
456+
searchPromptMessage: 'Type to start your search',
457+
clear: 'Clear',
458+
opening: 'Opening...',
459+
searchError: 'Search error. Try again.',
460+
tryAgainButton: 'Try again',
461+
},
462+
duplicatedFiles: {
463+
duplicateFilesTitle: 'Duplicate Files Found',
464+
duplicateFilesMessage: 'The following files already exist: %s\n\nDo you want to upload them with a new name?',
465+
duplicateFilesAction: 'Upload with new name',
466+
},
447467
rename: {
448468
title: 'Rename',
449469
label: 'Name',
@@ -896,6 +916,7 @@ const strings = new LocalizedStrings({
896916
message: 'Prueba a subir un archivo o crear una carpeta',
897917
},
898918
searchInThisFolder: 'Buscar en esta carpeta',
919+
searchInAllFolders: 'Buscar en todos mis archivos',
899920
encrypting: 'Encriptando',
900921
decrypting: 'Desencriptando',
901922
downloadingPercent: 'Descargando... {0}%',
@@ -958,6 +979,8 @@ const strings = new LocalizedStrings({
958979
legal: 'Legal',
959980
debug: 'Debug',
960981
signOut: 'Cerrar sesión',
982+
darkMode: 'Modo oscuro',
983+
darkModeDescription: 'Cambiar apariencia de la aplicación',
961984
},
962985
AccountScreen: {
963986
title: 'Cuenta',
@@ -1143,6 +1166,23 @@ const strings = new LocalizedStrings({
11431166
},
11441167
},
11451168
modals: {
1169+
GlobalSearchModal: {
1170+
searchPlaceholder: 'Buscar en todos mis archivos',
1171+
searching: 'Buscando...',
1172+
noResultsTitle: 'No se encontraron resultados',
1173+
noResultsMessage: 'Intenta con una búsqueda diferente',
1174+
searchPromptTitle: 'Buscar archivos y carpetas',
1175+
searchPromptMessage: 'Escribe para comenzar tu búsqueda',
1176+
clear: 'Limpiar',
1177+
opening: 'Abriendo...',
1178+
searchError: 'Error al buscar. Inténtalo de nuevo.',
1179+
tryAgainButton: 'Intentar de nuevo',
1180+
},
1181+
duplicatedFiles: {
1182+
duplicateFilesTitle: 'Archivos duplicados encontrados',
1183+
duplicateFilesMessage: 'Los siguientes archivos ya existen: %s\n\n¿Quieres subirlos con un nuevo nombre?',
1184+
duplicateFilesAction: 'Subir con nuevo nombre',
1185+
},
11461186
rename: {
11471187
title: 'Renombrar',
11481188
label: 'Nombre',

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.7.2</string>
22+
<string>1.8.0</string>
2323
<key>CFBundleSignature</key>
2424
<string>????</string>
2525
<key>CFBundleURLTypes</key>
@@ -78,7 +78,7 @@
7878
<string>UIInterfaceOrientationLandscapeRight</string>
7979
</array>
8080
<key>UIUserInterfaceStyle</key>
81-
<string>Light</string>
81+
<string>Automatic</string>
8282
<key>UIViewControllerBasedStatusBarAppearance</key>
8383
<false/>
8484
</dict>

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.7.2</string>
12+
<string>1.8.0</string>
1313
<key>EXUpdatesURL</key>
1414
<string>https://u.expo.dev/680f4feb-6315-4a50-93ec-36dcd0b831d2</string>
1515
</dict>

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "drive-mobile",
3-
"version": "v1.7.2",
3+
"version": "v1.8.0",
44
"private": true,
55
"license": "GNU",
66
"scripts": {
@@ -37,7 +37,7 @@
3737
"@internxt/lib": "^1.2.0",
3838
"@internxt/mobile-sdk": "^0.2.41",
3939
"@internxt/rn-crypto": "0.1.15",
40-
"@internxt/sdk": "^1.4.96",
40+
"@internxt/sdk": "1.9.26",
4141
"@react-native-async-storage/async-storage": "1.21.0",
4242
"@react-navigation/bottom-tabs": "^6.2.0",
4343
"@react-navigation/native": "^6.1.18",
@@ -167,6 +167,7 @@
167167
"jest-expo": "~50.0.4",
168168
"metro-react-native-babel-transformer": "^0.77.0",
169169
"patch-package": "^7.0.0",
170+
"path": "^0.12.7",
170171
"postcss": "^8.2.15",
171172
"prettier": "^2.3.2",
172173
"react-native-svg-transformer": "^0.14.3",

0 commit comments

Comments
 (0)