bbps_sdk_flutter 0.0.4
bbps_sdk_flutter: ^0.0.4 copied to clipboard
Flutter plugin for Juspay BBPS (Bharat BillPay System) bill payments
0.0.4 #
Breaking Changes #
- Event stream and method-call responses now emit decoded maps directly instead of JSON strings or
{event, payload}envelopes BbpsEventno longer wraps responses, new fieldsrequestId,service,errorCode, anderrorMessageadded, anderroris now aString?
Native Changes #
- Android: Added
toStandardTypes()to convertJSONObject/JSONArraypayloads into standard Dart types (maps/lists), removedset_txn_statushelper and simplifiedprocess_resultto read theeventfrom the inner payload - iOS: Event sink now forwards the native response dictionary as-is instead of re-wrapping it in an
{event, payload}envelope
0.0.3 #
- Lowered minimum Dart SDK requirement from
^3.11.5to^3.9.0 - Raised minimum Flutter SDK requirement from
>=3.3.0to>=3.35.0to align with Dart 3.9.0 - Lowered
flutter_lintsfrom^6.0.0to^5.0.0for wider compatibility
0.0.2 #
Breaking Changes #
- Unified API signatures:
createService,initiate,processnow accept a single optionalparamsmap instead of individual named parameters process()no longer takesactionas a positional argument; include it inparamsinsteadinitiate()no longer injectsactionandclientIdon the native side; these must now be included in the Dartparamsmap
Native Changes #
- Android: Updated BBPS SDK from
0.1.9to0.1.10; fixeddo_paymentoverride modifier - iOS: Aligned
initiateandprocessto accept direct params map consistently (removed legacy{params: {...}}support) - Both platforms:
initiatenow forwards params dynamically without injecting any defaults
Fixes #
- Aligned Dart and iOS method channel signatures for
initiateandprocess - Updated tests to reflect new API signatures
0.0.1 #
- First Release of bbps_sdk_flutter