marktag 1.0.1
marktag: ^1.0.1 copied to clipboard
Flutter SDK for Marktag
1.0.1 #
Marktag.initnow accepts an optionalserverIdfor server-side (mobile) mode. When provided, the SDK sendsisServer: trueandserverIdin the payload so the server can resolve the tenant byserverSide.serverIdinstead of relying on host-only routing.- Server-side payloads no longer send
isClient: false/isServer: truewhen noserverIdis set; the keys are omitted entirely, letting the server fall through to its hostname lookup.
1.0.0 #
- Add Flutter web (client-side) support: SDK runs in browsers via
package:httpinstead ofdart:io. Marktag.initnow accepts an optionaltagId; when provided, the SDK uses client-side mode (isClient: true,clientIdin payload,?tagId=in URL).- Server-side mode (no
tagId) preserves the original payload shape withx-cf-ip/x-cf-locfields. - Upgrade
device_info_plusto^13.1.0; replacePlatform.isXwithdefaultTargetPlatformfor web compatibility. - Raise minimum constraints to Dart
^3.10.0and Flutter>=3.38.0.
0.1.2+3 #
- Rename symbols.
0.1.1+2 #
- Add support for collecting extra identifiers.
0.1.0+1 #
- Initial version.