redx_courier 0.0.2
redx_courier: ^0.0.2 copied to clipboard
Dart/Flutter client for the RedX (redx.com.bd) courier API: create parcels, resolve delivery areas from an address, and list your pickup stores.
0.0.2 #
- Shortened the package
descriptionin pubspec.yaml to fit pub.dev's 180-character limit (was losing 10 pub points for being too long); no code changes.
0.0.1 #
- Initial release.
RedxClient.getPickupStores()/getPickupStoreInfo()- list and look up pickup stores, including a built-in warning about the shop-ID vs pickup-store-ID mixup that causes RedX's/parcelendpoint to crash withCannot read property 'PHONE' of undefined.RedxClient.getAreasByDistrict()/resolveAreaForAddress()- district name normalization (Barisal/Barishal, Bogra/Bogura, etc.) plus a best-match heuristic that maps a free-text customer address to the right RedX delivery area.RedxClient.createParcel()- create a parcel/shipment.RedxClient.trackParcel()- track a parcel by tracking ID.normalizeBdPhoneForRedx()- normalizes phone numbers to the local01XXXXXXXXXformat RedX expects.