se_flutter_sdk_us 1.5.10 copy "se_flutter_sdk_us: ^1.5.10" to clipboard
se_flutter_sdk_us: ^1.5.10 copied to clipboard

This is the Flutter SDK of SolarEngine US.

se_flutter_sdk_us #

SolarEngine Flutter SDK for overseas apps. See the SolarEngine integration guide for the complete setup.

Separated attribution #

The legacy onAttributionSuccess, onAttributionFail, and getAttribution() APIs remain available. The two modes are mutually exclusive: when the option is omitted or false, only the legacy callbacks run; when it is true, only the UA and RE callbacks run. To receive attribution separately, enable the option and register the callbacks before initialization:

final config = SolarEngineConfig()
  ..enableSeparatedAttribution = true
  ..onUAAttributionSuccess = (data) {}
  ..onUAAttributionFail = (code) {}
  ..onREAttributionSuccess = (data) {}
  ..onREAttributionFail = (code) {};

SolarEngine.initializeWithAppkey(appKey, config);

final uaData = await SolarEngine.getUAAttributionData();
final reData = await SolarEngine.getREAttributionData();

Only separated mode produces UA/RE caches. Both new getters return null until their cached attribution result is ready.

1
likes
130
points
180
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

This is the Flutter SDK of SolarEngine US.

Homepage

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on se_flutter_sdk_us

Packages that implement se_flutter_sdk_us