18 lines
590 B
Dart
18 lines
590 B
Dart
|
|
|
||
|
|
|
||
|
|
/// Created by Haoyi on 2023/1/24
|
||
|
|
export 'package:guru_utils/manifest/manifest.dart';
|
||
|
|
export 'manifest_manager.dart';
|
||
|
|
//
|
||
|
|
// class ReservedManifestFactory {
|
||
|
|
// static Future<Manifest?> buildNoBannerAndInterstitialAds(TransactionIntent intent) async {
|
||
|
|
// if (GuruApp.instance.productProfile.noAdsCapIds.contains(intent.productId)) {
|
||
|
|
// final details = Details.define(DetailsReservedType.noAds, 1);
|
||
|
|
// return Manifest("no_ads", details: [details]);
|
||
|
|
// }
|
||
|
|
// return null;
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
// static List<ManifestBuilder> builders = [buildNoBannerAndInterstitialAds];
|
||
|
|
// }
|