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.
Files changed (164) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +30 -30
  3. package/android/build.gradle +42 -59
  4. package/android/src/admob/java/com/daro/reactnative/DaroSdkBridge.kt +23 -0
  5. package/android/src/main/AndroidManifest.xml +1 -2
  6. package/android/src/main/java/com/{darom → daro/reactnative}/DaroMAdBannerViewManager.kt +4 -4
  7. package/android/src/main/java/com/{darom → daro/reactnative}/DaroMAdNativeViewManager.kt +4 -4
  8. package/android/src/main/java/com/{darom → daro/reactnative}/DaroMModule.kt +44 -45
  9. package/android/src/main/java/com/{darom → daro/reactnative}/DaroMPackage.kt +1 -1
  10. package/android/src/main/java/com/{darom → daro/reactnative}/constants/InternalDaroMBannerSize.kt +1 -1
  11. package/android/src/main/java/com/{darom → daro/reactnative}/event/DaroMEvent.kt +1 -1
  12. package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMBannerViewModuleImpl.kt +2 -2
  13. package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMInterstitialModuleImpl.kt +26 -26
  14. package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMLightPopupModuleImpl.kt +30 -29
  15. package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMRewardedAdModuleImpl.kt +27 -27
  16. package/android/src/main/java/com/{darom → daro/reactnative}/util/AdInfoUtil.kt +25 -1
  17. package/android/src/main/java/com/{darom → daro/reactnative}/util/EventEmitterUtil.kt +2 -2
  18. package/android/src/main/java/com/daro/reactnative/view/DaroMAdBannerViewContainer.kt +417 -0
  19. package/android/src/main/java/com/{darom → daro/reactnative}/view/DaroMAdNativeViewContainer.kt +4 -4
  20. package/app.plugin.js +1 -0
  21. package/ios/DaroMAdBannerViewManager.swift +1 -1
  22. package/ios/DaroMModule+AppOpen.swift +34 -31
  23. package/ios/DaroMModule+Interstitial.swift +29 -26
  24. package/ios/DaroMModule+LightPopup.swift +40 -33
  25. package/ios/DaroMModule+Rewarded.swift +35 -27
  26. package/ios/DaroMModule.mm +13 -13
  27. package/ios/DaroMModule.swift +20 -13
  28. package/ios/DaroMNativeAdViewManager.swift +1 -1
  29. package/ios/mediation/admob/DaroMediationDebugger.swift +11 -0
  30. package/ios/mediation/admob/DaroMediationTypes.swift +22 -0
  31. package/lib/commonjs/AdBannerView.js +6 -1
  32. package/lib/commonjs/AdBannerView.js.map +1 -1
  33. package/lib/commonjs/AppOpenAd.js +43 -17
  34. package/lib/commonjs/AppOpenAd.js.map +1 -1
  35. package/lib/commonjs/ErrorCode.js.map +1 -1
  36. package/lib/commonjs/EventEmitter.js.map +1 -1
  37. package/lib/commonjs/InterstitialAd.js +45 -17
  38. package/lib/commonjs/InterstitialAd.js.map +1 -1
  39. package/lib/commonjs/LightPopupAd.js +62 -43
  40. package/lib/commonjs/LightPopupAd.js.map +1 -1
  41. package/lib/commonjs/RewardedAd.js +44 -18
  42. package/lib/commonjs/RewardedAd.js.map +1 -1
  43. package/lib/commonjs/index.js +1 -1
  44. package/lib/commonjs/index.js.map +1 -1
  45. package/lib/commonjs/nativeAd/NativeAdView.js +5 -1
  46. package/lib/commonjs/nativeAd/NativeAdView.js.map +1 -1
  47. package/lib/commonjs/nativeAd/NativeAdViewComponents.js.map +1 -1
  48. package/lib/commonjs/nativeAd/NativeAdViewProvider.js.map +1 -1
  49. package/lib/commonjs/package.json +1 -0
  50. package/lib/module/AdBannerView.js +6 -1
  51. package/lib/module/AdBannerView.js.map +1 -1
  52. package/lib/module/AppOpenAd.js +43 -17
  53. package/lib/module/AppOpenAd.js.map +1 -1
  54. package/lib/module/ErrorCode.js.map +1 -1
  55. package/lib/module/EventEmitter.js.map +1 -1
  56. package/lib/module/InterstitialAd.js +45 -17
  57. package/lib/module/InterstitialAd.js.map +1 -1
  58. package/lib/module/LightPopupAd.js +63 -43
  59. package/lib/module/LightPopupAd.js.map +1 -1
  60. package/lib/module/RewardedAd.js +44 -18
  61. package/lib/module/RewardedAd.js.map +1 -1
  62. package/lib/module/index.js +1 -1
  63. package/lib/module/index.js.map +1 -1
  64. package/lib/module/nativeAd/NativeAdView.js +5 -1
  65. package/lib/module/nativeAd/NativeAdView.js.map +1 -1
  66. package/lib/module/nativeAd/NativeAdViewComponents.js.map +1 -1
  67. package/lib/module/nativeAd/NativeAdViewProvider.js.map +1 -1
  68. package/lib/module/package.json +1 -0
  69. package/lib/typescript/commonjs/plugin/src/index.d.ts +19 -0
  70. package/lib/typescript/commonjs/plugin/src/index.d.ts.map +1 -0
  71. package/lib/typescript/commonjs/plugin/src/skAdNetworkIds.d.ts +6 -0
  72. package/lib/typescript/commonjs/plugin/src/skAdNetworkIds.d.ts.map +1 -0
  73. package/lib/typescript/commonjs/plugin/src/withAndroid.d.ts +8 -0
  74. package/lib/typescript/commonjs/plugin/src/withAndroid.d.ts.map +1 -0
  75. package/lib/typescript/commonjs/plugin/src/withIos.d.ts +8 -0
  76. package/lib/typescript/commonjs/plugin/src/withIos.d.ts.map +1 -0
  77. package/lib/typescript/commonjs/src/AdBannerView.d.ts +124 -2
  78. package/lib/typescript/commonjs/src/AdBannerView.d.ts.map +1 -1
  79. package/lib/typescript/commonjs/src/AppOpenAd.d.ts +6 -0
  80. package/lib/typescript/commonjs/src/AppOpenAd.d.ts.map +1 -1
  81. package/lib/typescript/commonjs/src/ErrorCode.d.ts.map +1 -1
  82. package/lib/typescript/commonjs/src/EventEmitter.d.ts.map +1 -1
  83. package/lib/typescript/commonjs/src/InterstitialAd.d.ts +6 -0
  84. package/lib/typescript/commonjs/src/InterstitialAd.d.ts.map +1 -1
  85. package/lib/typescript/commonjs/src/LightPopupAd.d.ts +6 -0
  86. package/lib/typescript/commonjs/src/LightPopupAd.d.ts.map +1 -1
  87. package/lib/typescript/commonjs/src/RewardedAd.d.ts +6 -0
  88. package/lib/typescript/commonjs/src/RewardedAd.d.ts.map +1 -1
  89. package/lib/typescript/commonjs/src/nativeAd/NativeAdView.d.ts +124 -2
  90. package/lib/typescript/commonjs/src/nativeAd/NativeAdView.d.ts.map +1 -1
  91. package/lib/typescript/commonjs/src/nativeAd/NativeAdViewComponents.d.ts.map +1 -1
  92. package/lib/typescript/commonjs/src/nativeAd/NativeAdViewProvider.d.ts.map +1 -1
  93. package/lib/typescript/commonjs/src/types/AdBannerViewProps.d.ts +2 -2
  94. package/lib/typescript/commonjs/src/types/AdBannerViewProps.d.ts.map +1 -1
  95. package/lib/typescript/commonjs/src/types/AdInfo.d.ts.map +1 -1
  96. package/lib/typescript/commonjs/src/types/AdProps.d.ts +2 -2
  97. package/lib/typescript/commonjs/src/types/AdProps.d.ts.map +1 -1
  98. package/lib/typescript/commonjs/src/types/DaroMMobileAds.d.ts.map +1 -1
  99. package/lib/typescript/commonjs/src/types/NativeAdViewProps.d.ts.map +1 -1
  100. package/lib/typescript/module/plugin/src/index.d.ts +19 -0
  101. package/lib/typescript/module/plugin/src/index.d.ts.map +1 -0
  102. package/lib/typescript/module/plugin/src/skAdNetworkIds.d.ts +6 -0
  103. package/lib/typescript/module/plugin/src/skAdNetworkIds.d.ts.map +1 -0
  104. package/lib/typescript/module/plugin/src/withAndroid.d.ts +8 -0
  105. package/lib/typescript/module/plugin/src/withAndroid.d.ts.map +1 -0
  106. package/lib/typescript/module/plugin/src/withIos.d.ts +8 -0
  107. package/lib/typescript/module/plugin/src/withIos.d.ts.map +1 -0
  108. package/lib/typescript/module/src/AdBannerView.d.ts +124 -2
  109. package/lib/typescript/module/src/AdBannerView.d.ts.map +1 -1
  110. package/lib/typescript/module/src/AppOpenAd.d.ts +6 -0
  111. package/lib/typescript/module/src/AppOpenAd.d.ts.map +1 -1
  112. package/lib/typescript/module/src/ErrorCode.d.ts.map +1 -1
  113. package/lib/typescript/module/src/EventEmitter.d.ts.map +1 -1
  114. package/lib/typescript/module/src/InterstitialAd.d.ts +6 -0
  115. package/lib/typescript/module/src/InterstitialAd.d.ts.map +1 -1
  116. package/lib/typescript/module/src/LightPopupAd.d.ts +6 -0
  117. package/lib/typescript/module/src/LightPopupAd.d.ts.map +1 -1
  118. package/lib/typescript/module/src/RewardedAd.d.ts +6 -0
  119. package/lib/typescript/module/src/RewardedAd.d.ts.map +1 -1
  120. package/lib/typescript/module/src/nativeAd/NativeAdView.d.ts +124 -2
  121. package/lib/typescript/module/src/nativeAd/NativeAdView.d.ts.map +1 -1
  122. package/lib/typescript/module/src/nativeAd/NativeAdViewComponents.d.ts.map +1 -1
  123. package/lib/typescript/module/src/nativeAd/NativeAdViewProvider.d.ts.map +1 -1
  124. package/lib/typescript/module/src/types/AdBannerViewProps.d.ts +2 -2
  125. package/lib/typescript/module/src/types/AdBannerViewProps.d.ts.map +1 -1
  126. package/lib/typescript/module/src/types/AdInfo.d.ts.map +1 -1
  127. package/lib/typescript/module/src/types/AdProps.d.ts +2 -2
  128. package/lib/typescript/module/src/types/AdProps.d.ts.map +1 -1
  129. package/lib/typescript/module/src/types/DaroMMobileAds.d.ts.map +1 -1
  130. package/lib/typescript/module/src/types/NativeAdViewProps.d.ts.map +1 -1
  131. package/package.json +88 -105
  132. package/plugin/build/index.d.ts +18 -0
  133. package/plugin/build/index.js +71 -0
  134. package/plugin/build/skAdNetworkIds.d.ts +5 -0
  135. package/plugin/build/skAdNetworkIds.js +205 -0
  136. package/plugin/build/withAndroid.d.ts +7 -0
  137. package/plugin/build/withAndroid.js +140 -0
  138. package/plugin/build/withIos.d.ts +7 -0
  139. package/plugin/build/withIos.js +83 -0
  140. package/react-native-daro.podspec +25 -0
  141. package/src/AdBannerView.tsx +54 -17
  142. package/src/AppOpenAd.ts +59 -15
  143. package/src/ErrorCode.ts +1 -2
  144. package/src/EventEmitter.ts +5 -2
  145. package/src/InterstitialAd.ts +73 -17
  146. package/src/LightPopupAd.ts +86 -46
  147. package/src/RewardedAd.ts +70 -18
  148. package/src/index.tsx +1 -1
  149. package/src/nativeAd/NativeAdView.tsx +65 -14
  150. package/src/nativeAd/NativeAdViewComponents.tsx +54 -27
  151. package/src/nativeAd/NativeAdViewProvider.tsx +17 -7
  152. package/src/types/AdBannerViewProps.ts +11 -11
  153. package/src/types/AdInfo.ts +17 -17
  154. package/src/types/AdProps.ts +8 -9
  155. package/src/types/DaroMMobileAds.ts +3 -6
  156. package/src/types/NativeAdViewProps.ts +5 -5
  157. package/src/types/index.ts +1 -1
  158. package/android/gradle.properties +0 -5
  159. package/android/src/main/AndroidManifestNew.xml +0 -7
  160. package/android/src/main/java/com/darom/view/DaroMAdBannerViewContainer.kt +0 -163
  161. package/android/src/main/res/layout/layout_activity_transparent.xml +0 -7
  162. package/android/src/main/res/values/styles.xml +0 -11
  163. package/ios/DaroM-Bridging-Header.h +0 -6
  164. 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;AAmFtE,qBAAa,YAAY;IAGH,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAF7C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwB;IAErD,OAAO;IAEP,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,YAAY;IAIzD,SAAS,IAAI,OAAO,CAAC,OAAO,CAAC;IAI7B,IAAI,IAAI,IAAI;IAIZ,IAAI,IAAI,IAAI;IAIZ,gBAAgB,CAAC,aAAa,EAAE,yBAAyB,GAAG,IAAI;IAOhE,kBAAkB,CAAC,CAAC,SAAS,WAAW,EACtC,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC,C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C,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"}
@@ -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()`를 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jD,gGAAgG;IAChG,MAAM,CAAC,gCAAgC,CACrC,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,GACvC,IAAI;IAOP,8DAA8D;IAC9D,MAAM,CAAC,mCAAmC,IAAI,IAAI;CAGnD;AAED,eAAe,UAAU,CAAC"}
@@ -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
- } & ViewProps & import("react").RefAttributes<NativeAdViewHandler>>;
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":"AACA,OAAO,EAA0E,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGtH,OAAO,KAAK,EAAE,mBAAmB,EAAqB,MAAM,4BAA4B,CAAC;AAezF,eAAO,MAAM,YAAY;;mEAyBvB,CAAC"}
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":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAa,SAAS,EAAyB,SAAS,EAAE,MAAM,cAAc,CAAC;AAoMvG,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
+ {"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,GAAG,aAAa,CAAC;AAElF,MAAM,MAAM,uBAAuB,GAAG;IACpC,YAAY,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC,CAAC;CAChF,CAAC;AAGF,eAAO,MAAM,mBAAmB,wCAG9B,CAAC;AAEH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAYlE,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 "../AdBannerView";
2
- import type { AdProps } from "./AdProps";
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;IACjC;;OAEG;IACH,MAAM,IAAI,IAAI,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB,CAAA"}
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;IAEjB,QAAQ,EAAE,MAAM,CAAC;IAEjB,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AAGF,MAAM,MAAM,gBAAgB,GAAG;IAE3B,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,EAAE,SAAS,CAAC;IAEhB,OAAO,EAAE,MAAM,CAAC;IAGhB,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG;IAEvB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC"}
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,5 +1,5 @@
1
- import type { AdLoadFailedInfo } from "./AdInfo";
2
- import type { AdInfo } from "./AdInfo";
1
+ import type { AdLoadFailedInfo } from './AdInfo';
2
+ import type { AdInfo } from './AdInfo';
3
3
  export type AdProps = {
4
4
  adUnitId: string;
5
5
  placement?: string | null;
@@ -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;IAElB,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;CACrD,CAAC"}
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":"AACA,MAAM,MAAM,cAAc,GAAG;IAE5B,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;CAE7C,CAAC"}
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;IACjC;;OAEG;IACH,MAAM,IAAI,IAAI,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG;IACzC,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC"}
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.13",
4
- "description": "Daro React Native Module for Android and iOS",
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.json",
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
- "example": "yarn workspace react-native-daro-m-example",
42
- "test": "jest",
44
+ "clean": "del-cli lib plugin/build",
43
45
  "typecheck": "tsc",
44
- "lint": "eslint \"**/*.{js,ts,tsx}\"",
45
- "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
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-m-react-native.git"
56
+ "url": "git+https://github.com/delightroom/daro-react-native.git"
57
57
  },
58
- "author": "Lion <lion@delightroom.com> (https://github.com/delightroom)",
58
+ "author": "Delightroom <dev@delightroom.com> (https://github.com/delightroom)",
59
59
  "license": "MIT",
60
60
  "bugs": {
61
- "url": "https://github.com/delightroom/daro-m-react-native/issues"
61
+ "url": "https://github.com/delightroom/daro-react-native/issues"
62
62
  },
63
- "homepage": "https://github.com/delightroom/daro-m-react-native#readme",
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
- "@react-native/eslint-config": "^0.73.1",
69
- "@release-it/conventional-changelog": "^5.0.0",
70
- "@types/jest": "^29.5.5",
71
- "@types/react": "^18.2.44",
72
- "@types/tinycolor2": "^1.4.6",
73
- "del-cli": "^5.1.0",
74
- "eslint": "^8.51.0",
75
- "eslint-config-prettier": "^9.0.0",
76
- "eslint-plugin-prettier": "^5.0.1",
77
- "jest": "^29.7.0",
78
- "prettier": "^3.0.3",
79
- "react": "18.3.1",
80
- "react-native": "0.76.1",
81
- "react-native-builder-bob": "^0.30.3",
82
- "release-it": "^15.0.0",
83
- "turbo": "^1.10.7",
84
- "typescript": "^5.2.2"
85
- },
86
- "resolutions": {
87
- "@types/react": "^18.2.44"
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
- "workspaces": [
94
- "example"
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
- "eslintIgnore": [
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
- "create-react-native-library": {
182
- "type": "view-legacy",
183
- "languages": "kotlin-swift",
184
- "version": "0.42.2"
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
- "dependencies": {
187
- "tinycolor2": "^1.6.0"
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;