Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sai Srinivas
gen_rentals
Commits
2af2b2b7
Commit
2af2b2b7
authored
Nov 05, 2025
by
Sai Srinivas
Browse files
05-11 build.gradle
parent
b94f676a
Changes
5
Hide whitespace changes
Inline
Side-by-side
android/app/build.gradle.kts
View file @
2af2b2b7
...
@@ -32,7 +32,7 @@ android {
...
@@ -32,7 +32,7 @@ android {
applicationId
=
"in.webgrid.genrentals"
applicationId
=
"in.webgrid.genrentals"
// You can update the following values to match your application needs.
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk
=
flutter
.
minSdkVersion
minSdk
=
23
targetSdk
=
36
targetSdk
=
36
versionCode
=
flutter
.
versionCode
versionCode
=
flutter
.
versionCode
versionName
=
flutter
.
versionName
versionName
=
flutter
.
versionName
...
...
lib/Notifier/RentalContactProvider .dart
View file @
2af2b2b7
...
@@ -50,16 +50,12 @@ class RentalProvider extends ChangeNotifier {
...
@@ -50,16 +50,12 @@ class RentalProvider extends ChangeNotifier {
isOtpLoading
=
true
;
isOtpLoading
=
true
;
notifyListeners
();
notifyListeners
();
try
{
try
{
if
(
Platform
.
isAndroid
){
initAndroidId
();
}
else
{
getDevId
();
}
final
result
=
await
ApiCalling
.
fetchMobileOtpApi
(
mob
,
otp
,
deviceDetails
);
final
result
=
await
ApiCalling
.
fetchMobileOtpApi
(
mob
,
otp
,
deviceDetails
??
""
);
otpResponse
=
result
;
otpResponse
=
result
;
}
catch
(
e
)
{
}
catch
(
e
)
{
debugPrint
(
"❌ OT
Ps
API Error:
$e
"
);
debugPrint
(
"❌ OT API Error:
$e
"
);
otpResponse
=
null
;
otpResponse
=
null
;
}
finally
{
}
finally
{
isOtpLoading
=
false
;
isOtpLoading
=
false
;
...
...
lib/Services/api_calling.dart
View file @
2af2b2b7
...
@@ -54,7 +54,7 @@ class ApiCalling {
...
@@ -54,7 +54,7 @@ class ApiCalling {
String
otp
,
String
otp
,
deviceDetails
deviceDetails
)
async
{
)
async
{
debugPrint
(
"############################### Api calling "
);
debugPrint
(
"############################### Api
fetch otp
calling "
);
try
{
try
{
Map
<
String
,
String
>
data
=
{
Map
<
String
,
String
>
data
=
{
"mob"
:
mob
,
"mob"
:
mob
,
...
@@ -64,7 +64,7 @@ class ApiCalling {
...
@@ -64,7 +64,7 @@ class ApiCalling {
print
(
data
);
print
(
data
);
final
res
=
await
post
(
data
,
fetchOtpUrl
,
{});
final
res
=
await
post
(
data
,
fetchOtpUrl
,
{});
if
(
res
!=
null
)
{
if
(
res
!=
null
)
{
print
(
res
);
return
FetchMobileResponse
.
fromJson
(
jsonDecode
(
res
.
body
));
return
FetchMobileResponse
.
fromJson
(
jsonDecode
(
res
.
body
));
}
else
{
}
else
{
debugPrint
(
"Null Response"
);
debugPrint
(
"Null Response"
);
...
...
pubspec.lock
View file @
2af2b2b7
...
@@ -157,10 +157,10 @@ packages:
...
@@ -157,10 +157,10 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: fake_async
name: fake_async
sha256: "
5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44
"
sha256: "
6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc
"
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
version: "1.3.
3
"
version: "1.3.
2
"
ffi:
ffi:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -396,26 +396,26 @@ packages:
...
@@ -396,26 +396,26 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: leak_tracker
name: leak_tracker
sha256:
"33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
sha256:
c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
version: "1
1
.0.
2
"
version: "1
0
.0.
8
"
leak_tracker_flutter_testing:
leak_tracker_flutter_testing:
dependency: transitive
dependency: transitive
description:
description:
name: leak_tracker_flutter_testing
name: leak_tracker_flutter_testing
sha256:
"1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
sha256:
f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
version: "3.0.
10
"
version: "3.0.
9
"
leak_tracker_testing:
leak_tracker_testing:
dependency: transitive
dependency: transitive
description:
description:
name: leak_tracker_testing
name: leak_tracker_testing
sha256: "
8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1
"
sha256: "
6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3
"
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
version: "3.0.
2
"
version: "3.0.
1
"
lints:
lints:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -841,10 +841,10 @@ packages:
...
@@ -841,10 +841,10 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: test_api
name: test_api
sha256:
"522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
sha256:
fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
version: "0.7.
6
"
version: "0.7.
4
"
typed_data:
typed_data:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -889,10 +889,10 @@ packages:
...
@@ -889,10 +889,10 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: vector_math
name: vector_math
sha256:
d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
sha256:
"80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
version: "2.
2.0
"
version: "2.
1.4
"
vm_service:
vm_service:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -942,5 +942,5 @@ packages:
...
@@ -942,5 +942,5 @@ packages:
source: hosted
source: hosted
version: "6.5.0"
version: "6.5.0"
sdks:
sdks:
dart: ">=3.
8.0-0
<4.0.0"
dart: ">=3.
7.2
<4.0.0"
flutter: ">=3.29.0"
flutter: ">=3.29.0"
pubspec.yaml
View file @
2af2b2b7
...
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
...
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
# of the product and file versions while build-number is used as the build suffix.
version
:
1.0.
1+2
version
:
1.0.
2+3
environment
:
environment
:
sdk
:
^3.7.2
sdk
:
^3.7.2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment