Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"plugins": ["react-native-compressor"]
}
23 changes: 2 additions & 21 deletions apps/mobile/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,29 +103,10 @@ const createConfig = (): Omit<ExpoConfig, 'extra'> & { extra: { eas: EASConfig }
{
microphonePermission:
'Open MobileUI uses your microphone to let you record and send voice messages in chat conversations.',
enableBackgroundPlayback: false,
enableBackgroundRecording: false,
},
],
[
'expo-build-properties',
{
android: {
androidGradlePluginVersion: '8.3.2',
compileSdkVersion: 36,
targetSdkVersion: 35,
buildToolsVersion: '36.0.0',
ndkVersion: '27.1.12297006',
packagingOptions: {
jniLibs: {
useLegacyPackaging: false,
},
},
},
ios: {
useFrameworks: 'static',
},
},
],
['./plugins/with-remove-media-playback-permission'],
]),
newArchEnabled: true,
extra,
Expand Down
92 changes: 61 additions & 31 deletions apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,65 +24,94 @@
"ios": "expo run:ios"
},
"dependencies": {
"@expo/ui": "~56.0.16",
"@expo/metro-config": "~57.0.0",
"@expo/metro-runtime": "~57.0.7",
"@expo/ui": "~57.0.7",
"@gorhom/bottom-sheet": "^5.2.8",
"@hookform/resolvers": "^5.1.1",
"@legendapp/state": "2.1.15",
"@likashefqet/react-native-image-zoom": "^4.3.0",
"@lukemorales/query-key-factory": "^1.3.4",
"@pusher/pusher-websocket-react-native": "^1.3.1",
"@react-native-community/hooks": "^100.1.0",
"@react-native-community/netinfo": "12.0.1",
"@ronas-it/axios-api-client": "^0.1.2",
"@ronas-it/react-native-common-modules": "^1.1.0",
"@ronas-it/rtkq-entity-api": "^1.1.1",
"@sentry/react-native": "~7.11.0",
"@shopify/flash-list": "2.0.2",
"@tanstack/react-query": "^5.80.6",
"@tanstack/react-query-persist-client": "^5.87.4",
"axios-observable": "^2.1.0",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-react-compiler": "^19.0.0-beta-af1b7da-20250417",
"class-transformer": "^0.5.1",
"clsx": "^2.1.1",
"expo": "^56.0.0",
"expo-asset": "~56.0.15",
"expo-audio": "~56.0.11",
"expo-build-properties": "~56.0.16",
"expo-clipboard": "~56.0.3",
"expo-constants": "~56.0.16",
"expo-crypto": "~56.0.4",
"expo-dev-client": "~56.0.18",
"expo-document-picker": "~56.0.4",
"expo-file-system": "~56.0.7",
"expo-haptics": "~56.0.3",
"expo-image": "~56.0.9",
"expo-image-picker": "~56.0.15",
"expo-insights": "~56.0.15",
"expo-linear-gradient": "~56.0.4",
"expo-linking": "~56.0.13",
"expo-localization": "~56.0.6",
"expo-media-library": "~56.0.6",
"expo-router": "~56.2.8",
"expo-sharing": "~56.0.15",
"expo-speech": "~56.0.3",
"expo-splash-screen": "~56.0.10",
"expo-status-bar": "~56.0.4",
"expo-updates": "~56.0.17",
"dayjs": "^1.11.13",
"expo": "^57.0.0",
"expo-asset": "~57.0.7",
"expo-audio": "~57.0.3",
"expo-build-properties": "~57.0.7",
"expo-clipboard": "~57.0.1",
"expo-constants": "~57.0.7",
"expo-crypto": "~57.0.1",
"expo-dev-client": "~57.0.9",
"expo-document-picker": "~57.0.1",
"expo-file-system": "~57.0.1",
"expo-haptics": "~57.0.1",
"expo-image": "~57.0.1",
"expo-image-picker": "~57.0.6",
"expo-insights": "~57.0.6",
"expo-linear-gradient": "~57.0.1",
"expo-linking": "~57.0.4",
"expo-localization": "~57.0.1",
"expo-media-library": "~57.0.3",
"expo-router": "~57.0.8",
"expo-sharing": "~57.0.7",
"expo-speech": "~57.0.1",
"expo-splash-screen": "~57.0.5",
"expo-status-bar": "~57.0.1",
"expo-updates": "~57.0.10",
"html-entities": "^2.6.0",
"i18n-js": "^4.5.1",
"immer": "^10.1.1",
"lodash-es": "^4.17.21",
"luxon": "^3.6.1",
"markdown-it-math": "^5.2.1",
"nativewind": "^4.1.23",
"patch-package": "^8.0.0",
"pusher-js": "^8.4.0",
"react": "19.2.3",
"react-compiler-runtime": "^19.0.0-beta-ebf51a3-20250411",
"react-content-loader": "^7.0.2",
"react-dom": "19.2.3",
"react-hook-form": "^7.57.0",
"react-native": "0.85.3",
"react-native-compressor": "^1.12.0",
"react-native": "0.86.0",
"react-native-code-highlighter": "^1.3.0",
"react-native-compressor": "^2.0.3",
"react-native-extended-stylesheet": "^0.12.0",
"react-native-gesture-handler": "~2.31.1",
"react-native-keyboard-controller": "1.21.6",
"react-native-gesture-handler": "~2.32.0",
"react-native-keyboard-controller": "1.21.9",
"react-native-markdown-display": "^7.0.2",
"react-native-mathjax-svg": "^0.9.9",
"react-native-mmkv": "^3.2.0",
"react-native-modal": "^14.0.0-rc.1",
"react-native-nitro-cookies": "^1.1.0",
"react-native-nitro-modules": "^0.35.9",
"react-native-reanimated": "4.3.1",
"react-native-reanimated": "4.5.0",
"react-native-safe-area-context": "~5.7.0",
"react-native-screens": "4.25.2",
"react-native-screens": "~4.26.0",
"react-native-svg": "15.15.4",
"react-native-svg-transformer": "~1.5.0",
"react-native-toast-message": "^2.3.0",
"react-native-uuid": "^2.0.3",
"react-native-web": "^0.21.0",
"react-native-webview": "13.16.1",
"react-native-worklets": "0.10.0",
"reflect-metadata": "^0.2.2",
"socket.io-client": "^4.8.1",
"tailwind-merge": "^3.3.0",
"tailwind-variants": "^1.0.0",
"tailwindcss": "^3.4.17",
"yup": "^1.6.1"
},
Expand All @@ -91,6 +120,7 @@
"@babel/plugin-transform-class-properties": "^7.29.7",
"@types/lodash-es": "^4.17.12",
"@types/luxon": "^3.6.2",
"babel-preset-expo": "~57.0.0",
"react-refresh": "^0.18.0"
},
"main": "expo-router/entry",
Expand Down
31 changes: 0 additions & 31 deletions apps/mobile/plugins/with-remove-media-playback-permission.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function EmailSignInForm({ onSuccess, onApiUrlChange, setOauthProviders }
handleSubmit,
setValue,
formState: { isValid, errors },
} = useForm({
} = useForm<EmailFormSchema>({
defaultValues: new EmailFormSchema(),
resolver: yupResolver(EmailFormSchema.validationSchema),
});
Expand Down
10 changes: 6 additions & 4 deletions libs/mobile/shared/utils/compressor/src/image-compressor.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { Image } from 'react-native-compressor';
import { CompressorOptions } from 'react-native-compressor/lib/typescript/Image';
import { Image as ImageCompressor } from 'react-native-compressor';

export const compressImage = async (path: string, options?: CompressorOptions): Promise<string> => {
return Image.compress(path, options);
export const compressImage = async (
path: string,
options?: NonNullable<Parameters<typeof ImageCompressor.compress>[1]>,
): Promise<string> => {
return ImageCompressor.compress(path, options);
};
1 change: 1 addition & 0 deletions nativewind-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference types="nativewind/types" />

// NOTE: This file should not be edited and should be committed with your source code. It is generated by NativeWind.
declare module '*.css';
Loading
Loading