Skip to content

Commit

Permalink
Format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LTPhantom committed May 8, 2024
1 parent 76c6874 commit acaa36d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ import 'package:gma_mediation_liftoffmonetize/liftoff_privacy_api.g.dart';
/// This class has entrypoint to call Liftoff Monetize's SDK APIs.
class GmaMediationLiftoffmonetize {
Future<void> setGDPRStatus(
bool optedIn, String? consentMessageVersion) async {
bool optedIn,
String? consentMessageVersion,
) async {
await LiftoffPrivacyApi().setGDPRStatus(optedIn, consentMessageVersion);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@

import 'package:pigeon/pigeon.dart';

@ConfigurePigeon(PigeonOptions(
dartOut: 'lib/liftoff_privacy_api.g.dart',
dartOptions: DartOptions(),
kotlinOut:
'android/src/main/kotlin/io/flutter/plugins/googlemobileads/mediation/gma_mediation_liftoffmonetize/LiftoffPrivacyApi.g.kt',
kotlinOptions: KotlinOptions(
@ConfigurePigeon(
PigeonOptions(
dartOut: 'lib/liftoff_privacy_api.g.dart',
dartOptions: DartOptions(),
kotlinOut:
'android/src/main/kotlin/io/flutter/plugins/googlemobileads/mediation/gma_mediation_liftoffmonetize/LiftoffPrivacyApi.g.kt',
kotlinOptions: KotlinOptions(
package:
'io.flutter.plugins.googlemobileads.mediation.gma_mediation_liftoffmonetize'),
swiftOut: 'ios/Classes/LiftoffPrivacyApi.g.swift',
swiftOptions: SwiftOptions(),
dartPackageName: 'gma_mediation_liftoffmonetize',
))
'io.flutter.plugins.googlemobileads.mediation.gma_mediation_liftoffmonetize',
),
swiftOut: 'ios/Classes/LiftoffPrivacyApi.g.swift',
swiftOptions: SwiftOptions(),
dartPackageName: 'gma_mediation_liftoffmonetize',
),
)
@HostApi()

/// The generated classes set the channels to call the methods in the corresponding kotlin LiftoffPrivacyApi interface and swift LiftoffPrivacyApi protocol from the dart layer.
Expand Down

0 comments on commit acaa36d

Please sign in to comment.