getAllUpiApps()
now supports Android 11+- Updated Readme
Migrated to Null Safety
Added Warning about "Maximum limit exceeded" and "Risk threshold exceeded" in Readme.
Breaking Change
startTransaction
now does not return UpiResponse on error, rather throws error.- Names of predefined apps now use camelCase as they are no longer constants.
app
parameter of UpiApp has been renamed topackageName
to avoid confusion.app
parameter passed instartTransaction
now directly takes UpiApp instead of String.- New Custom error classes have been added.
getAllUpiApps
now has three new parameters:mandatoryTransactionId
,allowNonVerifiedApps
,includeOnly
.- Airtel Thanks (My Airtel) has been moved to incompatible app group as it was not returning any response.
- New UPI Apps included.
- Now only the supported apps will be returned by
getAllUpiApps
. - Migrated to use Android plugin APIs Embedding v2.
Breaking Change Names of classes have been changed to make them more concise.
- UpiIndiaApp has been renamed to UpiApp
- UpiIndiaResponse has been renamed to UpiResponse
- UpiIndiaResponseStatus has been renamed to UpiPaymentStatus
- UpiIndiaResponseError has been renamed to UpiError
- Modified Readme.
Breaking Change Whole way to use this plugin has changed. Some major changes are:
- Now pass transaction details in
startTransaction()
method instead ofUpiIndia
constructor. - Renamed
UpiIndiaApps
toUpiIndiaApp
and made it a model class containing app name, package name and app icon (only for apps returned by the below method). - Added
getAllUpiApps()
method which returnsList<UpiIndiaApp>
. - Now
startTransaction()
returnsFuture<UpiIndiaResponse>
instead ofFuture<String>
- Now you get the error from the
error
parameter ofUpiIndiaResponse
- Some new UPI Apps have been added too.
- upi_india.dart has been divided into three files to increase readability.
- UpiIndiaPlugin.java has been formatted to make it easy to understand.
- Removed UpiIndiaResponseStatus.FAILED.
- Removed MI Pay because of conflicting package name in Play Store and GetApps(MI Apps).
- Added Mobikwik and FreeCharge
- Now look for UPI_INDIA_FINAL_RESPONSE in your terminal window to see the actual response string from your requested app.
- Changed UpiIndiaResponseStatus.FAILED to UpiIndiaResponseStatus.FAILURE.
- UpiIndiaResponseStatus.FAILED has been deprecated.
- Prevented app to crash in case requested app wasn't ready to proceed payment
- Did some changes in response status because PhonePe was returning FAILED instead of FAILURE as specified.
- Plugin to implement UPI in Android