Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e3ed508
Fix Android video player cropping and add landscape rotation support
CandelR Feb 2, 2026
77fac48
Implement upload queue service and enhance file upload handling with …
CandelR Feb 3, 2026
cc0de84
Merge pull request #352 from internxt/bugfix/PB-5765-video-player-cro…
CandelR Feb 3, 2026
0c78067
Add rate limit handling
CandelR Feb 4, 2026
d975bf6
Add unit tests for rate limit retry and service functionality
CandelR Feb 4, 2026
b8cb2ae
Refactor rate limit service to improve ID segment handling and normal…
CandelR Feb 4, 2026
c08d256
Refactor rate limit service and interceptors to use constants for hea…
CandelR Feb 4, 2026
de9e2ae
Add rate limit error messages and enhance error handling for rate lim…
CandelR Feb 4, 2026
676428a
Merge branch 'feature/PB-XXXX-handle-rate-limits' into feature/rate-l…
CandelR Feb 4, 2026
3c80419
Update rate limit headers to use internxt prefix in tests
CandelR Feb 4, 2026
481f9bf
Enhance error handling and notifications for upload and folder conten…
CandelR Feb 5, 2026
5c27ac2
Updated node version in unit tests action
CandelR Feb 5, 2026
2632517
Merge pull request #355 from internxt/feature/PB-5093-add-queue-to-up…
CandelR Feb 5, 2026
f58ad8e
Merge pull request #354 from internxt/feature/PB-XXXX-handle-rate-limits
CandelR Feb 6, 2026
ffd2fb9
Merge pull request #356 from internxt/feature/rate-limit-tests
CandelR Feb 6, 2026
1716889
Merge pull request #357 from internxt/feature/improve-error-handling-…
CandelR Feb 6, 2026
0264ffb
Fixed language refresh and added device language detection
CandelR Feb 6, 2026
98983ff
Fixed language change race condition, added async storage language ke…
CandelR Feb 6, 2026
2166b9d
Removed dead code and documented legacy
CandelR Feb 6, 2026
3fc1ceb
Merge pull request #358 from internxt/feature/PB-5807-fix-language-ch…
CandelR Feb 6, 2026
af86c79
Merge branch 'release-v1.8.6' into feature/clean-dead-code
CandelR Feb 6, 2026
3dfa062
Removed unnecessary logs
CandelR Feb 6, 2026
f8416b0
Merge pull request #359 from internxt/feature/clean-dead-code
CandelR Feb 9, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [18.20.4]
node-version: [20]
fail-fast: true

steps:
Expand Down
22 changes: 0 additions & 22 deletions __mocks__/react-native-localization.ts

This file was deleted.

1 change: 1 addition & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const appConfig: ExpoConfig & { extra: AppEnv & { NODE_ENV: AppStage; RELEASE_ID
'expo-localization',
'expo-secure-store',
'expo-sqlite',
['expo-screen-orientation', { initialOrientation: 'PORTRAIT' }],
[
'expo-splash-screen',
{
Expand Down
14 changes: 11 additions & 3 deletions assets/lang/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ const translations = {
},
Language: {
title: 'Select language',
info: 'Restart the application to see the language change.',
info: 'Language changed successfully.',
},
ChangeProfilePicture: {
title: 'Edit photo',
Expand Down Expand Up @@ -738,10 +738,14 @@ const translations = {
notEnoughSpaceOnDevice: 'Not enough storage space available for download',
fileAlreadyDownloading: 'File is already downloading, stopping download',
genericError: 'An unexpected error occurred. Please try again.',
rateLimitReached: "This action couldn't be completed right now. Please wait a moment and try again.",
rateLimitUpload: "Your upload couldn't be completed right now. Please wait a moment and try again.",
rateLimitDownload: "Your download couldn't be completed right now. Please wait a moment and try again.",
rateLimitContent: "Content couldn't be loaded right now. Please wait a moment and try again.",
},
security: {
alerts: {
dontDisplayAgain: 'Dont show this again',
dontDisplayAgain: "Don't show this again",
securityWarning: {
title: '⚠️ Security Notice',
message: 'Security concerns detected:\n\n{0}\n\nFor better security, consider addressing these issues.',
Expand Down Expand Up @@ -1334,7 +1338,7 @@ const translations = {
},
Language: {
title: 'Selecciona idioma',
info: 'Reinicie la aplicación para ver el cambio de idioma.',
info: 'Idioma cambiado correctamente.',
},
ChangeProfilePicture: {
title: 'Editar foto',
Expand Down Expand Up @@ -1522,6 +1526,10 @@ const translations = {
notEnoughSpaceOnDevice: 'No hay suficiente espacio de almacenamiento disponible para la descarga',
fileAlreadyDownloading: 'El archivo ya se está descargando, deteniendo la descarga',
genericError: 'Se ha producido un error inesperado. Por favor, inténtelo de nuevo.',
rateLimitReached: 'No se ha podido completar esta acción en este momento. Por favor, espera un momento e inténtalo de nuevo.',
rateLimitUpload: 'No se ha podido completar la subida en este momento. Por favor, espera un momento e inténtalo de nuevo.',
rateLimitDownload: 'No se ha podido completar la descarga en este momento. Por favor, espera un momento e inténtalo de nuevo.',
rateLimitContent: 'No se ha podido cargar el contenido en este momento. Por favor, espera un momento e inténtalo de nuevo.',
},
security: {
alerts: {
Expand Down
33 changes: 33 additions & 0 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,35 @@ PODS:
- ReactCommon/turbomodule/core
- SocketRocket
- Yoga
- ExpoScreenOrientation (9.0.8):
- boost
- DoubleConversion
- ExpoModulesCore
- fast_float
- fmt
- glog
- hermes-engine
- RCT-Folly
- RCT-Folly/Fabric
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-jsi
- React-NativeModulesApple
- React-RCTFabric
- React-renderercss
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- SocketRocket
- Yoga
- ExpoSecureStore (15.0.8):
- ExpoModulesCore
- ExpoSharing (14.0.8):
Expand Down Expand Up @@ -3221,6 +3250,7 @@ DEPENDENCIES:
- ExpoLocalization (from `../node_modules/expo-localization/ios`)
- ExpoMediaLibrary (from `../node_modules/expo-media-library/ios`)
- ExpoModulesCore (from `../node_modules/expo-modules-core`)
- ExpoScreenOrientation (from `../node_modules/expo-screen-orientation/ios`)
- ExpoSecureStore (from `../node_modules/expo-secure-store/ios`)
- ExpoSharing (from `../node_modules/expo-sharing/ios`)
- ExpoSplashScreen (from `../node_modules/expo-splash-screen/ios`)
Expand Down Expand Up @@ -3383,6 +3413,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/expo-media-library/ios"
ExpoModulesCore:
:path: "../node_modules/expo-modules-core"
ExpoScreenOrientation:
:path: "../node_modules/expo-screen-orientation/ios"
ExpoSecureStore:
:path: "../node_modules/expo-secure-store/ios"
ExpoSharing:
Expand Down Expand Up @@ -3615,6 +3647,7 @@ SPEC CHECKSUMS:
ExpoLocalization: d9168d5300a5b03e5e78b986124d11fb6ec3ebbd
ExpoMediaLibrary: a3093b04365b245bb23b25b6eba84eb6ab55fecb
ExpoModulesCore: d86dab8a6c8f1184f9b0b0503ace93919882aa15
ExpoScreenOrientation: b895491eb180dd92836f00198ac215f2fae2d45b
ExpoSecureStore: d32f751874a2ceb5aaeebeb3578e165c1ba2b24a
ExpoSharing: 0d983394ed4a80334bab5a0d5384f75710feb7e8
ExpoSplashScreen: bc3cffefca2716e5f22350ca109badd7e50ec14d
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@internxt/lib": "^1.4.1",
"@internxt/mobile-sdk": "https://github.com/internxt/mobile-sdk/releases/download/v0.3.1/internxt-mobile-sdk-v0.3.1_.tgz",
"@internxt/rn-crypto": "0.1.15",
"@internxt/sdk": "1.11.25",
"@internxt/sdk": "1.12.3",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-navigation/bottom-tabs": "^6.2.0",
"@react-navigation/native": "^6.1.18",
Expand Down Expand Up @@ -69,6 +69,7 @@
"expo-localization": "~17.0.8",
"expo-media-library": "~18.2.1",
"expo-navigation-bar": "~5.0.10",
"expo-screen-orientation": "^9.0.8",
"expo-secure-store": "~15.0.8",
"expo-sharing": "~14.0.8",
"expo-splash-screen": "~31.0.13",
Expand Down
4 changes: 0 additions & 4 deletions src/@inxt-js/api/FileObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { Logger } from '../lib/download';
import { wrap } from '../lib/utils/error';
import { EventEmitter } from '../lib/utils/eventEmitter';
import { logger } from '../lib/utils/logger';
import { Bridge, InxtApiI } from '../services/api';
import FileManager from './FileManager';
import { DEFAULT_INXT_MIRRORS, DOWNLOAD_CANCELLED } from './constants';

Expand All @@ -34,7 +33,6 @@ export class FileObject extends EventEmitter {
fileKey: Buffer;

private aborted = false;
private api: InxtApiI;
private file: FileManager;

constructor(config: EnvironmentConfig, bucketId: string, fileId: string, debug: Logger, file: FileManager) {
Expand All @@ -43,8 +41,6 @@ export class FileObject extends EventEmitter {
this.bucketId = bucketId;
this.fileId = fileId;
this.fileKey = Buffer.alloc(0);

this.api = new Bridge(config);
this.file = file;

this.once(DOWNLOAD_CANCELLED, this.abort.bind(this));
Expand Down
Loading
Loading