Skip to content

Commit

Permalink
style: style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dylancom committed Dec 4, 2024
1 parent 998b550 commit 687a968
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
import io.invertase.googlemobileads.common.ReactNativeMeta;
import io.invertase.googlemobileads.common.ReactNativeModule;
import io.invertase.googlemobileads.common.ReactNativePreferences;
import java.util.HashMap;
import java.util.Map;

public class ReactNativeAppModule extends ReactNativeModule {
private static final String TAG = "RNAppModule";
Expand Down
16 changes: 8 additions & 8 deletions ios/RNGoogleMobileAds/RNGoogleMobileAdsModule.mm
Original file line number Diff line number Diff line change
Expand Up @@ -175,20 +175,20 @@ - (void)openAdInspector:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseReject
#endif
}

- (NSDictionary*) constantsToExport {
- (NSDictionary *)constantsToExport {
return @{
// Precision types in ad revenue events.
// See: https://developers.google.com/admob/ios/impression-level-ad-revenue#objective-c
// Precision types in ad revenue events.
// See: https://developers.google.com/admob/ios/impression-level-ad-revenue#objective-c
#if !TARGET_OS_MACCATALYST
@"REVENUE_PRECISION_UNKNOWN": @(GADAdValuePrecisionUnknown),
@"REVENUE_PRECISION_ESTIMATED": @(GADAdValuePrecisionEstimated),
@"REVENUE_PRECISION_PUBLISHER_PROVIDED": @(GADAdValuePrecisionPublisherProvided),
@"REVENUE_PRECISION_PRECISE": @(GADAdValuePrecisionPrecise)
@"REVENUE_PRECISION_UNKNOWN" : @(GADAdValuePrecisionUnknown),
@"REVENUE_PRECISION_ESTIMATED" : @(GADAdValuePrecisionEstimated),
@"REVENUE_PRECISION_PUBLISHER_PROVIDED" : @(GADAdValuePrecisionPublisherProvided),
@"REVENUE_PRECISION_PRECISE" : @(GADAdValuePrecisionPrecise)
};
#endif
}

- (NSDictionary*) getConstants {
- (NSDictionary *)getConstants {
return [self constantsToExport];
}

Expand Down

0 comments on commit 687a968

Please sign in to comment.