Skip to content

Commit 161af8a

Browse files
committed
fix(admob): export correct enums
1 parent 24614e3 commit 161af8a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

packages/firebase-admob/nativead/index.android.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ import { AddChildFromBuilder, Application, ImageSource, View } from '@nativescri
22
import { FirebaseError } from '@nativescript/firebase-core';
33
import { ManagerRequestOptions, RequestOptions, AdEventListener } from '..';
44
import { AdEventType } from '../common';
5-
import { NativeAdEventListener, NativeAdViewBase, MediaViewBase, mediaContentProperty, stretchProperty } from './common';
6-
import { IMediaContent, IMuteThisAdReason, INativeAd, INativeAdImage, IVideoController, NativeAdOptions, UnconfirmedClickListener, VideoStatus, INativeAdLoader, NativeAdEventType } from '.';
5+
import { NativeAdEventListener, NativeAdViewBase, MediaViewBase, mediaContentProperty, stretchProperty, MediaAspectRatio, AdChoicesPlacement, VideoStatus, NativeAdEventType } from './common';
6+
import { IMediaContent, IMuteThisAdReason, INativeAd, INativeAdImage, IVideoController, NativeAdOptions, UnconfirmedClickListener, INativeAdLoader } from '.';
7+
8+
export { AdChoicesPlacement, AdEventType, VideoStatus, MediaAspectRatio, NativeAdEventType };
79

810
const NATIVE_AD_LOADED_EVENT = 'adNativeAdLoaded';
911
const AD_MANAGER_AD_VIEW_LOADED_EVENT = 'adManagerAdViewLoaded';

packages/firebase-admob/nativead/index.ios.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ import { FirebaseError } from '@nativescript/firebase-core';
33
import { topViewController, toSerializeManagerRequestOptions, toSerializeRequestOptions } from '../utils';
44
import { AdEventType } from '../common';
55
import { ManagerRequestOptions, RequestOptions, AdEventListener } from '..';
6-
import { NativeAdEventListener, NativeAdViewBase, MediaViewBase, mediaContentProperty, stretchProperty } from './common';
7-
import { IMediaContent, IMuteThisAdReason, INativeAd, INativeAdImage, IVideoController, NativeAdOptions, UnconfirmedClickListener, VideoStatus, AdChoicesPlacement, MediaAspectRatio, INativeAdLoader, NativeAdEventType } from '.';
6+
import { NativeAdEventListener, NativeAdViewBase, MediaViewBase, mediaContentProperty, stretchProperty, MediaAspectRatio, AdChoicesPlacement, VideoStatus, NativeAdEventType } from './common';
7+
import { IMediaContent, IMuteThisAdReason, INativeAd, INativeAdImage, IVideoController, NativeAdOptions, UnconfirmedClickListener, INativeAdLoader } from '.';
88

99
declare const AdLoaderAdType;
1010

11+
export { AdChoicesPlacement, AdEventType, VideoStatus, MediaAspectRatio, NativeAdEventType };
12+
1113
export class NativeAdView extends NativeAdViewBase implements AddChildFromBuilder {
1214
_native: GADNativeAdView;
1315
_child: View;

0 commit comments

Comments
 (0)