Daily Transaction Limit #1
This commit is contained in:
@@ -65,9 +65,9 @@ Dio _createDioClient() {
|
|||||||
final dio = Dio(
|
final dio = Dio(
|
||||||
BaseOptions(
|
BaseOptions(
|
||||||
baseUrl:
|
baseUrl:
|
||||||
//'http://lb-test-mobile-banking-app-192209417.ap-south-1.elb.amazonaws.com:8080', //test
|
'http://lb-test-mobile-banking-app-192209417.ap-south-1.elb.amazonaws.com:8080', //test
|
||||||
//'http://lb-kccb-mobile-banking-app-848675342.ap-south-1.elb.amazonaws.com', //prod
|
//'http://lb-kccb-mobile-banking-app-848675342.ap-south-1.elb.amazonaws.com', //prod
|
||||||
'https://kccbmbnk.net',
|
//'https://kccbmbnk.net',
|
||||||
connectTimeout: const Duration(seconds: 60),
|
connectTimeout: const Duration(seconds: 60),
|
||||||
receiveTimeout: const Duration(seconds: 60),
|
receiveTimeout: const Duration(seconds: 60),
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
25
lib/features/service/screens/daily_transaction_limit.dart
Normal file
25
lib/features/service/screens/daily_transaction_limit.dart
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:kmobile/l10n/app_localizations.dart';
|
||||||
|
|
||||||
|
class DailyLimitScreen extends StatefulWidget {
|
||||||
|
const DailyLimitScreen({super.key});
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<DailyLimitScreen> createState() => _DailyLimitScreenState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _DailyLimitScreenState extends State<DailyLimitScreen> {
|
||||||
|
@override
|
||||||
|
void initState() {
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Text(AppLocalizations.of(context).dailylimit),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
import 'package:kmobile/features/service/screens/branch_locator_screen.dart';
|
import 'package:kmobile/features/service/screens/branch_locator_screen.dart';
|
||||||
|
import 'package:kmobile/features/service/screens/daily_transaction_limit.dart';
|
||||||
import '../../../l10n/app_localizations.dart';
|
import '../../../l10n/app_localizations.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
||||||
@@ -38,6 +39,17 @@ Widget build(BuildContext context) {
|
|||||||
disabled: true,
|
disabled: true,
|
||||||
),
|
),
|
||||||
const Divider(height: 1),
|
const Divider(height: 1),
|
||||||
|
ServiceManagementTile(
|
||||||
|
icon: Symbols.currency_rupee,
|
||||||
|
label: AppLocalizations.of(context).dailylimit,
|
||||||
|
onTap: () {
|
||||||
|
Navigator.of(context).push(
|
||||||
|
MaterialPageRoute(builder: (context) => const DailyLimitScreen()),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
disabled: false,
|
||||||
|
),
|
||||||
|
const Divider(height: 1),
|
||||||
ServiceManagementTile(
|
ServiceManagementTile(
|
||||||
icon: Symbols.captive_portal,
|
icon: Symbols.captive_portal,
|
||||||
label: AppLocalizations.of(context).quickLinks,
|
label: AppLocalizations.of(context).quickLinks,
|
||||||
|
|||||||
@@ -318,5 +318,6 @@
|
|||||||
"kccbMobile": "KCCB Mobile",
|
"kccbMobile": "KCCB Mobile",
|
||||||
"faq": "Frequently Asked Questions(FAQs)",
|
"faq": "Frequently Asked Questions(FAQs)",
|
||||||
"branches": "Branches",
|
"branches": "Branches",
|
||||||
"atms": "ATMs"
|
"atms": "ATMs",
|
||||||
|
"dailylimit": "Daily Transaction Limit"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -319,5 +319,6 @@
|
|||||||
"kccbMobile": "केसीसीबी मोबाइल",
|
"kccbMobile": "केसीसीबी मोबाइल",
|
||||||
"faq": "अक्सर पूछे जाने वाले प्रश्न",
|
"faq": "अक्सर पूछे जाने वाले प्रश्न",
|
||||||
"branches": "शाखाओं",
|
"branches": "शाखाओं",
|
||||||
"atms": "एटीएम"
|
"atms": "एटीएम",
|
||||||
|
"dailylimit": "दैनिक लेनदेन सीमा"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,22 +9,19 @@ import 'app.dart';
|
|||||||
void main() async {
|
void main() async {
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
|
|
||||||
// Set preferred orientations
|
|
||||||
await SystemChrome.setPreferredOrientations([
|
await SystemChrome.setPreferredOrientations([
|
||||||
DeviceOrientation.portraitUp,
|
DeviceOrientation.portraitUp,
|
||||||
DeviceOrientation.portraitDown,
|
DeviceOrientation.portraitDown,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Check for device compromise
|
// Check for device compromise
|
||||||
final compromisedMessage = await SecurityService.deviceCompromisedMessage;
|
// final compromisedMessage = await SecurityService.deviceCompromisedMessage;
|
||||||
if (compromisedMessage != null) {
|
// if (compromisedMessage != null) {
|
||||||
runApp(MaterialApp(
|
// runApp(MaterialApp(
|
||||||
home: SecurityErrorScreen(message: compromisedMessage),
|
// home: SecurityErrorScreen(message: compromisedMessage),
|
||||||
));
|
// ));
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Initialize dependencies
|
|
||||||
await setupDependencies();
|
await setupDependencies();
|
||||||
runApp(const KMobile());
|
runApp(const KMobile());
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user