AppLovin MAX
magify_flutter_sdk does not have a dedicated AppLovin MAX setter or initializer. If you
want MAX to use the same identifier as Magify, read MagifyClient.instance.clientId and pass
it into MAX's own Flutter plugin initialization as the user ID, before initializing MAX:
final clientId = await MagifyClient.instance.clientId;
// pass clientId as the AppLovin MAX user id when configuring the MAX Flutter plugin
Reporting AppLovin MAX ad revenue
The supported integration point is ad revenue/impression reporting: forward AppLovin MAX's
impression callback (for example onAdRevenuePaid) into
MagifyClient.instance.trackBaseAdsImpression using the MagifyAdsImpressionData.appLovin
factory. See Advertisement for the
full field reference.
await MagifyClient.instance.trackBaseAdsImpression(
MagifyAdsImpressionData.appLovin(
adUnitId: maxAd.adUnitId,
networkName: maxAd.networkName,
revenue: maxAd.revenue,
revenuePrecision: maxAd.revenuePrecision,
),
);
Next step
Continue to LevelPlay / IronSource for the equivalent ironSource/LevelPlay integration, or back to Advertisement for the full impression-reporting reference.