react-native-daro 1.0.13 → 1.0.16
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 +52 -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 +38 -15
- package/android/src/main/java/com/daro/reactnative/DaroMAdNativeViewManager.kt +167 -0
- package/android/src/main/java/com/daro/reactnative/DaroMModule.kt +257 -0
- package/android/src/main/java/com/daro/reactnative/DaroMPackage.kt +45 -0
- package/android/src/main/java/com/daro/reactnative/DaroMediaViewManager.kt +25 -0
- 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 +19 -8
- 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/daro/reactnative/util/EventEmitterUtil.kt +37 -0
- package/android/src/main/java/com/daro/reactnative/view/DaroMAdBannerViewContainer.kt +417 -0
- package/android/src/main/java/com/daro/reactnative/view/DaroMAdNativeViewContainer.kt +624 -0
- package/android/src/main/java/com/daro/reactnative/view/DaroMediaView.kt +123 -0
- package/android/src/newarch/java/com/daro/reactnative/DaroMModuleSpec.kt +6 -0
- package/android/src/oldarch/java/com/daro/reactnative/DaroMModuleSpec.kt +90 -0
- package/app.plugin.js +1 -0
- package/ios/DaroMModule+AppOpen.swift +38 -32
- package/ios/DaroMModule+Interstitial.swift +32 -26
- package/ios/DaroMModule+LightPopup.swift +43 -33
- package/ios/DaroMModule+Rewarded.swift +38 -27
- package/ios/DaroMModule.mm +45 -17
- package/ios/DaroMModule.swift +24 -17
- package/ios/Fabric/DaroMAdBannerComponentView.mm +207 -0
- package/ios/Fabric/DaroMFabricEventSink.mm +31 -0
- package/ios/Fabric/DaroMFabricPropApplier.mm +123 -0
- package/ios/Fabric/DaroMNativeAdComponentView.mm +294 -0
- package/ios/{DaroMAdBannerViewManager.m → Paper/DaroMAdBannerViewManager.m} +3 -1
- package/ios/Paper/DaroMAdBannerViewManager.swift +21 -0
- package/ios/{DaroMNativeAdViewManager.m → Paper/DaroMNativeAdViewManager.m} +2 -1
- package/ios/Paper/DaroMNativeAdViewManager.swift +22 -0
- package/ios/Shared/DaroMAdEventSink.swift +24 -0
- package/ios/Shared/DaroMBannerAdView.swift +188 -0
- package/ios/Shared/DaroMNativeAdLoadCoordinator.swift +49 -0
- package/ios/Shared/DaroMNativeAdView.swift +575 -0
- package/ios/Shared/DaroMNativeAssetResolver.swift +53 -0
- package/ios/mediation/admob/DaroMediationDebugger.swift +11 -0
- package/ios/mediation/admob/DaroMediationTypes.swift +23 -0
- package/lib/commonjs/AdBannerView.js +21 -35
- package/lib/commonjs/AdBannerView.js.map +1 -1
- package/lib/commonjs/AppOpenAd.js +80 -21
- package/lib/commonjs/AppOpenAd.js.map +1 -1
- package/lib/commonjs/DaroMAdBannerViewNativeComponent.ts +47 -0
- package/lib/commonjs/DaroMNativeAdViewNativeComponent.ts +62 -0
- package/lib/commonjs/DaroMediaViewNativeComponent.ts +9 -0
- package/lib/commonjs/ErrorCode.js.map +1 -1
- package/lib/commonjs/EventEmitter.js +4 -5
- package/lib/commonjs/EventEmitter.js.map +1 -1
- package/lib/commonjs/InterstitialAd.js +48 -22
- package/lib/commonjs/InterstitialAd.js.map +1 -1
- package/lib/commonjs/LightPopupAd.js +64 -46
- package/lib/commonjs/LightPopupAd.js.map +1 -1
- package/lib/commonjs/NativeDaroModule.js +9 -0
- package/lib/commonjs/NativeDaroModule.js.map +1 -0
- package/lib/commonjs/RewardedAd.js +47 -23
- package/lib/commonjs/RewardedAd.js.map +1 -1
- package/lib/commonjs/codegen-env.d.js +2 -0
- package/lib/commonjs/codegen-env.d.js.map +1 -0
- package/lib/commonjs/hooks/useInterstitialAd.js +110 -0
- package/lib/commonjs/hooks/useInterstitialAd.js.map +1 -0
- package/lib/commonjs/hooks/useLightPopupAd.js +114 -0
- package/lib/commonjs/hooks/useLightPopupAd.js.map +1 -0
- package/lib/commonjs/hooks/useRewardedAd.js +113 -0
- package/lib/commonjs/hooks/useRewardedAd.js.map +1 -0
- package/lib/commonjs/index.js +29 -13
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/nativeAd/NativeAdView.js +23 -18
- package/lib/commonjs/nativeAd/NativeAdView.js.map +1 -1
- package/lib/commonjs/nativeAd/NativeAdViewComponents.js +43 -31
- package/lib/commonjs/nativeAd/NativeAdViewComponents.js.map +1 -1
- package/lib/commonjs/nativeAd/NativeAdViewProvider.js +34 -7
- package/lib/commonjs/nativeAd/NativeAdViewProvider.js.map +1 -1
- package/lib/commonjs/package.json +1 -0
- package/lib/module/AdBannerView.js +20 -36
- package/lib/module/AdBannerView.js.map +1 -1
- package/lib/module/AppOpenAd.js +80 -22
- package/lib/module/AppOpenAd.js.map +1 -1
- package/lib/module/DaroMAdBannerViewNativeComponent.ts +47 -0
- package/lib/module/DaroMNativeAdViewNativeComponent.ts +62 -0
- package/lib/module/DaroMediaViewNativeComponent.ts +9 -0
- package/lib/module/ErrorCode.js.map +1 -1
- package/lib/module/EventEmitter.js +4 -6
- package/lib/module/EventEmitter.js.map +1 -1
- package/lib/module/InterstitialAd.js +47 -22
- package/lib/module/InterstitialAd.js.map +1 -1
- package/lib/module/LightPopupAd.js +65 -47
- package/lib/module/LightPopupAd.js.map +1 -1
- package/lib/module/NativeDaroModule.js +5 -0
- package/lib/module/NativeDaroModule.js.map +1 -0
- package/lib/module/RewardedAd.js +46 -23
- package/lib/module/RewardedAd.js.map +1 -1
- package/lib/module/codegen-env.d.js +2 -0
- package/lib/module/codegen-env.d.js.map +1 -0
- package/lib/module/hooks/useInterstitialAd.js +106 -0
- package/lib/module/hooks/useInterstitialAd.js.map +1 -0
- package/lib/module/hooks/useLightPopupAd.js +110 -0
- package/lib/module/hooks/useLightPopupAd.js.map +1 -0
- package/lib/module/hooks/useRewardedAd.js +109 -0
- package/lib/module/hooks/useRewardedAd.js.map +1 -0
- package/lib/module/index.js +7 -13
- package/lib/module/index.js.map +1 -1
- package/lib/module/nativeAd/NativeAdView.js +22 -19
- package/lib/module/nativeAd/NativeAdView.js.map +1 -1
- package/lib/module/nativeAd/NativeAdViewComponents.js +45 -34
- package/lib/module/nativeAd/NativeAdViewComponents.js.map +1 -1
- package/lib/module/nativeAd/NativeAdViewProvider.js +35 -8
- 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 +126 -4
- 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/DaroMAdBannerViewNativeComponent.d.ts +32 -0
- package/lib/typescript/commonjs/src/DaroMAdBannerViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/DaroMNativeAdViewNativeComponent.d.ts +42 -0
- package/lib/typescript/commonjs/src/DaroMNativeAdViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/DaroMediaViewNativeComponent.d.ts +6 -0
- package/lib/typescript/commonjs/src/DaroMediaViewNativeComponent.d.ts.map +1 -0
- 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/NativeDaroModule.d.ts +61 -0
- package/lib/typescript/commonjs/src/NativeDaroModule.d.ts.map +1 -0
- 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/hooks/useInterstitialAd.d.ts +19 -0
- package/lib/typescript/commonjs/src/hooks/useInterstitialAd.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useLightPopupAd.d.ts +23 -0
- package/lib/typescript/commonjs/src/hooks/useLightPopupAd.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useRewardedAd.d.ts +20 -0
- package/lib/typescript/commonjs/src/hooks/useRewardedAd.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +7 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/nativeAd/NativeAdView.d.ts +125 -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 +11 -5
- 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 +2 -0
- 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 +126 -4
- 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/DaroMAdBannerViewNativeComponent.d.ts +32 -0
- package/lib/typescript/module/src/DaroMAdBannerViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/src/DaroMNativeAdViewNativeComponent.d.ts +42 -0
- package/lib/typescript/module/src/DaroMNativeAdViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/src/DaroMediaViewNativeComponent.d.ts +6 -0
- package/lib/typescript/module/src/DaroMediaViewNativeComponent.d.ts.map +1 -0
- 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/NativeDaroModule.d.ts +61 -0
- package/lib/typescript/module/src/NativeDaroModule.d.ts.map +1 -0
- 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/hooks/useInterstitialAd.d.ts +19 -0
- package/lib/typescript/module/src/hooks/useInterstitialAd.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useLightPopupAd.d.ts +23 -0
- package/lib/typescript/module/src/hooks/useLightPopupAd.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useRewardedAd.d.ts +20 -0
- package/lib/typescript/module/src/hooks/useRewardedAd.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +7 -1
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/nativeAd/NativeAdView.d.ts +125 -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 +11 -5
- 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 +2 -0
- package/lib/typescript/module/src/types/NativeAdViewProps.d.ts.map +1 -1
- package/package.json +95 -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 +222 -0
- package/plugin/build/withIos.d.ts +7 -0
- package/plugin/build/withIos.js +82 -0
- package/react-native-daro.podspec +28 -0
- package/src/AdBannerView.tsx +48 -48
- package/src/AppOpenAd.ts +101 -20
- package/src/DaroMAdBannerViewNativeComponent.ts +47 -0
- package/src/DaroMNativeAdViewNativeComponent.ts +62 -0
- package/src/DaroMediaViewNativeComponent.ts +9 -0
- package/src/ErrorCode.ts +1 -2
- package/src/EventEmitter.ts +9 -7
- package/src/InterstitialAd.ts +75 -21
- package/src/LightPopupAd.ts +90 -51
- package/src/NativeDaroModule.ts +91 -0
- package/src/RewardedAd.ts +72 -22
- package/src/codegen-env.d.ts +45 -0
- package/src/hooks/useInterstitialAd.ts +117 -0
- package/src/hooks/useLightPopupAd.ts +132 -0
- package/src/hooks/useRewardedAd.ts +122 -0
- package/src/index.tsx +21 -22
- package/src/nativeAd/NativeAdView.tsx +83 -45
- package/src/nativeAd/NativeAdViewComponents.tsx +129 -64
- package/src/nativeAd/NativeAdViewProvider.tsx +84 -16
- 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 +12 -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/DaroMAdNativeViewManager.kt +0 -136
- package/android/src/main/java/com/darom/DaroMModule.kt +0 -203
- package/android/src/main/java/com/darom/DaroMPackage.kt +0 -21
- package/android/src/main/java/com/darom/util/EventEmitterUtil.kt +0 -24
- package/android/src/main/java/com/darom/view/DaroMAdBannerViewContainer.kt +0 -163
- package/android/src/main/java/com/darom/view/DaroMAdNativeViewContainer.kt +0 -375
- 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/ios/DaroMAdBannerViewManager.swift +0 -91
- package/ios/DaroMNativeAdViewManager.swift +0 -291
- package/react-native-daro-m.podspec +0 -44
|
@@ -1,20 +1,47 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import { createContext, useState } from 'react';
|
|
4
|
+
import { createContext, useCallback, useMemo, useState } from 'react';
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
export const NativeAdViewContext = /*#__PURE__*/createContext({
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
nativeAdAssetRegistrations: {},
|
|
8
|
+
registerNativeAdAsset: () => {},
|
|
9
|
+
unregisterNativeAdAsset: () => {}
|
|
9
10
|
});
|
|
10
11
|
export const NativeAdViewProvider = ({
|
|
11
12
|
children
|
|
12
13
|
}) => {
|
|
13
|
-
const [
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
const [nativeAdAssetRegistrations, setNativeAdAssetRegistrations] = useState({});
|
|
15
|
+
const registerNativeAdAsset = useCallback((assetKey, nativeTag, styleProps) => {
|
|
16
|
+
setNativeAdAssetRegistrations(prev => {
|
|
17
|
+
const current = prev[assetKey];
|
|
18
|
+
if (current?.nativeTag === nativeTag && current?.styleProps === styleProps) {
|
|
19
|
+
return prev;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
...prev,
|
|
23
|
+
[assetKey]: {
|
|
24
|
+
nativeTag,
|
|
25
|
+
styleProps
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
});
|
|
29
|
+
}, []);
|
|
30
|
+
const unregisterNativeAdAsset = useCallback(assetKey => {
|
|
31
|
+
setNativeAdAssetRegistrations(prev => {
|
|
32
|
+
if (!prev[assetKey]) return prev;
|
|
33
|
+
const next = {
|
|
34
|
+
...prev
|
|
35
|
+
};
|
|
36
|
+
delete next[assetKey];
|
|
37
|
+
return next;
|
|
38
|
+
});
|
|
39
|
+
}, []);
|
|
40
|
+
const providerValue = useMemo(() => ({
|
|
41
|
+
nativeAdAssetRegistrations,
|
|
42
|
+
registerNativeAdAsset,
|
|
43
|
+
unregisterNativeAdAsset
|
|
44
|
+
}), [nativeAdAssetRegistrations, registerNativeAdAsset, unregisterNativeAdAsset]);
|
|
18
45
|
return /*#__PURE__*/_jsx(NativeAdViewContext.Provider, {
|
|
19
46
|
value: providerValue,
|
|
20
47
|
children: children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","createContext","useState","jsx","_jsx","NativeAdViewContext","
|
|
1
|
+
{"version":3,"names":["React","createContext","useCallback","useMemo","useState","jsx","_jsx","NativeAdViewContext","nativeAdAssetRegistrations","registerNativeAdAsset","unregisterNativeAdAsset","NativeAdViewProvider","children","setNativeAdAssetRegistrations","assetKey","nativeTag","styleProps","prev","current","next","providerValue","Provider","value"],"sourceRoot":"../../../src","sources":["nativeAd/NativeAdViewProvider.tsx"],"mappings":";;AACA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,aAAa,EAAEC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AA8BtE,OAAO,MAAMC,mBAAmB,gBAAGN,aAAa,CAA0B;EACxEO,0BAA0B,EAAE,CAAC,CAAC;EAC9BC,qBAAqB,EAAEA,CAAA,KAAM,CAAC,CAAC;EAC/BC,uBAAuB,EAAEA,CAAA,KAAM,CAAC;AAClC,CAAC,C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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../plugin/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAMxD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,KAAK,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,YAAY,CAAC;IAClB,OAAO,EAAE,gBAAgB,CAAC;CAC3B,CAAC;AAqBF,QAAA,MAAM,QAAQ,EAAE,YAAY,CAAC,eAAe,CAsB3C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skAdNetworkIds.d.ts","sourceRoot":"","sources":["../../../../../plugin/src/skAdNetworkIds.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAqMnD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ConfigPlugin } from 'expo/config-plugins';
|
|
2
|
+
import type { DaroAndroidProps, DaroMediation } from './index';
|
|
3
|
+
type DaroResolvedAndroidProps = DaroAndroidProps & {
|
|
4
|
+
mediation: DaroMediation;
|
|
5
|
+
};
|
|
6
|
+
export declare const withAndroidConfiguration: ConfigPlugin<DaroResolvedAndroidProps>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=withAndroid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withAndroid.d.ts","sourceRoot":"","sources":["../../../../../plugin/src/withAndroid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAUxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAkC/D,KAAK,wBAAwB,GAAG,gBAAgB,GAAG;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,CAAC;AA+GhF,eAAO,MAAM,wBAAwB,EAAE,YAAY,CACjD,wBAAwB,CAsJzB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ConfigPlugin } from 'expo/config-plugins';
|
|
2
|
+
import type { DaroIosProps, DaroMediation } from './index';
|
|
3
|
+
type DaroResolvedIosProps = DaroIosProps & {
|
|
4
|
+
mediation: DaroMediation;
|
|
5
|
+
};
|
|
6
|
+
export declare const withIosConfiguration: ConfigPlugin<DaroResolvedIosProps>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=withIos.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withIos.d.ts","sourceRoot":"","sources":["../../../../../plugin/src/withIos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQxD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAQ3D,KAAK,oBAAoB,GAAG,YAAY,GAAG;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,CAAC;AAExE,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,oBAAoB,CAgEnE,CAAC"}
|
|
@@ -1,13 +1,135 @@
|
|
|
1
|
-
import { type ViewProps } from 'react-native';
|
|
2
1
|
import type { AdBannerViewHandler } from './types/AdBannerViewProps';
|
|
3
2
|
export declare enum AdFormat {
|
|
4
|
-
BANNER,
|
|
5
|
-
MREC
|
|
3
|
+
BANNER = "BANNER",
|
|
4
|
+
MREC = "MREC"
|
|
6
5
|
}
|
|
7
6
|
export declare const AdBannerView: import("react").ForwardRefExoticComponent<import("./types").AdProps & {
|
|
8
7
|
color?: string;
|
|
9
8
|
adFormat: AdFormat;
|
|
10
9
|
loadOnMount?: boolean;
|
|
11
10
|
isVisible?: boolean;
|
|
12
|
-
} &
|
|
11
|
+
} & Readonly<Omit<Readonly<{
|
|
12
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
13
|
+
onAccessibilityTap?: (() => unknown) | undefined;
|
|
14
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
15
|
+
onMagicTap?: (() => unknown) | undefined;
|
|
16
|
+
onAccessibilityEscape?: (() => unknown) | undefined;
|
|
17
|
+
}>, "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<{
|
|
18
|
+
onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
19
|
+
onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
20
|
+
onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
|
|
21
|
+
onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
22
|
+
onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
23
|
+
onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
24
|
+
onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
25
|
+
onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
26
|
+
onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
27
|
+
onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
28
|
+
onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
29
|
+
onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
30
|
+
}>, "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<{
|
|
31
|
+
onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
32
|
+
onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
33
|
+
}>, "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<{
|
|
34
|
+
onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
35
|
+
onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
36
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
37
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
38
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
39
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
40
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
41
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
42
|
+
onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
43
|
+
onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
44
|
+
onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
45
|
+
onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
46
|
+
onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
47
|
+
onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
48
|
+
onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
49
|
+
onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
50
|
+
onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
51
|
+
onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
52
|
+
onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
53
|
+
onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
54
|
+
onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
55
|
+
onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
56
|
+
}>, "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<{
|
|
57
|
+
onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
58
|
+
onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
59
|
+
onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
60
|
+
onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
61
|
+
}>, "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<{
|
|
62
|
+
onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
63
|
+
onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
64
|
+
onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
65
|
+
onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
66
|
+
onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
67
|
+
onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
68
|
+
onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
69
|
+
onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
70
|
+
}>, "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<{
|
|
71
|
+
nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
72
|
+
nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
73
|
+
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
74
|
+
hasTVPreferredFocus?: boolean | undefined;
|
|
75
|
+
nextFocusDown?: number | undefined;
|
|
76
|
+
nextFocusForward?: number | undefined;
|
|
77
|
+
nextFocusLeft?: number | undefined;
|
|
78
|
+
nextFocusRight?: number | undefined;
|
|
79
|
+
nextFocusUp?: number | undefined;
|
|
80
|
+
focusable?: boolean | undefined;
|
|
81
|
+
tabIndex?: 0 | -1;
|
|
82
|
+
onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
83
|
+
}>, "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<{
|
|
84
|
+
shouldRasterizeIOS?: boolean | undefined;
|
|
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" | "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<{
|
|
86
|
+
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
87
|
+
"aria-labelledby"?: string | undefined;
|
|
88
|
+
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
89
|
+
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
90
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
91
|
+
screenReaderFocusable?: boolean;
|
|
92
|
+
}>, "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<{
|
|
93
|
+
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
94
|
+
accessibilityViewIsModal?: boolean | undefined;
|
|
95
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
96
|
+
accessibilityLargeContentTitle?: string | undefined;
|
|
97
|
+
"aria-modal"?: boolean | undefined;
|
|
98
|
+
accessibilityElementsHidden?: boolean | undefined;
|
|
99
|
+
accessibilityLanguage?: string | undefined;
|
|
100
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
101
|
+
}>, "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"> & {
|
|
102
|
+
accessible?: boolean | undefined;
|
|
103
|
+
accessibilityLabel?: string | undefined;
|
|
104
|
+
accessibilityHint?: string | undefined;
|
|
105
|
+
"aria-label"?: string | undefined;
|
|
106
|
+
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
107
|
+
role?: import("react-native").Role | undefined;
|
|
108
|
+
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
109
|
+
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
110
|
+
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
111
|
+
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
112
|
+
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
113
|
+
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
114
|
+
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
115
|
+
"aria-busy"?: boolean | undefined;
|
|
116
|
+
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
117
|
+
"aria-disabled"?: boolean | undefined;
|
|
118
|
+
"aria-expanded"?: boolean | undefined;
|
|
119
|
+
"aria-selected"?: boolean | undefined;
|
|
120
|
+
"aria-hidden"?: boolean | undefined;
|
|
121
|
+
}>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
122
|
+
children?: React.ReactNode;
|
|
123
|
+
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
|
|
124
|
+
collapsable?: boolean | undefined;
|
|
125
|
+
collapsableChildren?: boolean | undefined;
|
|
126
|
+
id?: string;
|
|
127
|
+
testID?: string | undefined;
|
|
128
|
+
nativeID?: string | undefined;
|
|
129
|
+
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
130
|
+
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
|
|
131
|
+
pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
|
|
132
|
+
removeClippedSubviews?: boolean | undefined;
|
|
133
|
+
experimental_accessibilityOrder?: Array<string> | undefined;
|
|
134
|
+
}>, never>> & import("react").RefAttributes<AdBannerViewHandler>>;
|
|
13
135
|
//# sourceMappingURL=AdBannerView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdBannerView.d.ts","sourceRoot":"","sources":["../../../../src/AdBannerView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AdBannerView.d.ts","sourceRoot":"","sources":["../../../../src/AdBannerView.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,2BAA2B,CAAC;AAOnC,oBAAY,QAAQ;IAClB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAeD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iEAiGvB,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { AdDisplayFailedInfo, AdInfo, AdLoadFailedInfo } from './types/AdInfo';
|
|
2
2
|
import { AdEventType, type AdEventPayloadMap } from './types/AdEvent';
|
|
3
3
|
export declare class AppOpenAd {
|
|
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): AppOpenAd;
|
|
@@ -10,6 +14,8 @@ export declare class AppOpenAd {
|
|
|
10
14
|
show(placement?: string | null, customData?: string | null): void;
|
|
11
15
|
addAdEventListener<T extends AdEventType>(type: T, listener: (info: AdEventPayloadMap[T]) => void): () => void;
|
|
12
16
|
removeAllListeners(): void;
|
|
17
|
+
private static _getLegacyRequestId;
|
|
18
|
+
private static _addLegacyEventListener;
|
|
13
19
|
/** @deprecated `AppOpenAd.createForAdRequest(adUnitId)` 인스턴스의 `isAdReady()`를 사용하세요. */
|
|
14
20
|
static isAdReady(adUnitId: string): Promise<boolean>;
|
|
15
21
|
/** @deprecated `AppOpenAd.createForAdRequest(adUnitId)` 인스턴스의 `load()`를 사용하세요. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppOpenAd.d.ts","sourceRoot":"","sources":["../../../../src/AppOpenAd.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppOpenAd.d.ts","sourceRoot":"","sources":["../../../../src/AppOpenAd.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EACN,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AA4BtE,qBAAa,SAAS;IAQlB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAR3B,OAAO,CAAC,MAAM,CAAC,cAAc,CAAK;IAClC,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAA6B;IAC7D,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAAqB;IAEvD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwB;IAErD,OAAO;IAKP,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS;IAKtD,SAAS,IAAI,OAAO,CAAC,OAAO,CAAC;IAO7B,IAAI,IAAI,IAAI;IAQZ,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAajE,kBAAkB,CAAC,CAAC,SAAS,WAAW,EACtC,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,KAAK,IAAI,GAC7C,MAAM,IAAI;IAgBb,kBAAkB,IAAI,IAAI;IAM1B,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAUlC,OAAO,CAAC,MAAM,CAAC,uBAAuB;IAiBtC,uFAAuF;IACvF,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAQpD,kFAAkF;IAClF,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AAM,CAAC,+BAA+B,CACpC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GACjC,IAAI;IAOP,8DAA8D;IAC9D,MAAM,CAAC,kCAAkC,IAAI,IAAI;CAGlD;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
3
|
+
import type { DirectEventHandler, Double, Int32, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
4
|
+
type AdInfoPayload = {
|
|
5
|
+
adUnitId: string;
|
|
6
|
+
latencyMillis: Double;
|
|
7
|
+
};
|
|
8
|
+
type AdLoadFailedInfoPayload = {
|
|
9
|
+
adUnitId: string;
|
|
10
|
+
code: Int32;
|
|
11
|
+
message: string;
|
|
12
|
+
latencyMillis: Double;
|
|
13
|
+
};
|
|
14
|
+
export interface NativeProps extends ViewProps {
|
|
15
|
+
adUnitId: string;
|
|
16
|
+
adFormat: string;
|
|
17
|
+
placement?: string | null;
|
|
18
|
+
loadOnMount?: WithDefault<boolean, true>;
|
|
19
|
+
isVisible?: WithDefault<boolean, true>;
|
|
20
|
+
onAdLoadedEvent?: DirectEventHandler<AdInfoPayload>;
|
|
21
|
+
onAdLoadFailedEvent?: DirectEventHandler<AdLoadFailedInfoPayload>;
|
|
22
|
+
onAdClickedEvent?: DirectEventHandler<AdInfoPayload>;
|
|
23
|
+
onAdImpressionRecordedEvent?: DirectEventHandler<AdInfoPayload>;
|
|
24
|
+
}
|
|
25
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
26
|
+
interface NativeCommands {
|
|
27
|
+
loadAd: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
28
|
+
}
|
|
29
|
+
export declare const Commands: NativeCommands;
|
|
30
|
+
declare const _default: HostComponent<NativeProps>;
|
|
31
|
+
export default _default;
|
|
32
|
+
//# sourceMappingURL=DaroMAdBannerViewNativeComponent.d.ts.map
|
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E,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,QAAQ,EAAE,cAErB,CAAC;;AAEH,wBAAwE"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
3
|
+
import type { DirectEventHandler, Double, Int32, UnsafeMixed, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
4
|
+
type AdInfoPayload = {
|
|
5
|
+
adUnitId: string;
|
|
6
|
+
latencyMillis: Double;
|
|
7
|
+
};
|
|
8
|
+
type AdLoadFailedInfoPayload = {
|
|
9
|
+
adUnitId: string;
|
|
10
|
+
code: Int32;
|
|
11
|
+
message: string;
|
|
12
|
+
latencyMillis: Double;
|
|
13
|
+
};
|
|
14
|
+
type AdChoicesPosition = 'topLeft' | 'topRight' | 'bottomRight' | 'bottomLeft';
|
|
15
|
+
export interface NativeProps extends ViewProps {
|
|
16
|
+
adUnitId: string;
|
|
17
|
+
placement?: string | null;
|
|
18
|
+
loadOnMount?: WithDefault<boolean, true>;
|
|
19
|
+
adChoicesPosition?: WithDefault<AdChoicesPosition, 'bottomRight'>;
|
|
20
|
+
titleView?: Int32;
|
|
21
|
+
bodyView?: Int32;
|
|
22
|
+
callToActionView?: Int32;
|
|
23
|
+
iconView?: Int32;
|
|
24
|
+
mediaView?: Int32;
|
|
25
|
+
titleViewStyleProps?: UnsafeMixed;
|
|
26
|
+
bodyViewStyleProps?: UnsafeMixed;
|
|
27
|
+
callToActionViewStyleProps?: UnsafeMixed;
|
|
28
|
+
iconViewStyleProps?: UnsafeMixed;
|
|
29
|
+
mediaViewStyleProps?: UnsafeMixed;
|
|
30
|
+
onAdLoadedEvent?: DirectEventHandler<AdInfoPayload>;
|
|
31
|
+
onAdLoadFailedEvent?: DirectEventHandler<AdLoadFailedInfoPayload>;
|
|
32
|
+
onAdClickedEvent?: DirectEventHandler<AdInfoPayload>;
|
|
33
|
+
onAdImpressionRecordedEvent?: DirectEventHandler<AdInfoPayload>;
|
|
34
|
+
}
|
|
35
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
36
|
+
interface NativeCommands {
|
|
37
|
+
loadAd: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
38
|
+
}
|
|
39
|
+
export declare const Commands: NativeCommands;
|
|
40
|
+
declare const _default: HostComponent<NativeProps>;
|
|
41
|
+
export default _default;
|
|
42
|
+
//# sourceMappingURL=DaroMNativeAdViewNativeComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DaroMNativeAdViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/DaroMNativeAdViewNativeComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG7D,OAAO,KAAK,EACV,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,WAAW,EACX,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAEnD,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,KAAK,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,iBAAiB,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,YAAY,CAAC;AAE/E,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzC,iBAAiB,CAAC,EAAE,WAAW,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;IAElE,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,SAAS,CAAC,EAAE,KAAK,CAAC;IAElB,mBAAmB,CAAC,EAAE,WAAW,CAAC;IAClC,kBAAkB,CAAC,EAAE,WAAW,CAAC;IACjC,0BAA0B,CAAC,EAAE,WAAW,CAAC;IACzC,kBAAkB,CAAC,EAAE,WAAW,CAAC;IACjC,mBAAmB,CAAC,EAAE,WAAW,CAAC;IAElC,eAAe,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC;IACpD,mBAAmB,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;IAClE,gBAAgB,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC;IACrD,2BAA2B,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC;CACjE;AAED,KAAK,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;AAEhD,UAAU,cAAc;IACtB,MAAM,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,QAAQ,EAAE,cAErB,CAAC;;AAEH,wBAAwE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DaroMediaViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/DaroMediaViewNativeComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,WAAW,WAAY,SAAQ,SAAS;CAAG;;AAEjD,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorCode.d.ts","sourceRoot":"","sources":["../../../../src/ErrorCode.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ErrorCode.d.ts","sourceRoot":"","sources":["../../../../src/ErrorCode.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,WAAW,IAAI;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/EventEmitter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/EventEmitter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKtE,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,aAAa,EACtD,OAAO,MAAM,EACb,SAAS,eAAe,CAAC,CAAC,CAAC,KAC1B,CAAC,MAAM,IAAI,CAeb,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,MAAM,KAAG,IAGnD,CAAC;AAEF,qBAAa,cAAc;IACzB,OAAO,CAAC,OAAO,CAAqB;IACpC,OAAO,CAAC,aAAa,CAAkD;;IAMvE,gBAAgB,CAAC,CAAC,SAAS,aAAa,EACtC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,GAC1B,MAAM,IAAI;IAiBb,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAKxC,kBAAkB,IAAI,IAAI;CAM3B"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { AdDisplayFailedInfo, AdInfo, AdLoadFailedInfo } from './types/AdInfo';
|
|
2
2
|
import { AdEventType, type AdEventPayloadMap } from './types/AdEvent';
|
|
3
3
|
export declare class InterstitialAd {
|
|
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): InterstitialAd;
|
|
@@ -10,6 +14,8 @@ export declare class InterstitialAd {
|
|
|
10
14
|
show(): void;
|
|
11
15
|
addAdEventListener<T extends AdEventType>(type: T, listener: (info: AdEventPayloadMap[T]) => void): () => void;
|
|
12
16
|
removeAllListeners(): void;
|
|
17
|
+
private static _getLegacyRequestId;
|
|
18
|
+
private static _addLegacyEventListener;
|
|
13
19
|
/** @deprecated `InterstitialAd.createForAdRequest(adUnitId)` 인스턴스의 `isAdReady()`를 사용하세요. */
|
|
14
20
|
static isAdReady(adUnitId: string): Promise<boolean>;
|
|
15
21
|
/** @deprecated `InterstitialAd.createForAdRequest(adUnitId)` 인스턴스의 `load()`를 사용하세요. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InterstitialAd.d.ts","sourceRoot":"","sources":["../../../../src/InterstitialAd.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EACN,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"InterstitialAd.d.ts","sourceRoot":"","sources":["../../../../src/InterstitialAd.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EACN,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAsBtE,qBAAa,cAAc;IAQvB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAR3B,OAAO,CAAC,MAAM,CAAC,cAAc,CAAK;IAClC,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAA6B;IAC7D,OAAO,CAAC,MAAM,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AA4B,IAAI,IAAI;IAI3C,kFAAkF;IAClF,MAAM,CAAC,2BAA2B,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAO5E,8DAA8D;IAC9D,MAAM,CAAC,8BAA8B,IAAI,IAAI;IAI7C,0FAA0F;IAC1F,MAAM,CAAC,iCAAiC,CACtC,QAAQ,EAAE,CAAC,SAAS,EAAE,mBAAmB,KAAK,IAAI,GACjD,IAAI;IAOP,8DAA8D;IAC9D,MAAM,CAAC,oCAAoC,IAAI,IAAI;IAInD,+EAA+E;IAC/E,MAAM,CAAC,wBAAwB,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAOzE,8DAA8D;IAC9D,MAAM,CAAC,2BAA2B,IAAI,IAAI;IAI1C,4FAA4F;IAC5F,MAAM,CAAC,+BAA+B,CACpC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GACjC,IAAI;IAOP,8DAA8D;IAC9D,MAAM,CAAC,kCAAkC,IAAI,IAAI;CAGlD;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -2,7 +2,11 @@ import type { AdDisplayFailedInfo, AdInfo, AdLoadFailedInfo } from './types/AdIn
|
|
|
2
2
|
import type { LightPopupAdConfiguration } from './types/LightPopupAd';
|
|
3
3
|
import { AdEventType, type AdEventPayloadMap } from './types/AdEvent';
|
|
4
4
|
export declare class LightPopupAd {
|
|
5
|
+
private readonly requestId;
|
|
5
6
|
private readonly adUnitId;
|
|
7
|
+
private static _nextRequestId;
|
|
8
|
+
private static _legacyRequestIds;
|
|
9
|
+
private static _legacyRequestIdSet;
|
|
6
10
|
private readonly eventEmitter;
|
|
7
11
|
private constructor();
|
|
8
12
|
static createForAdRequest(adUnitId: string): LightPopupAd;
|
|
@@ -12,6 +16,8 @@ export declare class LightPopupAd {
|
|
|
12
16
|
setConfiguration(configuration: LightPopupAdConfiguration): void;
|
|
13
17
|
addAdEventListener<T extends AdEventType>(type: T, listener: (info: AdEventPayloadMap[T]) => void): () => void;
|
|
14
18
|
removeAllListeners(): void;
|
|
19
|
+
private static _getLegacyRequestId;
|
|
20
|
+
private static _addLegacyEventListener;
|
|
15
21
|
/** @deprecated `LightPopupAd.createForAdRequest(adUnitId)` 인스턴스의 `isAdReady()`를 사용하세요. */
|
|
16
22
|
static isAdReady(adUnitId: string): Promise<boolean>;
|
|
17
23
|
/** @deprecated `LightPopupAd.createForAdRequest(adUnitId)` 인스턴스의 `load()`를 사용하세요. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LightPopupAd.d.ts","sourceRoot":"","sources":["../../../../src/LightPopupAd.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LightPopupAd.d.ts","sourceRoot":"","sources":["../../../../src/LightPopupAd.ts"],"names":[],"mappings":"AAOA,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;AAyEtE,qBAAa,YAAY;IAQrB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAR3B,OAAO,CAAC,MAAM,CAAC,cAAc,CAAK;IAClC,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAA6B;IAC7D,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAAqB;IAEvD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwB;IAErD,OAAO;IAKP,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,YAAY;IAKzD,SAAS,IAAI,OAAO,CAAC,OAAO,CAAC;IAI7B,IAAI,IAAI,IAAI;IAIZ,IAAI,IAAI,IAAI;IAIZ,gBAAgB,CAAC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M,KAAK,IAAI,GAAG,IAAI;IAO5E,8DAA8D;IAC9D,MAAM,CAAC,8BAA8B,IAAI,IAAI;IAI7C,0FAA0F;IAC1F,MAAM,CAAC,iCAAiC,CACtC,QAAQ,EAAE,CAAC,SAAS,EAAE,mBAAmB,KAAK,IAAI,GACjD,IAAI;IAOP,8DAA8D;IAC9D,MAAM,CAAC,oCAAoC,IAAI,IAAI;IAInD,+EAA+E;IAC/E,MAAM,CAAC,wBAAwB,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAIzE,8DAA8D;IAC9D,MAAM,CAAC,2BAA2B,IAAI,IAAI;IAI1C,4FAA4F;IAC5F,MAAM,CAAC,+BAA+B,CACpC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GACjC,IAAI;IAOP,8DAA8D;IAC9D,MAAM,CAAC,kCAAkC,IAAI,IAAI;CAGlD;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { TurboModule } from 'react-native';
|
|
2
|
+
import type { Double, UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
export type DaroModuleConstants = {
|
|
4
|
+
ON_INTERSTITIAL_LOADED_EVENT: string;
|
|
5
|
+
ON_INTERSTITIAL_LOAD_FAILED_EVENT: string;
|
|
6
|
+
ON_INTERSTITIAL_CLICKED_EVENT: string;
|
|
7
|
+
ON_INTERSTITIAL_DISPLAYED_EVENT: string;
|
|
8
|
+
ON_INTERSTITIAL_AD_FAILED_TO_DISPLAY_EVENT: string;
|
|
9
|
+
ON_INTERSTITIAL_HIDDEN_EVENT: string;
|
|
10
|
+
ON_INTERSTITIAL_AD_IMPRESSION_RECORDED: string;
|
|
11
|
+
ON_REWARDED_AD_LOADED_EVENT: string;
|
|
12
|
+
ON_REWARDED_AD_LOAD_FAILED_EVENT: string;
|
|
13
|
+
ON_REWARDED_AD_CLICKED_EVENT: string;
|
|
14
|
+
ON_REWARDED_AD_DISPLAYED_EVENT: string;
|
|
15
|
+
ON_REWARDED_AD_FAILED_TO_DISPLAY_EVENT: string;
|
|
16
|
+
ON_REWARDED_AD_HIDDEN_EVENT: string;
|
|
17
|
+
ON_REWARDED_AD_RECEIVED_REWARD_EVENT: string;
|
|
18
|
+
ON_REWARDED_AD_IMPRESSION_RECORDED: string;
|
|
19
|
+
ON_APPOPEN_AD_LOADED_EVENT: string;
|
|
20
|
+
ON_APPOPEN_AD_LOAD_FAILED_EVENT: string;
|
|
21
|
+
ON_APPOPEN_AD_CLICKED_EVENT: string;
|
|
22
|
+
ON_APPOPEN_AD_DISPLAYED_EVENT: string;
|
|
23
|
+
ON_APPOPEN_AD_FAILED_TO_DISPLAY_EVENT: string;
|
|
24
|
+
ON_APPOPEN_AD_HIDDEN_EVENT: string;
|
|
25
|
+
ON_APPOPEN_AD_IMPRESSION_RECORDED: string;
|
|
26
|
+
ON_LIGHTPOPUP_LOADED_EVENT: string;
|
|
27
|
+
ON_LIGHTPOPUP_LOAD_FAILED_EVENT: string;
|
|
28
|
+
ON_LIGHTPOPUP_CLICKED_EVENT: string;
|
|
29
|
+
ON_LIGHTPOPUP_DISPLAYED_EVENT: string;
|
|
30
|
+
ON_LIGHTPOPUP_AD_FAILED_TO_DISPLAY_EVENT: string;
|
|
31
|
+
ON_LIGHTPOPUP_HIDDEN_EVENT: string;
|
|
32
|
+
ON_LIGHTPOPUP_AD_IMPRESSION_RECORDED: string;
|
|
33
|
+
BANNER_AD_FORMAT_LABEL: string;
|
|
34
|
+
MREC_AD_FORMAT_LABEL: string;
|
|
35
|
+
UNKNOWN_AD_FORMAT_LABEL?: string;
|
|
36
|
+
};
|
|
37
|
+
export interface Spec extends TurboModule {
|
|
38
|
+
getConstants: () => DaroModuleConstants;
|
|
39
|
+
addListener: (eventName: string) => void;
|
|
40
|
+
removeListeners: (count: number) => void;
|
|
41
|
+
isInitialized: () => Promise<boolean>;
|
|
42
|
+
initializeSdk: () => Promise<void>;
|
|
43
|
+
setUserId: (userId: string) => Promise<void>;
|
|
44
|
+
showMediationDebugger: () => Promise<void>;
|
|
45
|
+
isInterstitialReady: (requestId: Double, adUnitId: string) => Promise<boolean>;
|
|
46
|
+
loadInterstitial: (requestId: Double, adUnitId: string) => Promise<void>;
|
|
47
|
+
showInterstitial: (requestId: Double, adUnitId: string) => Promise<void>;
|
|
48
|
+
isRewardedAdReady: (requestId: Double, adUnitId: string) => Promise<boolean>;
|
|
49
|
+
loadRewardedAd: (requestId: Double, adUnitId: string) => Promise<void>;
|
|
50
|
+
showRewardedAd: (requestId: Double, adUnitId: string, customData?: string | null) => Promise<void>;
|
|
51
|
+
isAppOpenAdReady: (requestId: Double, adUnitId: string) => Promise<boolean>;
|
|
52
|
+
loadAppOpenAd: (requestId: Double, adUnitId: string) => Promise<void>;
|
|
53
|
+
showAppOpenAd: (requestId: Double, adUnitId: string, placement?: string | null, customData?: string | null) => Promise<void>;
|
|
54
|
+
isLightPopupReady: (requestId: Double, adUnitId: string) => Promise<boolean>;
|
|
55
|
+
loadLightPopup: (requestId: Double, adUnitId: string) => Promise<void>;
|
|
56
|
+
showLightPopup: (requestId: Double, adUnitId: string) => Promise<void>;
|
|
57
|
+
setLightPopupAdConfiguration: (requestId: Double, adUnitId: string, configuration: UnsafeObject) => Promise<void>;
|
|
58
|
+
}
|
|
59
|
+
declare const _default: Spec;
|
|
60
|
+
export default _default;
|
|
61
|
+
//# sourceMappingURL=NativeDaroModule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeDaroModule.d.ts","sourceRoot":"","sources":["../../../../src/NativeDaroModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,KAAK,EACV,MAAM,EACN,YAAY,EACb,MAAM,2CAA2C,CAAC;AAEnD,MAAM,MAAM,mBAAmB,GAAG;IAChC,4BAA4B,EAAE,MAAM,CA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