- number-поля теперь рендерятся как text + inputMode=numeric, чтобы браузер не округлял значения через input type=number - пробелы при вставке в number-поля удаляются - бэкенд нормализует значения number-полей в строку перед сохранением - добавлен хелпер normalizeFieldValueForStorage Closes: искажение расчётного счёта и других длинных числовых полей
19 lines
367 B
TypeScript
19 lines
367 B
TypeScript
import type { CapacitorConfig } from '@capacitor/cli';
|
|
|
|
const config: CapacitorConfig = {
|
|
appId: 'com.iistwin.app',
|
|
appName: 'iistwin',
|
|
webDir: 'dist/public',
|
|
server: {
|
|
androidScheme: 'https',
|
|
iosScheme: 'https',
|
|
},
|
|
plugins: {
|
|
PushNotifications: {
|
|
presentationOptions: ['badge', 'sound', 'alert'],
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|