react-native-daro 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +30 -30
- package/android/build.gradle +42 -59
- package/android/src/admob/java/com/daro/reactnative/DaroSdkBridge.kt +23 -0
- package/android/src/main/AndroidManifest.xml +1 -2
- package/android/src/main/java/com/{darom → daro/reactnative}/DaroMAdBannerViewManager.kt +4 -4
- package/android/src/main/java/com/{darom → daro/reactnative}/DaroMAdNativeViewManager.kt +4 -4
- package/android/src/main/java/com/{darom → daro/reactnative}/DaroMModule.kt +44 -45
- package/android/src/main/java/com/{darom → daro/reactnative}/DaroMPackage.kt +1 -1
- package/android/src/main/java/com/{darom → daro/reactnative}/constants/InternalDaroMBannerSize.kt +1 -1
- package/android/src/main/java/com/{darom → daro/reactnative}/event/DaroMEvent.kt +1 -1
- package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMBannerViewModuleImpl.kt +2 -2
- package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMInterstitialModuleImpl.kt +26 -26
- package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMLightPopupModuleImpl.kt +30 -29
- package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMRewardedAdModuleImpl.kt +27 -27
- package/android/src/main/java/com/{darom → daro/reactnative}/util/AdInfoUtil.kt +25 -1
- package/android/src/main/java/com/{darom → daro/reactnative}/util/EventEmitterUtil.kt +2 -2
- package/android/src/main/java/com/daro/reactnative/view/DaroMAdBannerViewContainer.kt +417 -0
- package/android/src/main/java/com/{darom → daro/reactnative}/view/DaroMAdNativeViewContainer.kt +4 -4
- package/app.plugin.js +1 -0
- package/ios/DaroMAdBannerViewManager.swift +1 -1
- package/ios/DaroMModule+AppOpen.swift +34 -31
- package/ios/DaroMModule+Interstitial.swift +29 -26
- package/ios/DaroMModule+LightPopup.swift +40 -33
- package/ios/DaroMModule+Rewarded.swift +35 -27
- package/ios/DaroMModule.mm +13 -13
- package/ios/DaroMModule.swift +20 -13
- package/ios/DaroMNativeAdViewManager.swift +1 -1
- package/ios/mediation/admob/DaroMediationDebugger.swift +11 -0
- package/ios/mediation/admob/DaroMediationTypes.swift +22 -0
- package/lib/commonjs/AdBannerView.js +6 -1
- package/lib/commonjs/AdBannerView.js.map +1 -1
- package/lib/commonjs/AppOpenAd.js +43 -17
- package/lib/commonjs/AppOpenAd.js.map +1 -1
- package/lib/commonjs/ErrorCode.js.map +1 -1
- package/lib/commonjs/EventEmitter.js.map +1 -1
- package/lib/commonjs/InterstitialAd.js +45 -17
- package/lib/commonjs/InterstitialAd.js.map +1 -1
- package/lib/commonjs/LightPopupAd.js +62 -43
- package/lib/commonjs/LightPopupAd.js.map +1 -1
- package/lib/commonjs/RewardedAd.js +44 -18
- package/lib/commonjs/RewardedAd.js.map +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/nativeAd/NativeAdView.js +5 -1
- package/lib/commonjs/nativeAd/NativeAdView.js.map +1 -1
- package/lib/commonjs/nativeAd/NativeAdViewComponents.js.map +1 -1
- package/lib/commonjs/nativeAd/NativeAdViewProvider.js.map +1 -1
- package/lib/commonjs/package.json +1 -0
- package/lib/module/AdBannerView.js +6 -1
- package/lib/module/AdBannerView.js.map +1 -1
- package/lib/module/AppOpenAd.js +43 -17
- package/lib/module/AppOpenAd.js.map +1 -1
- package/lib/module/ErrorCode.js.map +1 -1
- package/lib/module/EventEmitter.js.map +1 -1
- package/lib/module/InterstitialAd.js +45 -17
- package/lib/module/InterstitialAd.js.map +1 -1
- package/lib/module/LightPopupAd.js +63 -43
- package/lib/module/LightPopupAd.js.map +1 -1
- package/lib/module/RewardedAd.js +44 -18
- package/lib/module/RewardedAd.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/nativeAd/NativeAdView.js +5 -1
- package/lib/module/nativeAd/NativeAdView.js.map +1 -1
- package/lib/module/nativeAd/NativeAdViewComponents.js.map +1 -1
- package/lib/module/nativeAd/NativeAdViewProvider.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/typescript/commonjs/plugin/src/index.d.ts +19 -0
- package/lib/typescript/commonjs/plugin/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/src/skAdNetworkIds.d.ts +6 -0
- package/lib/typescript/commonjs/plugin/src/skAdNetworkIds.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/src/withAndroid.d.ts +8 -0
- package/lib/typescript/commonjs/plugin/src/withAndroid.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/src/withIos.d.ts +8 -0
- package/lib/typescript/commonjs/plugin/src/withIos.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AdBannerView.d.ts +124 -2
- package/lib/typescript/commonjs/src/AdBannerView.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/AppOpenAd.d.ts +6 -0
- package/lib/typescript/commonjs/src/AppOpenAd.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ErrorCode.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/EventEmitter.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/InterstitialAd.d.ts +6 -0
- package/lib/typescript/commonjs/src/InterstitialAd.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/LightPopupAd.d.ts +6 -0
- package/lib/typescript/commonjs/src/LightPopupAd.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/RewardedAd.d.ts +6 -0
- package/lib/typescript/commonjs/src/RewardedAd.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/nativeAd/NativeAdView.d.ts +124 -2
- package/lib/typescript/commonjs/src/nativeAd/NativeAdView.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/nativeAd/NativeAdViewComponents.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/nativeAd/NativeAdViewProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdBannerViewProps.d.ts +2 -2
- package/lib/typescript/commonjs/src/types/AdBannerViewProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdInfo.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdProps.d.ts +2 -2
- package/lib/typescript/commonjs/src/types/AdProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/DaroMMobileAds.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/NativeAdViewProps.d.ts.map +1 -1
- package/lib/typescript/module/plugin/src/index.d.ts +19 -0
- package/lib/typescript/module/plugin/src/index.d.ts.map +1 -0
- package/lib/typescript/module/plugin/src/skAdNetworkIds.d.ts +6 -0
- package/lib/typescript/module/plugin/src/skAdNetworkIds.d.ts.map +1 -0
- package/lib/typescript/module/plugin/src/withAndroid.d.ts +8 -0
- package/lib/typescript/module/plugin/src/withAndroid.d.ts.map +1 -0
- package/lib/typescript/module/plugin/src/withIos.d.ts +8 -0
- package/lib/typescript/module/plugin/src/withIos.d.ts.map +1 -0
- package/lib/typescript/module/src/AdBannerView.d.ts +124 -2
- package/lib/typescript/module/src/AdBannerView.d.ts.map +1 -1
- package/lib/typescript/module/src/AppOpenAd.d.ts +6 -0
- package/lib/typescript/module/src/AppOpenAd.d.ts.map +1 -1
- package/lib/typescript/module/src/ErrorCode.d.ts.map +1 -1
- package/lib/typescript/module/src/EventEmitter.d.ts.map +1 -1
- package/lib/typescript/module/src/InterstitialAd.d.ts +6 -0
- package/lib/typescript/module/src/InterstitialAd.d.ts.map +1 -1
- package/lib/typescript/module/src/LightPopupAd.d.ts +6 -0
- package/lib/typescript/module/src/LightPopupAd.d.ts.map +1 -1
- package/lib/typescript/module/src/RewardedAd.d.ts +6 -0
- package/lib/typescript/module/src/RewardedAd.d.ts.map +1 -1
- package/lib/typescript/module/src/nativeAd/NativeAdView.d.ts +124 -2
- package/lib/typescript/module/src/nativeAd/NativeAdView.d.ts.map +1 -1
- package/lib/typescript/module/src/nativeAd/NativeAdViewComponents.d.ts.map +1 -1
- package/lib/typescript/module/src/nativeAd/NativeAdViewProvider.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdBannerViewProps.d.ts +2 -2
- package/lib/typescript/module/src/types/AdBannerViewProps.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdInfo.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdProps.d.ts +2 -2
- package/lib/typescript/module/src/types/AdProps.d.ts.map +1 -1
- package/lib/typescript/module/src/types/DaroMMobileAds.d.ts.map +1 -1
- package/lib/typescript/module/src/types/NativeAdViewProps.d.ts.map +1 -1
- package/package.json +88 -105
- package/plugin/build/index.d.ts +18 -0
- package/plugin/build/index.js +71 -0
- package/plugin/build/skAdNetworkIds.d.ts +5 -0
- package/plugin/build/skAdNetworkIds.js +205 -0
- package/plugin/build/withAndroid.d.ts +7 -0
- package/plugin/build/withAndroid.js +140 -0
- package/plugin/build/withIos.d.ts +7 -0
- package/plugin/build/withIos.js +83 -0
- package/react-native-daro.podspec +25 -0
- package/src/AdBannerView.tsx +54 -17
- package/src/AppOpenAd.ts +59 -15
- package/src/ErrorCode.ts +1 -2
- package/src/EventEmitter.ts +5 -2
- package/src/InterstitialAd.ts +73 -17
- package/src/LightPopupAd.ts +86 -46
- package/src/RewardedAd.ts +70 -18
- package/src/index.tsx +1 -1
- package/src/nativeAd/NativeAdView.tsx +65 -14
- package/src/nativeAd/NativeAdViewComponents.tsx +54 -27
- package/src/nativeAd/NativeAdViewProvider.tsx +17 -7
- package/src/types/AdBannerViewProps.ts +11 -11
- package/src/types/AdInfo.ts +17 -17
- package/src/types/AdProps.ts +8 -9
- package/src/types/DaroMMobileAds.ts +3 -6
- package/src/types/NativeAdViewProps.ts +5 -5
- package/src/types/index.ts +1 -1
- package/android/gradle.properties +0 -5
- package/android/src/main/AndroidManifestNew.xml +0 -7
- package/android/src/main/java/com/darom/view/DaroMAdBannerViewContainer.kt +0 -163
- package/android/src/main/res/layout/layout_activity_transparent.xml +0 -7
- package/android/src/main/res/values/styles.xml +0 -11
- package/ios/DaroM-Bridging-Header.h +0 -6
- package/react-native-daro-m.podspec +0 -44
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LightPopupAd.d.ts","sourceRoot":"","sources":["../../../../src/LightPopupAd.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EACN,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"LightPopupAd.d.ts","sourceRoot":"","sources":["../../../../src/LightPopupAd.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { AdDisplayFailedInfo, AdInfo, AdLoadFailedInfo, AdRewardInfo } from './types/AdInfo';
|
|
2
2
|
import { AdEventType, RewardedAdEventType, type RewardedAdEventPayloadMap } from './types/AdEvent';
|
|
3
3
|
export declare class RewardedAd {
|
|
4
|
+
private readonly requestId;
|
|
4
5
|
private readonly adUnitId;
|
|
6
|
+
private static _nextRequestId;
|
|
7
|
+
private static _legacyRequestIds;
|
|
8
|
+
private static _legacyRequestIdSet;
|
|
5
9
|
private readonly eventEmitter;
|
|
6
10
|
private constructor();
|
|
7
11
|
static createForAdRequest(adUnitId: string): RewardedAd;
|
|
@@ -10,6 +14,8 @@ export declare class RewardedAd {
|
|
|
10
14
|
show(customData?: string | null): void;
|
|
11
15
|
addAdEventListener<T extends AdEventType | RewardedAdEventType>(type: T, listener: (info: RewardedAdEventPayloadMap[T]) => void): () => void;
|
|
12
16
|
removeAllListeners(): void;
|
|
17
|
+
private static _getLegacyRequestId;
|
|
18
|
+
private static _addLegacyEventListener;
|
|
13
19
|
/** @deprecated `RewardedAd.createForAdRequest(adUnitId)` 인스턴스의 `isAdReady()`를 사용하세요. */
|
|
14
20
|
static isAdReady(adUnitId: string): Promise<boolean>;
|
|
15
21
|
/** @deprecated `RewardedAd.createForAdRequest(adUnitId)` 인스턴스의 `load()`를 사용하세요. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RewardedAd.d.ts","sourceRoot":"","sources":["../../../../src/RewardedAd.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EACN,gBAAgB,EAChB,YAAY,EACb,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,KAAK,yBAAyB,EAC/B,MAAM,iBAAiB,CAAC;AA2BzB,qBAAa,UAAU;
|
|
1
|
+
{"version":3,"file":"RewardedAd.d.ts","sourceRoot":"","sources":["../../../../src/RewardedAd.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,128 @@
|
|
|
1
|
-
import { type ViewProps } from 'react-native';
|
|
2
1
|
import type { NativeAdViewHandler } from '../types/NativeAdViewProps';
|
|
3
2
|
export declare const NativeAdView: import("react").ForwardRefExoticComponent<import("..").AdProps & {
|
|
4
3
|
loadOnMount?: boolean;
|
|
5
|
-
} &
|
|
4
|
+
} & Readonly<Omit<Readonly<{
|
|
5
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
6
|
+
onAccessibilityTap?: (() => unknown) | undefined;
|
|
7
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
8
|
+
onMagicTap?: (() => unknown) | undefined;
|
|
9
|
+
onAccessibilityEscape?: (() => unknown) | undefined;
|
|
10
|
+
}>, "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderEnd" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
11
|
+
onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
12
|
+
onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
13
|
+
onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
|
|
14
|
+
onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
15
|
+
onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
16
|
+
onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
17
|
+
onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
18
|
+
onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
19
|
+
onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
20
|
+
onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
21
|
+
onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
22
|
+
onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
23
|
+
}>, "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
24
|
+
onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
25
|
+
onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
26
|
+
}>, "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
27
|
+
onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
28
|
+
onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
29
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
30
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
31
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
32
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
33
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
34
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
35
|
+
onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
36
|
+
onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
37
|
+
onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
38
|
+
onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
39
|
+
onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
40
|
+
onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
41
|
+
onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
42
|
+
onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
43
|
+
onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
44
|
+
onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
45
|
+
onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
46
|
+
onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
47
|
+
onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
48
|
+
onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
49
|
+
}>, "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
50
|
+
onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
51
|
+
onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
52
|
+
onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
53
|
+
onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
54
|
+
}>, "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
55
|
+
onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
56
|
+
onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
57
|
+
onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
58
|
+
onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
59
|
+
onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
60
|
+
onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
61
|
+
onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
62
|
+
onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
63
|
+
}>, "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
64
|
+
nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
65
|
+
nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
66
|
+
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
67
|
+
hasTVPreferredFocus?: boolean | undefined;
|
|
68
|
+
nextFocusDown?: number | undefined;
|
|
69
|
+
nextFocusForward?: number | undefined;
|
|
70
|
+
nextFocusLeft?: number | undefined;
|
|
71
|
+
nextFocusRight?: number | undefined;
|
|
72
|
+
nextFocusUp?: number | undefined;
|
|
73
|
+
focusable?: boolean | undefined;
|
|
74
|
+
tabIndex?: 0 | -1;
|
|
75
|
+
onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
76
|
+
}>, "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
77
|
+
shouldRasterizeIOS?: boolean | undefined;
|
|
78
|
+
}>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
|
|
79
|
+
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
80
|
+
"aria-labelledby"?: string | undefined;
|
|
81
|
+
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
82
|
+
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
83
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
84
|
+
screenReaderFocusable?: boolean;
|
|
85
|
+
}>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<Readonly<{
|
|
86
|
+
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
87
|
+
accessibilityViewIsModal?: boolean | undefined;
|
|
88
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
89
|
+
accessibilityLargeContentTitle?: string | undefined;
|
|
90
|
+
"aria-modal"?: boolean | undefined;
|
|
91
|
+
accessibilityElementsHidden?: boolean | undefined;
|
|
92
|
+
accessibilityLanguage?: string | undefined;
|
|
93
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
94
|
+
}>, "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & {
|
|
95
|
+
accessible?: boolean | undefined;
|
|
96
|
+
accessibilityLabel?: string | undefined;
|
|
97
|
+
accessibilityHint?: string | undefined;
|
|
98
|
+
"aria-label"?: string | undefined;
|
|
99
|
+
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
100
|
+
role?: import("react-native").Role | undefined;
|
|
101
|
+
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
102
|
+
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
103
|
+
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
104
|
+
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
105
|
+
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
106
|
+
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
107
|
+
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
108
|
+
"aria-busy"?: boolean | undefined;
|
|
109
|
+
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
110
|
+
"aria-disabled"?: boolean | undefined;
|
|
111
|
+
"aria-expanded"?: boolean | undefined;
|
|
112
|
+
"aria-selected"?: boolean | undefined;
|
|
113
|
+
"aria-hidden"?: boolean | undefined;
|
|
114
|
+
}>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
115
|
+
children?: React.ReactNode;
|
|
116
|
+
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
|
|
117
|
+
collapsable?: boolean | undefined;
|
|
118
|
+
collapsableChildren?: boolean | undefined;
|
|
119
|
+
id?: string;
|
|
120
|
+
testID?: string | undefined;
|
|
121
|
+
nativeID?: string | undefined;
|
|
122
|
+
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
123
|
+
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
|
|
124
|
+
pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
|
|
125
|
+
removeClippedSubviews?: boolean | undefined;
|
|
126
|
+
experimental_accessibilityOrder?: Array<string> | undefined;
|
|
127
|
+
}>, never>> & import("react").RefAttributes<NativeAdViewHandler>>;
|
|
6
128
|
//# sourceMappingURL=NativeAdView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeAdView.d.ts","sourceRoot":"","sources":["../../../../../src/nativeAd/NativeAdView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NativeAdView.d.ts","sourceRoot":"","sources":["../../../../../src/nativeAd/NativeAdView.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,4BAA4B,CAAC;AAsBpC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iEA8BvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeAdViewComponents.d.ts","sourceRoot":"","sources":["../../../../../src/nativeAd/NativeAdViewComponents.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NativeAdViewComponents.d.ts","sourceRoot":"","sources":["../../../../../src/nativeAd/NativeAdViewComponents.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,UAAU,EAEV,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAkNtB,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,4CAEzC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,4CAExC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,SAAS,4CAgBhD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,4CAMzD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,4CAKzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeAdViewProvider.d.ts","sourceRoot":"","sources":["../../../../../src/nativeAd/NativeAdViewProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"NativeAdViewProvider.d.ts","sourceRoot":"","sources":["../../../../../src/nativeAd/NativeAdViewProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,GAC/D,aAAa,CAAC;AAEhB,MAAM,MAAM,uBAAuB,GAAG;IACpC,YAAY,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,KAAK,CAAC,QAAQ,CAC7B,KAAK,CAAC,cAAc,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAC9C,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,mBAAmB,wCAG9B,CAAC;AAEH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAoBlE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AdFormat } from
|
|
2
|
-
import type { AdProps } from
|
|
1
|
+
import type { AdFormat } from '../AdBannerView';
|
|
2
|
+
import type { AdProps } from './AdProps';
|
|
3
3
|
export type AdBannerViewHandler = {
|
|
4
4
|
/**
|
|
5
5
|
* If the {@link loadOnMount} attribute is set to false, you can call this API to start loading ads in this AdView.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdBannerViewProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/AdBannerViewProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG;
|
|
1
|
+
{"version":3,"file":"AdBannerViewProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/AdBannerViewProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,MAAM,IAAI,IAAI,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdInfo.d.ts","sourceRoot":"","sources":["../../../../../src/types/AdInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,MAAM,MAAM,GAAG;
|
|
1
|
+
{"version":3,"file":"AdInfo.d.ts","sourceRoot":"","sources":["../../../../../src/types/AdInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,MAAM,MAAM,GAAG;IAEnB,QAAQ,EAAE,MAAM,CAAC;IAEjB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAGF,MAAM,MAAM,gBAAgB,GAAG;IAE7B,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,EAAE,SAAS,CAAC;IAEhB,OAAO,EAAE,MAAM,CAAC;IAGhB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG;IAEzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/AdProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,OAAO,GAAG;
|
|
1
|
+
{"version":3,"file":"AdProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/AdProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,OAAO,GAAG;IACpB,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAEtC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAEnD,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAEvC,sBAAsB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DaroMMobileAds.d.ts","sourceRoot":"","sources":["../../../../../src/types/DaroMMobileAds.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DaroMMobileAds.d.ts","sourceRoot":"","sources":["../../../../../src/types/DaroMMobileAds.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,aAAa,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACtC,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeAdViewProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/NativeAdViewProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;
|
|
1
|
+
{"version":3,"file":"NativeAdViewProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/NativeAdViewProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,MAAM,IAAI,IAAI,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG;IACxC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-daro",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
5
|
-
"source": "./src/index.tsx",
|
|
3
|
+
"version": "1.0.15",
|
|
4
|
+
"description": "React Native module for the Daro SDK on Android and iOS",
|
|
6
5
|
"main": "./lib/commonjs/index.js",
|
|
7
6
|
"module": "./lib/module/index.js",
|
|
8
7
|
"types": "./lib/typescript/module/src/index.d.ts",
|
|
@@ -16,7 +15,9 @@
|
|
|
16
15
|
"types": "./lib/typescript/commonjs/src/index.d.ts",
|
|
17
16
|
"default": "./lib/commonjs/index.js"
|
|
18
17
|
}
|
|
19
|
-
}
|
|
18
|
+
},
|
|
19
|
+
"./app.plugin.js": "./app.plugin.js",
|
|
20
|
+
"./package.json": "./package.json"
|
|
20
21
|
},
|
|
21
22
|
"files": [
|
|
22
23
|
"src",
|
|
@@ -24,8 +25,9 @@
|
|
|
24
25
|
"android",
|
|
25
26
|
"ios",
|
|
26
27
|
"cpp",
|
|
28
|
+
"app.plugin.js",
|
|
27
29
|
"*.podspec",
|
|
28
|
-
"react-native.config.
|
|
30
|
+
"react-native.config.js",
|
|
29
31
|
"!ios/build",
|
|
30
32
|
"!android/build",
|
|
31
33
|
"!android/gradle",
|
|
@@ -35,16 +37,14 @@
|
|
|
35
37
|
"!**/__tests__",
|
|
36
38
|
"!**/__fixtures__",
|
|
37
39
|
"!**/__mocks__",
|
|
38
|
-
"!**/.*"
|
|
40
|
+
"!**/.*",
|
|
41
|
+
"plugin/build"
|
|
39
42
|
],
|
|
40
43
|
"scripts": {
|
|
41
|
-
"
|
|
42
|
-
"test": "jest",
|
|
44
|
+
"clean": "del-cli lib plugin/build",
|
|
43
45
|
"typecheck": "tsc",
|
|
44
|
-
"lint": "eslint \"
|
|
45
|
-
"
|
|
46
|
-
"prepublishOnly": "bob build",
|
|
47
|
-
"release": "release-it"
|
|
46
|
+
"lint": "eslint \"src/**/*.{ts,tsx}\" \"*.js\"",
|
|
47
|
+
"test": "jest --passWithNoTests"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
50
50
|
"react-native",
|
|
@@ -53,106 +53,55 @@
|
|
|
53
53
|
],
|
|
54
54
|
"repository": {
|
|
55
55
|
"type": "git",
|
|
56
|
-
"url": "git+https://github.com/delightroom/daro-
|
|
56
|
+
"url": "git+https://github.com/delightroom/daro-react-native.git"
|
|
57
57
|
},
|
|
58
|
-
"author": "
|
|
58
|
+
"author": "Delightroom <dev@delightroom.com> (https://github.com/delightroom)",
|
|
59
59
|
"license": "MIT",
|
|
60
60
|
"bugs": {
|
|
61
|
-
"url": "https://github.com/delightroom/daro-
|
|
61
|
+
"url": "https://github.com/delightroom/daro-react-native/issues"
|
|
62
62
|
},
|
|
63
|
-
"homepage": "https://github.com/delightroom/daro-
|
|
63
|
+
"homepage": "https://github.com/delightroom/daro-react-native#readme",
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"registry": "https://registry.npmjs.org/"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"
|
|
74
|
-
"eslint": "
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
68
|
+
"@commitlint/config-conventional": "^20.5.0",
|
|
69
|
+
"@eslint/compat": "^2.0.3",
|
|
70
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
71
|
+
"@eslint/js": "^10.0.1",
|
|
72
|
+
"@jest/globals": "^30.0.0",
|
|
73
|
+
"@react-native/babel-preset": "0.83.0",
|
|
74
|
+
"@react-native/eslint-config": "0.83.0",
|
|
75
|
+
"@types/react": "^19.2.0",
|
|
76
|
+
"commitlint": "^20.5.0",
|
|
77
|
+
"del-cli": "^7.0.0",
|
|
78
|
+
"eslint": "^9.39.4",
|
|
79
|
+
"eslint-config-prettier": "^10.1.8",
|
|
80
|
+
"eslint-plugin-ft-flow": "^3.0.11",
|
|
81
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
82
|
+
"expo": "~54.0.33",
|
|
83
|
+
"expo-module-scripts": "^55.0.2",
|
|
84
|
+
"jest": "^30.3.0",
|
|
85
|
+
"lefthook": "^2.1.4",
|
|
86
|
+
"prettier": "^3.8.1",
|
|
87
|
+
"react": "19.1.0",
|
|
88
|
+
"react-native": "0.81.5",
|
|
89
|
+
"react-native-builder-bob": "^0.41.0",
|
|
90
|
+
"release-it": "^19.2.4",
|
|
91
|
+
"turbo": "^2.8.21",
|
|
92
|
+
"typescript": "~5.9.3"
|
|
88
93
|
},
|
|
89
94
|
"peerDependencies": {
|
|
95
|
+
"expo": ">=50.0.0",
|
|
90
96
|
"react": "*",
|
|
91
97
|
"react-native": "*"
|
|
92
98
|
},
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
"packageManager": "yarn@3.6.1",
|
|
97
|
-
"jest": {
|
|
98
|
-
"preset": "react-native",
|
|
99
|
-
"modulePathIgnorePatterns": [
|
|
100
|
-
"<rootDir>/example/node_modules",
|
|
101
|
-
"<rootDir>/lib/"
|
|
102
|
-
],
|
|
103
|
-
"testPathIgnorePatterns": [
|
|
104
|
-
"/node_modules/",
|
|
105
|
-
"/__helpers__/"
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
"release-it": {
|
|
109
|
-
"git": {
|
|
110
|
-
"commitMessage": "chore: release ${version}",
|
|
111
|
-
"tagName": "v${version}"
|
|
112
|
-
},
|
|
113
|
-
"npm": {
|
|
114
|
-
"publish": true
|
|
115
|
-
},
|
|
116
|
-
"github": {
|
|
117
|
-
"release": true
|
|
118
|
-
},
|
|
119
|
-
"plugins": {
|
|
120
|
-
"@release-it/conventional-changelog": {
|
|
121
|
-
"preset": "angular"
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"eslintConfig": {
|
|
126
|
-
"root": true,
|
|
127
|
-
"extends": [
|
|
128
|
-
"@react-native",
|
|
129
|
-
"prettier"
|
|
130
|
-
],
|
|
131
|
-
"rules": {
|
|
132
|
-
"react/react-in-jsx-scope": "off",
|
|
133
|
-
"prettier/prettier": [
|
|
134
|
-
"error",
|
|
135
|
-
{
|
|
136
|
-
"quoteProps": "consistent",
|
|
137
|
-
"singleQuote": true,
|
|
138
|
-
"tabWidth": 2,
|
|
139
|
-
"trailingComma": "es5",
|
|
140
|
-
"useTabs": false
|
|
141
|
-
}
|
|
142
|
-
]
|
|
99
|
+
"peerDependenciesMeta": {
|
|
100
|
+
"expo": {
|
|
101
|
+
"optional": true
|
|
143
102
|
}
|
|
144
103
|
},
|
|
145
|
-
"
|
|
146
|
-
"node_modules/",
|
|
147
|
-
"lib/"
|
|
148
|
-
],
|
|
149
|
-
"prettier": {
|
|
150
|
-
"quoteProps": "consistent",
|
|
151
|
-
"singleQuote": true,
|
|
152
|
-
"tabWidth": 2,
|
|
153
|
-
"trailingComma": "es5",
|
|
154
|
-
"useTabs": false
|
|
155
|
-
},
|
|
104
|
+
"packageManager": "yarn@4.11.0",
|
|
156
105
|
"react-native-builder-bob": {
|
|
157
106
|
"source": "src",
|
|
158
107
|
"output": "lib",
|
|
@@ -172,18 +121,52 @@
|
|
|
172
121
|
[
|
|
173
122
|
"typescript",
|
|
174
123
|
{
|
|
175
|
-
"project": "tsconfig.build.json"
|
|
176
|
-
"esm": true
|
|
124
|
+
"project": "tsconfig.build.json"
|
|
177
125
|
}
|
|
178
126
|
]
|
|
179
127
|
]
|
|
180
128
|
},
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
129
|
+
"codegenConfig": {
|
|
130
|
+
"name": "DaroReactNativeSpec",
|
|
131
|
+
"type": "modules",
|
|
132
|
+
"jsSrcsDir": "src",
|
|
133
|
+
"android": {
|
|
134
|
+
"javaPackageName": "com.daro.reactnative"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"prettier": {
|
|
138
|
+
"quoteProps": "consistent",
|
|
139
|
+
"singleQuote": true,
|
|
140
|
+
"tabWidth": 2,
|
|
141
|
+
"trailingComma": "es5",
|
|
142
|
+
"useTabs": false
|
|
143
|
+
},
|
|
144
|
+
"jest": {
|
|
145
|
+
"preset": "react-native",
|
|
146
|
+
"modulePathIgnorePatterns": [
|
|
147
|
+
"<rootDir>/example/node_modules",
|
|
148
|
+
"<rootDir>/lib/"
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
"commitlint": {
|
|
152
|
+
"extends": [
|
|
153
|
+
"@commitlint/config-conventional"
|
|
154
|
+
],
|
|
155
|
+
"rules": {
|
|
156
|
+
"subject-case": [
|
|
157
|
+
0
|
|
158
|
+
]
|
|
159
|
+
}
|
|
185
160
|
},
|
|
186
|
-
"
|
|
187
|
-
"
|
|
161
|
+
"create-react-native-library": {
|
|
162
|
+
"type": "turbo-module",
|
|
163
|
+
"languages": "kotlin-objc",
|
|
164
|
+
"tools": [
|
|
165
|
+
"eslint",
|
|
166
|
+
"jest",
|
|
167
|
+
"lefthook",
|
|
168
|
+
"release-it"
|
|
169
|
+
],
|
|
170
|
+
"version": "0.60.0"
|
|
188
171
|
}
|
|
189
172
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ConfigPlugin } from 'expo/config-plugins';
|
|
2
|
+
export type DaroMediation = 'admob' | 'max';
|
|
3
|
+
export type DaroIosProps = {
|
|
4
|
+
daroAppKey: string;
|
|
5
|
+
daroKeyFile: string;
|
|
6
|
+
admobAppId?: string;
|
|
7
|
+
attUsageDescription?: string;
|
|
8
|
+
};
|
|
9
|
+
export type DaroAndroidProps = {
|
|
10
|
+
daroAppKey: string;
|
|
11
|
+
daroKeyFile: string;
|
|
12
|
+
};
|
|
13
|
+
export type DaroPluginProps = {
|
|
14
|
+
ios: DaroIosProps;
|
|
15
|
+
android: DaroAndroidProps;
|
|
16
|
+
};
|
|
17
|
+
declare const withDaro: ConfigPlugin<DaroPluginProps>;
|
|
18
|
+
export default withDaro;
|