Skip to content

Commit 41c8a6c

Browse files
committed
v8.2.6
1 parent 24b7a1f commit 41c8a6c

File tree

8 files changed

+227
-248
lines changed

8 files changed

+227
-248
lines changed

LabelStoreMax/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [8.2.6] - 2025-12-13
2+
3+
* Update Android Project config
4+
* Update IOS Project config
5+
* Remove RazorPay dependency
6+
* Dependency updates
7+
18
## [8.2.4] - 2025-09-06
29

310
* Dependency updates

LabelStoreMax/android/app/build.gradle

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ if (flutterVersionName == null) {
2424

2525
android {
2626
namespace "com.woosignal.android"
27-
compileSdk 35
28-
ndkVersion = "25.1.8937393"
27+
compileSdk 36
28+
ndkVersion = "27.0.12077973"
2929

3030
packagingOptions {
3131
exclude 'META-INF/DEPENDENCIES'
@@ -52,11 +52,15 @@ android {
5252
defaultConfig {
5353
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
5454
applicationId "com.woosignal.android"
55-
minSdkVersion 21
55+
minSdkVersion flutter.minSdkVersion
5656
targetSdkVersion 34
5757
versionCode flutterVersionCode.toInteger()
5858
versionName flutterVersionName
5959
multiDexEnabled true
60+
61+
ndk {
62+
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64'
63+
}
6064
}
6165

6266
buildTypes {
@@ -74,4 +78,4 @@ flutter {
7478

7579
dependencies {
7680
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
77-
}
81+
}

LabelStoreMax/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-all.zip

LabelStoreMax/android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pluginManagement {
1919

2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "8.3.2" apply false
23-
id "org.jetbrains.kotlin.android" version "2.0.20" apply false
22+
id "com.android.application" version "8.13.2" apply false
23+
id "org.jetbrains.kotlin.android" version "2.2.21" apply false
2424
}
2525

2626
include ":app"
Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,80 @@
1-
// Label StoreMax
1+
// // Label StoreMax
2+
// //
3+
// // Created by Anthony Gordon.
4+
// // 2025, WooSignal Ltd. All rights reserved.
5+
// //
26
//
3-
// Created by Anthony Gordon.
4-
// 2025, WooSignal Ltd. All rights reserved.
7+
// // Unless required by applicable law or agreed to in writing, software
8+
// // distributed under the License is distributed on an "AS IS" BASIS,
9+
// // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
510
//
6-
7-
// Unless required by applicable law or agreed to in writing, software
8-
// distributed under the License is distributed on an "AS IS" BASIS,
9-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10-
11-
import '/resources/pages/checkout_status_page.dart';
12-
import '/app/models/cart.dart';
13-
import '/bootstrap/data/order_wc.dart';
14-
import '/bootstrap/helpers.dart';
15-
import '/resources/pages/checkout_confirmation_page.dart';
16-
import 'package:nylo_framework/nylo_framework.dart';
17-
import 'package:razorpay_flutter/razorpay_flutter.dart';
18-
import 'package:woosignal/models/response/tax_rate.dart';
19-
import 'package:woosignal/models/payload/order_wc.dart';
20-
import 'package:woosignal/models/response/order.dart';
21-
22-
razorPay(context, {TaxRate? taxRate}) async {
23-
Razorpay razorpay = Razorpay();
24-
25-
razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS,
26-
(PaymentSuccessResponse response) async {
27-
OrderWC orderWC = await buildOrderWC(taxRate: taxRate);
28-
29-
Order? order = await appWooSignal((api) => api.createOrder(orderWC));
30-
31-
if (order != null) {
32-
showToastNotification(
33-
context,
34-
title: "Error".tr(),
35-
description: trans("Something went wrong, please contact our store"),
36-
);
37-
updateState(CheckoutConfirmationPage.path.nyPageName(),
38-
data: {"reloadState": false});
39-
return;
40-
}
41-
Cart.getInstance.clear();
42-
routeTo(CheckoutStatusPage.path, data: order);
43-
});
44-
45-
razorpay.on(Razorpay.EVENT_PAYMENT_ERROR, (PaymentFailureResponse response) {
46-
showToastNotification(context,
47-
title: trans("Error"),
48-
description: response.message ?? "",
49-
style: ToastNotificationStyleType.warning);
50-
updateState(CheckoutConfirmationPage.path.nyPageName(),
51-
data: {"reloadState": false});
52-
});
53-
54-
razorpay.on(Razorpay.EVENT_EXTERNAL_WALLET, _handleExternalWallet);
55-
56-
// CHECKOUT HELPER
57-
await checkout(taxRate, (total, billingDetails, cart) async {
58-
var options = {
59-
'key': getEnv('RAZORPAY_API_KEY'),
60-
'amount': (double.parse(total) * 100).toInt(),
61-
'name': getEnv('APP_NAME'),
62-
'description': await cart.cartShortDesc(),
63-
'prefill': {
64-
"name": [
65-
billingDetails!.billingAddress?.firstName,
66-
billingDetails.billingAddress?.lastName
67-
].where((t) => t != null || t != "").toList().join(" "),
68-
"method": "card",
69-
'email': billingDetails.billingAddress?.emailAddress ?? ""
70-
}
71-
};
72-
73-
updateState(CheckoutConfirmationPage.path.nyPageName(),
74-
data: {"reloadState": true});
75-
76-
razorpay.open(options);
77-
});
78-
}
79-
80-
void _handleExternalWallet(ExternalWalletResponse response) {}
11+
// import '/resources/pages/checkout_status_page.dart';
12+
// import '/app/models/cart.dart';
13+
// import '/bootstrap/data/order_wc.dart';
14+
// import '/bootstrap/helpers.dart';
15+
// import '/resources/pages/checkout_confirmation_page.dart';
16+
// import 'package:nylo_framework/nylo_framework.dart';
17+
// import 'package:razorpay_flutter/razorpay_flutter.dart';
18+
// import 'package:woosignal/models/response/tax_rate.dart';
19+
// import 'package:woosignal/models/payload/order_wc.dart';
20+
// import 'package:woosignal/models/response/order.dart';
21+
//
22+
// razorPay(context, {TaxRate? taxRate}) async {
23+
// Razorpay razorpay = Razorpay();
24+
//
25+
// razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS,
26+
// (PaymentSuccessResponse response) async {
27+
// OrderWC orderWC = await buildOrderWC(taxRate: taxRate);
28+
//
29+
// Order? order = await appWooSignal((api) => api.createOrder(orderWC));
30+
//
31+
// if (order != null) {
32+
// showToastNotification(
33+
// context,
34+
// title: "Error".tr(),
35+
// description: trans("Something went wrong, please contact our store"),
36+
// );
37+
// updateState(CheckoutConfirmationPage.path.nyPageName(),
38+
// data: {"reloadState": false});
39+
// return;
40+
// }
41+
// Cart.getInstance.clear();
42+
// routeTo(CheckoutStatusPage.path, data: order);
43+
// });
44+
//
45+
// razorpay.on(Razorpay.EVENT_PAYMENT_ERROR, (PaymentFailureResponse response) {
46+
// showToastNotification(context,
47+
// title: trans("Error"),
48+
// description: response.message ?? "",
49+
// style: ToastNotificationStyleType.warning);
50+
// updateState(CheckoutConfirmationPage.path.nyPageName(),
51+
// data: {"reloadState": false});
52+
// });
53+
//
54+
// razorpay.on(Razorpay.EVENT_EXTERNAL_WALLET, _handleExternalWallet);
55+
//
56+
// // CHECKOUT HELPER
57+
// await checkout(taxRate, (total, billingDetails, cart) async {
58+
// var options = {
59+
// 'key': getEnv('RAZORPAY_API_KEY'),
60+
// 'amount': (double.parse(total) * 100).toInt(),
61+
// 'name': getEnv('APP_NAME'),
62+
// 'description': await cart.cartShortDesc(),
63+
// 'prefill': {
64+
// "name": [
65+
// billingDetails!.billingAddress?.firstName,
66+
// billingDetails.billingAddress?.lastName
67+
// ].where((t) => t != null || t != "").toList().join(" "),
68+
// "method": "card",
69+
// 'email': billingDetails.billingAddress?.emailAddress ?? ""
70+
// }
71+
// };
72+
//
73+
// updateState(CheckoutConfirmationPage.path.nyPageName(),
74+
// data: {"reloadState": true});
75+
//
76+
// razorpay.open(options);
77+
// });
78+
// }
79+
//
80+
// void _handleExternalWallet(ExternalWalletResponse response) {}

LabelStoreMax/lib/config/payment_gateways.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ List<PaymentType> paymentTypeList = [
4141
pay: payPalPay,
4242
),
4343

44-
addPayment(
45-
id: 5,
46-
name: "RazorPay",
47-
description: trans("Debit or Credit Card"),
48-
assetImage: "razorpay.png",
49-
pay: razorPay,
50-
),
44+
// addPayment(
45+
// id: 5,
46+
// name: "RazorPay",
47+
// description: trans("Debit or Credit Card"),
48+
// assetImage: "razorpay.png",
49+
// pay: razorPay,
50+
// ),
5151

5252
// e.g. add more here
5353

0 commit comments

Comments
 (0)