Closed YazadDumasia closed 5 months ago
Hello, any update on this ??
stuck with the same issue, do you guys have any plans to update it.
I thinks its waste of time to depend on razorpay, such a horrible experience. There is no way to connect anyone for the support. I've been trying integrate the razorpay on flutter app, my app is in production still because of these issues with flutter plugin couldn't able to add to my app, and no one is responding.
@YazadDuamasia @athul-getlead, This issue isn't reproducible by us even for versions flutter(3.22.0) and dart (3.4.0). Unsure if this issue is related to the flutter versioning. That said, found this on StackOverflow that you can try.
Step 1. Go into this path C:\Users\Admin\AppData\Local\Pub\Cache\hosted\pub.dev\razorpay_flutter-1.3.5 AND delete this folder "razorpay_flutter-1 3.5" Step 2. In terminal run command "flutter clean" and "flutter Pub get"..
But at least can you update package to support for Flutter 3.19.6 version with updated libraries. So we can use razorpay in newer version bit for Flutter 3.22.0 version lots of changes has been appears like theme and other stuff too. I am just ask to pump up basic libraries and Kotlin version and ios related to support at least on below the new version.
I have client who want to use latest version of the Flutter and also us razorpay as payment but latest version of this support flutter version 3.10.6.how can I migration to newer version beacuse razorpay package other package are unable to build and run app
@YazadDuamasia There is no specification for the razorpay-flutter package to not use 3.19.6. Any flutter version above 2.0.0 can be used. As I mentioned, I tested this with 3.22.0. Can you please share what error you are seeing?
Issue is with newer version of android code structure implementation in kotlin 1.7.10 with new Android Studio Giraffe | 2022.3.1 Patch 2 onwards
@YazadDuamasia Apologies, unable to reproduce the issue at all. Here's what I'm using, Kotlin version 1.8.0 AGP: 7.1.3 Gradle: 7.5-all Dart: sdk: ">=3.3.0 <4.0.0" Flutter: 3.22.0 Android studio: Android Studio Jellyfish | 2023.3.1
A simple flutter pub cache clean
solved the issue for me.
Thanks @vivekshindhe
Closing this ticket. Please feel free to reply or open another ticket if there are any issues.
Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Please update library to support newer flutter version 3.19.6.
Flutter Version :
Run
flutter version
in your terminal and copy the results here. Flutter 3.19.6 • channel stable • https://github.com/flutter/flutter.git Framework • revision 54e66469a9 (3 weeks ago) • 2024-04-17 13:08:03 -0700 Engine • revision c4cd48e186 Tools • Dart 3.3.4 • DevTools 2.31.1Flutter build error
Try
flutter pub outdated
for more information. The pluginrazorpay_flutter
doesn't have a main class defined in C:\Users\yazad\AppData\Local\Pub\Cache\hosted\pub.dev\razorpay_flutter-1.3.6\android\src\main\java\com\razorpay\razorpay_flutter\RazorpayFlutterPlugin.java or C:\Users\yazad\AppData\Local\Pub\Cache\hosted\pub.dev\razorpay_flutter-1.3.6\android\src\main\kotlin\com\razorpay\razorpay_flutter\RazorpayFlutterPlugin.kt. This is likely to due to an incorrectandroidPackage: com.razorpay.razorpay_flutter
ormainClass
entry in the plugin's pubspec.yaml. If you are the author of this plugin, fix theandroidPackage
entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin and consider using a different plugin in the meanwhile. Process finished with exit code 1