duticotac_flutter 0.3.1
duticotac_flutter: ^0.3.1 copied to clipboard
Payment using Duticotac.
0.3.1 #
Packaging only — no code change.
Fixed #
- The 0.3.0 archive shipped the local
build/folder (test compilation output, about 19 MB compressed)..pubignorenow excludesbuild/,.dart_tool/andpubspec.lock.
0.3.0 #
Breaking: the minimum Dart and Flutter versions move up, and
flutter_easyloading and duticotac_api_flutter cross a version boundary.
The package's own API is unchanged.
Breaking #
- Minimum Dart SDK is now
^3.13.0(was^3.7.2) - Minimum Flutter is now
>=3.47.0(was>=1.17.0) flutter_easyloadingupgraded to^4.0.2(was^3.0.5); apps that depend on it directly must move to 4.x too.EasyLoading.init()is unchanged.duticotac_api_flutterupgraded to^0.1.1(was^0.0.20)
Fixed #
onTransactionCompletedwas never called. It now receives the id returned bygetTransactionIdafter a successful mobile money payment.- The method choice sheet overflowed when card, mobile money and cash were all offered: it now sizes itself to its content.
payAnOffer: closing the method choice sheet showed an "unknown-error" toast and returnedunknown-error. It now returnsshow-modal-bottom-sheet-error, like closing the operator list.payAnOffer: unknown errors showed the rawunknown-errorcode in the toast instead of "Une erreur inconnue est survenue".payAnOfferon an offer without a price and noamountnow shows "Cette offre n'a pas de prix : indiquez un montant" instead of an unknown error.- In-app purchase: the loading overlay stayed on screen after the store accepted the purchase.
Changed #
dioupgraded to^5.11.1,hive_ceto^2.20.0,in_app_purchaseto^3.3.0,pinputto^6.0.2,url_launcherto^6.3.2,phone_form_fieldto^10.0.18phone_form_field11 is not used: it builds on the standalonematerial_uipackage and its field crashes underpackage:flutter/material.dart- Dev dependency
flutter_lintsupgraded to^6.0.0 - Provider filtering and phone number rules moved out of the widgets into
utils/payment_options.dartandutils/phone_rules.dart, with unit tests - README rewritten to match the code:
EasyLoading.init()setup, return values and errors, in-app purchase completion, credit card and cash not yet implemented; removed thebuild_runnerandin_app_purchase_storekitinstructions, which consumers don't need
0.0.1 #
- TODO: Describe initial release.