meili_flutter 0.7.0
meili_flutter: ^0.7.0 copied to clipboard
Meili Flutter plugin
Changelog #
0.7.0 #
-
Bumped
meili_flutter_iosto^0.4.8(MeiliSDK1.11.1),meili_flutter_androidto^0.4.10andmeili_flutter_platform_interfaceto^0.4.1. -
Fixes partner loyalty details being dropped when a search is re-run from the results screen on iOS, which returned prices without the partner discount applied (MPD-11030).
-
New:
AvailParamsgainsdiscountRequestedandpartnerLoyaltyAccountTier, which pre-tick the partner discount and loyalty card checkboxes on the search panel. Both native SDKs have accepted these since MeiliSDK1.11.0/ Meili Android SDK1.10.0, but Flutter hosts had no way to pass them. Both fields are optional, so existing code is unaffected.AvailParams( pickupLocation: 'NTE', discountRequested: true, partnerLoyaltyAccountTier: 'CARD', )This is a minor rather than a patch release because it adds public API.
0.6.0 #
-
Bumped
meili_flutter_iosto^0.4.7(MeiliSDK1.11.0) andmeili_flutter_androidto^0.4.9(Meili Android SDK1.10.1). -
Action required on Android: enable core library desugaring. The Meili Android SDK now uses
java.time, which is native only from API 26, so every host app must add this toandroid/app/build.gradle.kts:android { compileOptions { isCoreLibraryDesugaringEnabled = true } } dependencies { coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4") }Without it the Android build fails with
Dependency 'meili.travel:ux-native-android-sdk' requires core library desugaring to be enabled. See the installation guide (MPD-11288). -
Android
minSdkis now 24, down from 27. If your app setsminSdk = 27only to satisfy Meili, you can lower it to 24 — see the installation guide. iOS is unchanged at a 15.0 integration floor with the native funnel on 16.0+. Android 7, 8 and 9 additionally need a TLS 1.3 security provider. Meili's endpoints are TLS 1.3 only and Android gained TLS 1.3 in API 29, so on API 24 to 28 the funnel opens blank unless the host registers one (for example Conscrypt) inApplication.onCreate. See the installation guide. Verified on an Android 7.0 emulator: without a provider every request fails the handshake; with Conscrypt the funnel renders fully. -
Partner theming and partner configuration now resolve correctly in uat and pre-production. Both SDKs previously fetched them from a host that only answered in dev and production, so those two environments silently fell back to the default theme and configuration (MPD-11293).
-
On iOS, the terms and conditions and privacy policy shown in the funnel now come from the environment the build targets. They were previously served from the development CDN in every build, production included (MPD-11293).
-
Funnel analytics now report through the tagging endpoint on both platforms, and requests move to the car-api gateway (MPD-11045 on iOS, MPD-10768 on Android).
-
Single-tier loyalty programmes render a checkbox instead of a tier picker (MPD-11030 / MPD-11031).
-
iOS:
availParamsnow reach the native SDK. They were silently dropped unlesspickupDateTimeanddropoffDateTimewere also set, so currency overrides and deeplinks had no effect on iOS. The""/0placeholders for unused fields are now treated as unset on both platforms. Also fixed an iOS crash whenadditionalParamsomittedlastNameorconfirmationId. -
AvailParamsfields are all optional now (meili_flutter_platform_interface0.4.0). Pass only what you want to prefill, for exampleAvailParams(currencyCode: 'EUR'). Code that passes every field is unchanged. If you were passing''or0as placeholders, remove them.
0.5.0 #
- Bumped
meili_flutter_iosto^0.4.6(MeiliSDK1.10.0) andmeili_flutter_androidto^0.4.8(Meili Android SDK1.9.0). Together these let a partner brand use a separate heading typeface alongside its body typeface, with prices and numeric text staying on the body typeface (MPD-11080). - No Dart API change, and nothing to configure in code. If a brand font is not already on the device,
the host app supplies the files in its platform projects —
UIAppFontsinios/Runner, andandroid/app/src/main/assets/meili/fonts/on Android. A font declared only underfonts:inpubspec.yamlregisters with the Flutter engine and is not visible to the native funnel. See the installation guide.
0.4.8 #
Stable release of the 0.4.8-beta.x line.
- iOS 15 is now supported.
meili_flutter_ioslowers its deployment target to 15.0 (MPD-11195). A host app must also lower its ownIPHONEOS_DEPLOYMENT_TARGETto 15.0 to inherit this. On iOS 15 the native funnel cannot render, soMeili.openMeiliView()presents the web funnel automatically — no host code required, andMeili.eventsstill delivers analytics andMeiliFlowDismissedas usual. Android and iOS 16+ are unaffected. - Bumped
meili_flutter_iosto^0.4.5(MeiliSDK 1.9.3) andmeili_flutter_androidto^0.4.7(Meili Android SDK 1.8.1). - The iOS funnel now takes its display language from the device instead of the host app's declared localisations, so a stock Flutter project no longer forces English (MPD-11229).
0.4.8-beta.4 #
- Removed
Meili.nativeFunnelAvailable(), added in0.4.8-beta.3. It shipped against ameili_flutter_platform_interfacechange that was never published, so0.4.8-beta.3fails to compile for every consumer. The API was informational only —openMeiliView()already falls back to the web funnel on iOS 15 on its own, so nothing about the fallback changes. Hosts that want to vary their own UI on iOS 15 can check the OS version directly. - Bumped
meili_flutter_iosdependency to^0.4.5-beta.4.
0.4.8-beta.3 #
- Bumped
meili_flutter_iosdependency to^0.4.5-beta.3(MeiliSDK 1.9.3). The iOS funnel now takes its display language from the device instead of the host app's declared localisations, so a stock Flutter project no longer forces English (MPD-11229).
0.4.8-beta.2 #
- Bumped
meili_flutter_androiddependency to^0.4.7-beta.2(Meili Android SDK 1.8.1) andmeili_flutter_iosdependency to^0.4.5-beta.2(MeiliSDK 1.9.2).
0.4.8-beta.1 #
- Bumped
meili_flutter_androiddependency to^0.4.7-beta.1(Meili Android SDK 1.8.0) andmeili_flutter_iosdependency to^0.4.5-beta.1(MeiliSDK 1.8.0).
0.4.7 #
- BREAKING: the
MeiliViewembedded-widget class is removed from the public API entirely (bumpedmeili_flutter_iosdependency to^0.4.4).Meili.openMeiliView()is now the only way to present the booking flow on both platforms. Android already threwUnsupportedErrorforMeiliViewsince0.4.5-beta.2; iOS's previously-working inline embedding is retired for API symmetry and to keep a single, documented integration path (MPD-10997). - README updated: the "Embedded widget" section is removed; "Full-screen modal" is now the only usage section.
0.4.6 #
- Bumped
meili_flutter_androiddependency to^0.4.6, which removes the slide-up entrance transition on Android (it caused a black flash on some devices).Meili.openMeiliView()now opens with the plain system default transition.
0.4.5-beta.2 #
- BREAKING (Android): the
MeiliViewwidget now throwsUnsupportedErroron Android with migration guidance. It never rendered inline there — it launched the full-screen flow as a side effect and left a blank host page on return. UseMeili.openMeiliView()from your UI action instead. iOS behaviour unchanged. - MPD-10997: via
meili_flutter_android0.4.5-beta.2(Meili Android SDK 1.7.2), dismissing the flow from every back affordance (app-bar chevron, back button, back gesture) now reliably emitsMeiliFlowDismissedonMeili.events. Previously the system back button at the flow root dismissed silently.
0.4.5-beta.1 #
- MPD-10997:
Meili.openMeiliView()on Android presents the booking flow as a slide-up modal over the current screen. bookingFlowEndedis now delivered onMeili.eventson Android as well as iOS.
0.4.4 #
- Bumped
meili_flutter_iosdependency to^0.4.3(MeiliSDK 1.7.2).
0.4.3 #
- Bumped
meili_flutter_androiddependency to^0.4.3.0.4.2referenced Android SDK1.7.0, which was published from a stale commit and did not actually contain the material3 fix;0.4.3pulls in the verified1.7.1.
0.4.2 #
-
Bumped
meili_flutter_androiddependency to^0.4.2, fixing aNoSuchMethodErrorcrash on host apps resolvingandroidx.compose.material3:material31.4.0+. -
Bumped
meili_flutter_iosdependency to^0.4.2(MeiliSDK 1.7.1).
0.4.1 #
- Bumped
meili_flutter_iosdependency to^0.4.0.
0.4.0 #
- Stable release. Bumped
meili_flutter_androiddependency to^0.4.0andmeili_flutter_iosdependency to^0.4.0.
0.3.1-beta.5 #
- Bumped
meili_flutter_androiddependency to^0.3.0-beta.5(Android Gradle Plugin 9 compatibility and a bundled Compose compiler plugin).
0.3.1-beta.4 #
- Bumped
meili_flutter_androiddependency to^0.3.0-beta.3.
0.3.1-beta.3 #
- Migrated to federated plugin architecture using
meili_flutter_platform_interface. Meili.openMeiliView()now delegates to the platform interface instance.- Exported
MeiliParams,AvailParams,BookingParams,FlowTypefrom the platform interface.