razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
107 stars 147 forks source link

Flutter sdk 2.17.0 connecting with Razorpay not supporting. #318

Open mythilipachiappan opened 1 year ago

mythilipachiappan commented 1 year ago

razorpay_flutter: ^1.3.4

Description

Flutter sdk version 2.17.0 not supporting null values in Razorpay . if we try to connect file_version_info.dart getting error 'wLanguage' cannot be Nullable. It must be int, double, Pointer or a subtype of Struct or Union

Flutter Version :

Flutter 3.7.12 • channel stable • https://github.com/flutter/flutter.git Framework • revision 4d9e56e694 (2 weeks ago) • 2023-04-17 21:47:46 -0400 Engine • revision 1a65d409c7 Tools • Dart 2.19.6 • DevTools 2.20.1

Xcode Version :

Xcode 14.2

Cocoapod Version :

1.12.1

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Clone the razorpay-flutter-master/example.
  2. Update the flutter sdk version to sdk: '>=2.19.6 <3.0.0'.
  3. Update the pubspec.yaml dependencies section with razorpay_flutter: ^1.3.4
  4. Run the program in Android or IOS.

Expected Results

Attached Screenshot Razorpay_error