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.
Files changed (262) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +30 -30
  3. package/android/build.gradle +52 -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 +38 -15
  7. package/android/src/main/java/com/daro/reactnative/DaroMAdNativeViewManager.kt +167 -0
  8. package/android/src/main/java/com/daro/reactnative/DaroMModule.kt +257 -0
  9. package/android/src/main/java/com/daro/reactnative/DaroMPackage.kt +45 -0
  10. package/android/src/main/java/com/daro/reactnative/DaroMediaViewManager.kt +25 -0
  11. package/android/src/main/java/com/{darom → daro/reactnative}/constants/InternalDaroMBannerSize.kt +1 -1
  12. package/android/src/main/java/com/{darom → daro/reactnative}/event/DaroMEvent.kt +19 -8
  13. package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMBannerViewModuleImpl.kt +2 -2
  14. package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMInterstitialModuleImpl.kt +26 -26
  15. package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMLightPopupModuleImpl.kt +30 -29
  16. package/android/src/main/java/com/{darom → daro/reactnative}/impl/DaroMRewardedAdModuleImpl.kt +27 -27
  17. package/android/src/main/java/com/{darom → daro/reactnative}/util/AdInfoUtil.kt +25 -1
  18. package/android/src/main/java/com/daro/reactnative/util/EventEmitterUtil.kt +37 -0
  19. package/android/src/main/java/com/daro/reactnative/view/DaroMAdBannerViewContainer.kt +417 -0
  20. package/android/src/main/java/com/daro/reactnative/view/DaroMAdNativeViewContainer.kt +624 -0
  21. package/android/src/main/java/com/daro/reactnative/view/DaroMediaView.kt +123 -0
  22. package/android/src/newarch/java/com/daro/reactnative/DaroMModuleSpec.kt +6 -0
  23. package/android/src/oldarch/java/com/daro/reactnative/DaroMModuleSpec.kt +90 -0
  24. package/app.plugin.js +1 -0
  25. package/ios/DaroMModule+AppOpen.swift +38 -32
  26. package/ios/DaroMModule+Interstitial.swift +32 -26
  27. package/ios/DaroMModule+LightPopup.swift +43 -33
  28. package/ios/DaroMModule+Rewarded.swift +38 -27
  29. package/ios/DaroMModule.mm +45 -17
  30. package/ios/DaroMModule.swift +24 -17
  31. package/ios/Fabric/DaroMAdBannerComponentView.mm +207 -0
  32. package/ios/Fabric/DaroMFabricEventSink.mm +31 -0
  33. package/ios/Fabric/DaroMFabricPropApplier.mm +123 -0
  34. package/ios/Fabric/DaroMNativeAdComponentView.mm +294 -0
  35. package/ios/{DaroMAdBannerViewManager.m → Paper/DaroMAdBannerViewManager.m} +3 -1
  36. package/ios/Paper/DaroMAdBannerViewManager.swift +21 -0
  37. package/ios/{DaroMNativeAdViewManager.m → Paper/DaroMNativeAdViewManager.m} +2 -1
  38. package/ios/Paper/DaroMNativeAdViewManager.swift +22 -0
  39. package/ios/Shared/DaroMAdEventSink.swift +24 -0
  40. package/ios/Shared/DaroMBannerAdView.swift +188 -0
  41. package/ios/Shared/DaroMNativeAdLoadCoordinator.swift +49 -0
  42. package/ios/Shared/DaroMNativeAdView.swift +575 -0
  43. package/ios/Shared/DaroMNativeAssetResolver.swift +53 -0
  44. package/ios/mediation/admob/DaroMediationDebugger.swift +11 -0
  45. package/ios/mediation/admob/DaroMediationTypes.swift +23 -0
  46. package/lib/commonjs/AdBannerView.js +21 -35
  47. package/lib/commonjs/AdBannerView.js.map +1 -1
  48. package/lib/commonjs/AppOpenAd.js +80 -21
  49. package/lib/commonjs/AppOpenAd.js.map +1 -1
  50. package/lib/commonjs/DaroMAdBannerViewNativeComponent.ts +47 -0
  51. package/lib/commonjs/DaroMNativeAdViewNativeComponent.ts +62 -0
  52. package/lib/commonjs/DaroMediaViewNativeComponent.ts +9 -0
  53. package/lib/commonjs/ErrorCode.js.map +1 -1
  54. package/lib/commonjs/EventEmitter.js +4 -5
  55. package/lib/commonjs/EventEmitter.js.map +1 -1
  56. package/lib/commonjs/InterstitialAd.js +48 -22
  57. package/lib/commonjs/InterstitialAd.js.map +1 -1
  58. package/lib/commonjs/LightPopupAd.js +64 -46
  59. package/lib/commonjs/LightPopupAd.js.map +1 -1
  60. package/lib/commonjs/NativeDaroModule.js +9 -0
  61. package/lib/commonjs/NativeDaroModule.js.map +1 -0
  62. package/lib/commonjs/RewardedAd.js +47 -23
  63. package/lib/commonjs/RewardedAd.js.map +1 -1
  64. package/lib/commonjs/codegen-env.d.js +2 -0
  65. package/lib/commonjs/codegen-env.d.js.map +1 -0
  66. package/lib/commonjs/hooks/useInterstitialAd.js +110 -0
  67. package/lib/commonjs/hooks/useInterstitialAd.js.map +1 -0
  68. package/lib/commonjs/hooks/useLightPopupAd.js +114 -0
  69. package/lib/commonjs/hooks/useLightPopupAd.js.map +1 -0
  70. package/lib/commonjs/hooks/useRewardedAd.js +113 -0
  71. package/lib/commonjs/hooks/useRewardedAd.js.map +1 -0
  72. package/lib/commonjs/index.js +29 -13
  73. package/lib/commonjs/index.js.map +1 -1
  74. package/lib/commonjs/nativeAd/NativeAdView.js +23 -18
  75. package/lib/commonjs/nativeAd/NativeAdView.js.map +1 -1
  76. package/lib/commonjs/nativeAd/NativeAdViewComponents.js +43 -31
  77. package/lib/commonjs/nativeAd/NativeAdViewComponents.js.map +1 -1
  78. package/lib/commonjs/nativeAd/NativeAdViewProvider.js +34 -7
  79. package/lib/commonjs/nativeAd/NativeAdViewProvider.js.map +1 -1
  80. package/lib/commonjs/package.json +1 -0
  81. package/lib/module/AdBannerView.js +20 -36
  82. package/lib/module/AdBannerView.js.map +1 -1
  83. package/lib/module/AppOpenAd.js +80 -22
  84. package/lib/module/AppOpenAd.js.map +1 -1
  85. package/lib/module/DaroMAdBannerViewNativeComponent.ts +47 -0
  86. package/lib/module/DaroMNativeAdViewNativeComponent.ts +62 -0
  87. package/lib/module/DaroMediaViewNativeComponent.ts +9 -0
  88. package/lib/module/ErrorCode.js.map +1 -1
  89. package/lib/module/EventEmitter.js +4 -6
  90. package/lib/module/EventEmitter.js.map +1 -1
  91. package/lib/module/InterstitialAd.js +47 -22
  92. package/lib/module/InterstitialAd.js.map +1 -1
  93. package/lib/module/LightPopupAd.js +65 -47
  94. package/lib/module/LightPopupAd.js.map +1 -1
  95. package/lib/module/NativeDaroModule.js +5 -0
  96. package/lib/module/NativeDaroModule.js.map +1 -0
  97. package/lib/module/RewardedAd.js +46 -23
  98. package/lib/module/RewardedAd.js.map +1 -1
  99. package/lib/module/codegen-env.d.js +2 -0
  100. package/lib/module/codegen-env.d.js.map +1 -0
  101. package/lib/module/hooks/useInterstitialAd.js +106 -0
  102. package/lib/module/hooks/useInterstitialAd.js.map +1 -0
  103. package/lib/module/hooks/useLightPopupAd.js +110 -0
  104. package/lib/module/hooks/useLightPopupAd.js.map +1 -0
  105. package/lib/module/hooks/useRewardedAd.js +109 -0
  106. package/lib/module/hooks/useRewardedAd.js.map +1 -0
  107. package/lib/module/index.js +7 -13
  108. package/lib/module/index.js.map +1 -1
  109. package/lib/module/nativeAd/NativeAdView.js +22 -19
  110. package/lib/module/nativeAd/NativeAdView.js.map +1 -1
  111. package/lib/module/nativeAd/NativeAdViewComponents.js +45 -34
  112. package/lib/module/nativeAd/NativeAdViewComponents.js.map +1 -1
  113. package/lib/module/nativeAd/NativeAdViewProvider.js +35 -8
  114. package/lib/module/nativeAd/NativeAdViewProvider.js.map +1 -1
  115. package/lib/module/package.json +1 -0
  116. package/lib/typescript/commonjs/plugin/src/index.d.ts +19 -0
  117. package/lib/typescript/commonjs/plugin/src/index.d.ts.map +1 -0
  118. package/lib/typescript/commonjs/plugin/src/skAdNetworkIds.d.ts +6 -0
  119. package/lib/typescript/commonjs/plugin/src/skAdNetworkIds.d.ts.map +1 -0
  120. package/lib/typescript/commonjs/plugin/src/withAndroid.d.ts +8 -0
  121. package/lib/typescript/commonjs/plugin/src/withAndroid.d.ts.map +1 -0
  122. package/lib/typescript/commonjs/plugin/src/withIos.d.ts +8 -0
  123. package/lib/typescript/commonjs/plugin/src/withIos.d.ts.map +1 -0
  124. package/lib/typescript/commonjs/src/AdBannerView.d.ts +126 -4
  125. package/lib/typescript/commonjs/src/AdBannerView.d.ts.map +1 -1
  126. package/lib/typescript/commonjs/src/AppOpenAd.d.ts +6 -0
  127. package/lib/typescript/commonjs/src/AppOpenAd.d.ts.map +1 -1
  128. package/lib/typescript/commonjs/src/DaroMAdBannerViewNativeComponent.d.ts +32 -0
  129. package/lib/typescript/commonjs/src/DaroMAdBannerViewNativeComponent.d.ts.map +1 -0
  130. package/lib/typescript/commonjs/src/DaroMNativeAdViewNativeComponent.d.ts +42 -0
  131. package/lib/typescript/commonjs/src/DaroMNativeAdViewNativeComponent.d.ts.map +1 -0
  132. package/lib/typescript/commonjs/src/DaroMediaViewNativeComponent.d.ts +6 -0
  133. package/lib/typescript/commonjs/src/DaroMediaViewNativeComponent.d.ts.map +1 -0
  134. package/lib/typescript/commonjs/src/ErrorCode.d.ts.map +1 -1
  135. package/lib/typescript/commonjs/src/EventEmitter.d.ts.map +1 -1
  136. package/lib/typescript/commonjs/src/InterstitialAd.d.ts +6 -0
  137. package/lib/typescript/commonjs/src/InterstitialAd.d.ts.map +1 -1
  138. package/lib/typescript/commonjs/src/LightPopupAd.d.ts +6 -0
  139. package/lib/typescript/commonjs/src/LightPopupAd.d.ts.map +1 -1
  140. package/lib/typescript/commonjs/src/NativeDaroModule.d.ts +61 -0
  141. package/lib/typescript/commonjs/src/NativeDaroModule.d.ts.map +1 -0
  142. package/lib/typescript/commonjs/src/RewardedAd.d.ts +6 -0
  143. package/lib/typescript/commonjs/src/RewardedAd.d.ts.map +1 -1
  144. package/lib/typescript/commonjs/src/hooks/useInterstitialAd.d.ts +19 -0
  145. package/lib/typescript/commonjs/src/hooks/useInterstitialAd.d.ts.map +1 -0
  146. package/lib/typescript/commonjs/src/hooks/useLightPopupAd.d.ts +23 -0
  147. package/lib/typescript/commonjs/src/hooks/useLightPopupAd.d.ts.map +1 -0
  148. package/lib/typescript/commonjs/src/hooks/useRewardedAd.d.ts +20 -0
  149. package/lib/typescript/commonjs/src/hooks/useRewardedAd.d.ts.map +1 -0
  150. package/lib/typescript/commonjs/src/index.d.ts +7 -1
  151. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  152. package/lib/typescript/commonjs/src/nativeAd/NativeAdView.d.ts +125 -2
  153. package/lib/typescript/commonjs/src/nativeAd/NativeAdView.d.ts.map +1 -1
  154. package/lib/typescript/commonjs/src/nativeAd/NativeAdViewComponents.d.ts.map +1 -1
  155. package/lib/typescript/commonjs/src/nativeAd/NativeAdViewProvider.d.ts +11 -5
  156. package/lib/typescript/commonjs/src/nativeAd/NativeAdViewProvider.d.ts.map +1 -1
  157. package/lib/typescript/commonjs/src/types/AdBannerViewProps.d.ts +2 -2
  158. package/lib/typescript/commonjs/src/types/AdBannerViewProps.d.ts.map +1 -1
  159. package/lib/typescript/commonjs/src/types/AdInfo.d.ts.map +1 -1
  160. package/lib/typescript/commonjs/src/types/AdProps.d.ts +2 -2
  161. package/lib/typescript/commonjs/src/types/AdProps.d.ts.map +1 -1
  162. package/lib/typescript/commonjs/src/types/DaroMMobileAds.d.ts.map +1 -1
  163. package/lib/typescript/commonjs/src/types/NativeAdViewProps.d.ts +2 -0
  164. package/lib/typescript/commonjs/src/types/NativeAdViewProps.d.ts.map +1 -1
  165. package/lib/typescript/module/plugin/src/index.d.ts +19 -0
  166. package/lib/typescript/module/plugin/src/index.d.ts.map +1 -0
  167. package/lib/typescript/module/plugin/src/skAdNetworkIds.d.ts +6 -0
  168. package/lib/typescript/module/plugin/src/skAdNetworkIds.d.ts.map +1 -0
  169. package/lib/typescript/module/plugin/src/withAndroid.d.ts +8 -0
  170. package/lib/typescript/module/plugin/src/withAndroid.d.ts.map +1 -0
  171. package/lib/typescript/module/plugin/src/withIos.d.ts +8 -0
  172. package/lib/typescript/module/plugin/src/withIos.d.ts.map +1 -0
  173. package/lib/typescript/module/src/AdBannerView.d.ts +126 -4
  174. package/lib/typescript/module/src/AdBannerView.d.ts.map +1 -1
  175. package/lib/typescript/module/src/AppOpenAd.d.ts +6 -0
  176. package/lib/typescript/module/src/AppOpenAd.d.ts.map +1 -1
  177. package/lib/typescript/module/src/DaroMAdBannerViewNativeComponent.d.ts +32 -0
  178. package/lib/typescript/module/src/DaroMAdBannerViewNativeComponent.d.ts.map +1 -0
  179. package/lib/typescript/module/src/DaroMNativeAdViewNativeComponent.d.ts +42 -0
  180. package/lib/typescript/module/src/DaroMNativeAdViewNativeComponent.d.ts.map +1 -0
  181. package/lib/typescript/module/src/DaroMediaViewNativeComponent.d.ts +6 -0
  182. package/lib/typescript/module/src/DaroMediaViewNativeComponent.d.ts.map +1 -0
  183. package/lib/typescript/module/src/ErrorCode.d.ts.map +1 -1
  184. package/lib/typescript/module/src/EventEmitter.d.ts.map +1 -1
  185. package/lib/typescript/module/src/InterstitialAd.d.ts +6 -0
  186. package/lib/typescript/module/src/InterstitialAd.d.ts.map +1 -1
  187. package/lib/typescript/module/src/LightPopupAd.d.ts +6 -0
  188. package/lib/typescript/module/src/LightPopupAd.d.ts.map +1 -1
  189. package/lib/typescript/module/src/NativeDaroModule.d.ts +61 -0
  190. package/lib/typescript/module/src/NativeDaroModule.d.ts.map +1 -0
  191. package/lib/typescript/module/src/RewardedAd.d.ts +6 -0
  192. package/lib/typescript/module/src/RewardedAd.d.ts.map +1 -1
  193. package/lib/typescript/module/src/hooks/useInterstitialAd.d.ts +19 -0
  194. package/lib/typescript/module/src/hooks/useInterstitialAd.d.ts.map +1 -0
  195. package/lib/typescript/module/src/hooks/useLightPopupAd.d.ts +23 -0
  196. package/lib/typescript/module/src/hooks/useLightPopupAd.d.ts.map +1 -0
  197. package/lib/typescript/module/src/hooks/useRewardedAd.d.ts +20 -0
  198. package/lib/typescript/module/src/hooks/useRewardedAd.d.ts.map +1 -0
  199. package/lib/typescript/module/src/index.d.ts +7 -1
  200. package/lib/typescript/module/src/index.d.ts.map +1 -1
  201. package/lib/typescript/module/src/nativeAd/NativeAdView.d.ts +125 -2
  202. package/lib/typescript/module/src/nativeAd/NativeAdView.d.ts.map +1 -1
  203. package/lib/typescript/module/src/nativeAd/NativeAdViewComponents.d.ts.map +1 -1
  204. package/lib/typescript/module/src/nativeAd/NativeAdViewProvider.d.ts +11 -5
  205. package/lib/typescript/module/src/nativeAd/NativeAdViewProvider.d.ts.map +1 -1
  206. package/lib/typescript/module/src/types/AdBannerViewProps.d.ts +2 -2
  207. package/lib/typescript/module/src/types/AdBannerViewProps.d.ts.map +1 -1
  208. package/lib/typescript/module/src/types/AdInfo.d.ts.map +1 -1
  209. package/lib/typescript/module/src/types/AdProps.d.ts +2 -2
  210. package/lib/typescript/module/src/types/AdProps.d.ts.map +1 -1
  211. package/lib/typescript/module/src/types/DaroMMobileAds.d.ts.map +1 -1
  212. package/lib/typescript/module/src/types/NativeAdViewProps.d.ts +2 -0
  213. package/lib/typescript/module/src/types/NativeAdViewProps.d.ts.map +1 -1
  214. package/package.json +95 -105
  215. package/plugin/build/index.d.ts +18 -0
  216. package/plugin/build/index.js +71 -0
  217. package/plugin/build/skAdNetworkIds.d.ts +5 -0
  218. package/plugin/build/skAdNetworkIds.js +205 -0
  219. package/plugin/build/withAndroid.d.ts +7 -0
  220. package/plugin/build/withAndroid.js +222 -0
  221. package/plugin/build/withIos.d.ts +7 -0
  222. package/plugin/build/withIos.js +82 -0
  223. package/react-native-daro.podspec +28 -0
  224. package/src/AdBannerView.tsx +48 -48
  225. package/src/AppOpenAd.ts +101 -20
  226. package/src/DaroMAdBannerViewNativeComponent.ts +47 -0
  227. package/src/DaroMNativeAdViewNativeComponent.ts +62 -0
  228. package/src/DaroMediaViewNativeComponent.ts +9 -0
  229. package/src/ErrorCode.ts +1 -2
  230. package/src/EventEmitter.ts +9 -7
  231. package/src/InterstitialAd.ts +75 -21
  232. package/src/LightPopupAd.ts +90 -51
  233. package/src/NativeDaroModule.ts +91 -0
  234. package/src/RewardedAd.ts +72 -22
  235. package/src/codegen-env.d.ts +45 -0
  236. package/src/hooks/useInterstitialAd.ts +117 -0
  237. package/src/hooks/useLightPopupAd.ts +132 -0
  238. package/src/hooks/useRewardedAd.ts +122 -0
  239. package/src/index.tsx +21 -22
  240. package/src/nativeAd/NativeAdView.tsx +83 -45
  241. package/src/nativeAd/NativeAdViewComponents.tsx +129 -64
  242. package/src/nativeAd/NativeAdViewProvider.tsx +84 -16
  243. package/src/types/AdBannerViewProps.ts +11 -11
  244. package/src/types/AdInfo.ts +17 -17
  245. package/src/types/AdProps.ts +8 -9
  246. package/src/types/DaroMMobileAds.ts +3 -6
  247. package/src/types/NativeAdViewProps.ts +12 -5
  248. package/src/types/index.ts +1 -1
  249. package/android/gradle.properties +0 -5
  250. package/android/src/main/AndroidManifestNew.xml +0 -7
  251. package/android/src/main/java/com/darom/DaroMAdNativeViewManager.kt +0 -136
  252. package/android/src/main/java/com/darom/DaroMModule.kt +0 -203
  253. package/android/src/main/java/com/darom/DaroMPackage.kt +0 -21
  254. package/android/src/main/java/com/darom/util/EventEmitterUtil.kt +0 -24
  255. package/android/src/main/java/com/darom/view/DaroMAdBannerViewContainer.kt +0 -163
  256. package/android/src/main/java/com/darom/view/DaroMAdNativeViewContainer.kt +0 -375
  257. package/android/src/main/res/layout/layout_activity_transparent.xml +0 -7
  258. package/android/src/main/res/values/styles.xml +0 -11
  259. package/ios/DaroM-Bridging-Header.h +0 -6
  260. package/ios/DaroMAdBannerViewManager.swift +0 -91
  261. package/ios/DaroMNativeAdViewManager.swift +0 -291
  262. package/react-native-daro-m.podspec +0 -44
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,SAAS,GACV,MAAM,mCAAmC,CAAC;AAmB3C,wBAAsB,UAAU,kBAE/B;AAED,wBAAsB,qBAAqB,kBAE1C;AAED,wBAAsB,SAAS,CAAC,MAAM,EAAE,MAAM,iBAE7C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,YAAY,EACV,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,YAAY,EACV,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,YAAY,EACV,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,SAAS,GACV,MAAM,mCAAmC,CAAC;AAE3C,wBAAsB,UAAU,kBAE/B;AAED,wBAAsB,qBAAqB,kBAE1C;AAED,wBAAsB,SAAS,CAAC,MAAM,EAAE,MAAM,iBAE7C"}
@@ -1,6 +1,129 @@
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
+ adChoicesPosition?: import("..").AdChoicesPosition;
5
+ } & Readonly<Omit<Readonly<{
6
+ onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
7
+ onAccessibilityTap?: (() => unknown) | undefined;
8
+ onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
9
+ onMagicTap?: (() => unknown) | undefined;
10
+ onAccessibilityEscape?: (() => unknown) | undefined;
11
+ }>, "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<{
12
+ onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
13
+ onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
14
+ onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
15
+ onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
16
+ onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
17
+ onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
18
+ onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
19
+ onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
20
+ onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
21
+ onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
22
+ onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
23
+ onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
24
+ }>, "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<{
25
+ onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
26
+ onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
27
+ }>, "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<{
28
+ onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
29
+ onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
30
+ onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
31
+ onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
32
+ onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
33
+ onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
34
+ onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
35
+ onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
36
+ onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
37
+ onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
38
+ onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
39
+ onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
40
+ onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
41
+ onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
42
+ onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
43
+ onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
44
+ onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
45
+ onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
46
+ onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
47
+ onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
48
+ onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
49
+ onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
50
+ }>, "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<{
51
+ onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
52
+ onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
53
+ onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
54
+ onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
55
+ }>, "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<{
56
+ onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
57
+ onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
58
+ onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
59
+ onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
60
+ onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
61
+ onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
62
+ onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
63
+ onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
64
+ }>, "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<{
65
+ nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
66
+ nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
67
+ renderToHardwareTextureAndroid?: boolean | undefined;
68
+ hasTVPreferredFocus?: boolean | undefined;
69
+ nextFocusDown?: number | undefined;
70
+ nextFocusForward?: number | undefined;
71
+ nextFocusLeft?: number | undefined;
72
+ nextFocusRight?: number | undefined;
73
+ nextFocusUp?: number | undefined;
74
+ focusable?: boolean | undefined;
75
+ tabIndex?: 0 | -1;
76
+ onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
77
+ }>, "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<{
78
+ shouldRasterizeIOS?: boolean | undefined;
79
+ }>, "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<{
80
+ accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
81
+ "aria-labelledby"?: string | undefined;
82
+ accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
83
+ "aria-live"?: ("polite" | "assertive" | "off") | undefined;
84
+ importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
85
+ screenReaderFocusable?: boolean;
86
+ }>, "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<{
87
+ accessibilityIgnoresInvertColors?: boolean | undefined;
88
+ accessibilityViewIsModal?: boolean | undefined;
89
+ accessibilityShowsLargeContentViewer?: boolean | undefined;
90
+ accessibilityLargeContentTitle?: string | undefined;
91
+ "aria-modal"?: boolean | undefined;
92
+ accessibilityElementsHidden?: boolean | undefined;
93
+ accessibilityLanguage?: string | undefined;
94
+ accessibilityRespondsToUserInteraction?: boolean | undefined;
95
+ }>, "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"> & {
96
+ accessible?: boolean | undefined;
97
+ accessibilityLabel?: string | undefined;
98
+ accessibilityHint?: string | undefined;
99
+ "aria-label"?: string | undefined;
100
+ accessibilityRole?: import("react-native").AccessibilityRole | undefined;
101
+ role?: import("react-native").Role | undefined;
102
+ accessibilityState?: import("react-native").AccessibilityState | undefined;
103
+ accessibilityValue?: import("react-native").AccessibilityValue | undefined;
104
+ "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
105
+ "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
106
+ "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
107
+ "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
108
+ accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
109
+ "aria-busy"?: boolean | undefined;
110
+ "aria-checked"?: (boolean | undefined) | "mixed";
111
+ "aria-disabled"?: boolean | undefined;
112
+ "aria-expanded"?: boolean | undefined;
113
+ "aria-selected"?: boolean | undefined;
114
+ "aria-hidden"?: boolean | undefined;
115
+ }>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
116
+ children?: React.ReactNode;
117
+ style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
118
+ collapsable?: boolean | undefined;
119
+ collapsableChildren?: boolean | undefined;
120
+ id?: string;
121
+ testID?: string | undefined;
122
+ nativeID?: string | undefined;
123
+ needsOffscreenAlphaCompositing?: boolean | undefined;
124
+ hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
125
+ pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
126
+ removeClippedSubviews?: boolean | undefined;
127
+ experimental_accessibilityOrder?: Array<string> | undefined;
128
+ }>, never>> & import("react").RefAttributes<NativeAdViewHandler>>;
6
129
  //# 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":"AAiBA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,4BAA4B,CAAC;AAQpC,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":"AAQA,OAAO,KAAK,EACV,UAAU,EAEV,SAAS,EAIT,SAAS,EACV,MAAM,cAAc,CAAC;AA6OtB,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,4CAEzC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,4CAExC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,SAAS,4CAqBhD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,4CAMzD,CAAC;AAOF,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,4CAMzC,CAAC"}
@@ -1,14 +1,20 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import * as React from 'react';
3
- import type { NativeMethods } from 'react-native';
4
- import type { NativeAdViewProps } from '../types/NativeAdViewProps';
5
- export type NativeAdViewType = React.Component<NativeAdViewProps> & NativeMethods;
3
+ type NativeAdAssetStyleProps = object | null;
4
+ type NativeAdAssetRegistration = {
5
+ nativeTag: number;
6
+ styleProps: NativeAdAssetStyleProps;
7
+ };
8
+ export type NativeAdViewAssetPropKey = 'titleView' | 'bodyView' | 'callToActionView' | 'iconView' | 'mediaView';
9
+ export type NativeAdAssetRegistrations = Partial<Record<NativeAdViewAssetPropKey, NativeAdAssetRegistration>>;
6
10
  export type NativeAdViewContextType = {
7
- nativeAdView: NativeAdViewType | null;
8
- setNativeAdView: React.Dispatch<React.SetStateAction<NativeAdViewType | null>>;
11
+ nativeAdAssetRegistrations: NativeAdAssetRegistrations;
12
+ registerNativeAdAsset: (assetKey: NativeAdViewAssetPropKey, nativeTag: number, styleProps: NativeAdAssetStyleProps) => void;
13
+ unregisterNativeAdAsset: (assetKey: NativeAdViewAssetPropKey) => void;
9
14
  };
10
15
  export declare const NativeAdViewContext: React.Context<NativeAdViewContextType>;
11
16
  export declare const NativeAdViewProvider: React.FC<{
12
17
  children: ReactNode;
13
18
  }>;
19
+ export {};
14
20
  //# sourceMappingURL=NativeAdViewProvider.d.ts.map
@@ -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;AAG/B,KAAK,uBAAuB,GAAG,MAAM,GAAG,IAAI,CAAC;AAE7C,KAAK,yBAAyB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,uBAAuB,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAChC,WAAW,GACX,UAAU,GACV,kBAAkB,GAClB,UAAU,GACV,WAAW,CAAC;AAEhB,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAC9C,MAAM,CAAC,wBAAwB,EAAE,yBAAyB,CAAC,CAC5D,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,qBAAqB,EAAE,CACrB,QAAQ,EAAE,wBAAwB,EAClC,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,uBAAuB,KAChC,IAAI,CAAC;IACV,uBAAuB,EAAE,CAAC,QAAQ,EAAE,wBAAwB,KAAK,IAAI,CAAC;CACvE,CAAC;AAEF,eAAO,MAAM,mBAAmB,wCAI9B,CAAC;AAEH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CA6DlE,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,4 +1,5 @@
1
1
  import type { AdProps } from './AdProps';
2
+ export type AdChoicesPosition = 'topLeft' | 'topRight' | 'bottomRight' | 'bottomLeft';
2
3
  /**
3
4
  * A handler of {@link NativeAdView}.
4
5
  */
@@ -13,5 +14,6 @@ export type NativeAdViewHandler = {
13
14
  */
14
15
  export type NativeAdViewProps = AdProps & {
15
16
  loadOnMount?: boolean;
17
+ adChoicesPosition?: AdChoicesPosition;
16
18
  };
17
19
  //# sourceMappingURL=NativeAdViewProps.d.ts.map
@@ -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,MAAM,MAAM,iBAAiB,GACzB,SAAS,GACT,UAAU,GACV,aAAa,GACb,YAAY,CAAC;AAEjB;;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;IACtB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC,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.16",
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,17 @@
35
37
  "!**/__tests__",
36
38
  "!**/__fixtures__",
37
39
  "!**/__mocks__",
38
- "!**/.*"
40
+ "!**/.*",
41
+ "ios/Fabric",
42
+ "android/src/newarch",
43
+ "android/src/oldarch",
44
+ "plugin/build"
39
45
  ],
40
46
  "scripts": {
41
- "example": "yarn workspace react-native-daro-m-example",
42
- "test": "jest",
47
+ "clean": "del-cli lib plugin/build",
43
48
  "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"
49
+ "lint": "eslint \"src/**/*.{ts,tsx}\" \"*.js\"",
50
+ "test": "jest --passWithNoTests"
48
51
  },
49
52
  "keywords": [
50
53
  "react-native",
@@ -53,106 +56,54 @@
53
56
  ],
54
57
  "repository": {
55
58
  "type": "git",
56
- "url": "git+https://github.com/delightroom/daro-m-react-native.git"
59
+ "url": "git+https://github.com/delightroom/daro-react-native.git"
57
60
  },
58
- "author": "Lion <lion@delightroom.com> (https://github.com/delightroom)",
61
+ "author": "Delightroom <dev@delightroom.com> (https://github.com/delightroom)",
59
62
  "license": "MIT",
60
63
  "bugs": {
61
- "url": "https://github.com/delightroom/daro-m-react-native/issues"
64
+ "url": "https://github.com/delightroom/daro-react-native/issues"
62
65
  },
63
- "homepage": "https://github.com/delightroom/daro-m-react-native#readme",
66
+ "homepage": "https://github.com/delightroom/daro-react-native#readme",
64
67
  "publishConfig": {
65
68
  "registry": "https://registry.npmjs.org/"
66
69
  },
67
70
  "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"
71
+ "@commitlint/config-conventional": "^20.5.0",
72
+ "@eslint/compat": "^2.0.3",
73
+ "@eslint/eslintrc": "^3.3.5",
74
+ "@eslint/js": "^10.0.1",
75
+ "@jest/globals": "^30.0.0",
76
+ "@react-native/babel-preset": "0.83.0",
77
+ "@react-native/eslint-config": "0.83.0",
78
+ "@types/react": "^19.2.0",
79
+ "commitlint": "^20.5.0",
80
+ "del-cli": "^7.0.0",
81
+ "eslint": "^9.39.4",
82
+ "eslint-config-prettier": "^10.1.8",
83
+ "eslint-plugin-ft-flow": "^3.0.11",
84
+ "eslint-plugin-prettier": "^5.5.5",
85
+ "expo": "~54.0.33",
86
+ "expo-module-scripts": "^55.0.2",
87
+ "jest": "^30.3.0",
88
+ "lefthook": "^2.1.4",
89
+ "prettier": "^3.8.1",
90
+ "react": "19.1.0",
91
+ "react-native": "0.81.5",
92
+ "react-native-builder-bob": "^0.41.0",
93
+ "turbo": "^2.8.21",
94
+ "typescript": "~5.9.3"
88
95
  },
89
96
  "peerDependencies": {
97
+ "expo": ">=50.0.0",
90
98
  "react": "*",
91
99
  "react-native": "*"
92
100
  },
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
- ]
101
+ "peerDependenciesMeta": {
102
+ "expo": {
103
+ "optional": true
143
104
  }
144
105
  },
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
- },
106
+ "packageManager": "yarn@4.11.0",
156
107
  "react-native-builder-bob": {
157
108
  "source": "src",
158
109
  "output": "lib",
@@ -172,18 +123,57 @@
172
123
  [
173
124
  "typescript",
174
125
  {
175
- "project": "tsconfig.build.json",
176
- "esm": true
126
+ "project": "tsconfig.build.json"
177
127
  }
178
128
  ]
179
129
  ]
180
130
  },
181
- "create-react-native-library": {
182
- "type": "view-legacy",
183
- "languages": "kotlin-swift",
184
- "version": "0.42.2"
131
+ "codegenConfig": {
132
+ "name": "DaroReactNativeSpec",
133
+ "type": "all",
134
+ "jsSrcsDir": "src",
135
+ "ios": {
136
+ "componentProvider": {
137
+ "DaroMAdBannerView": "DaroMAdBannerViewComponentView",
138
+ "DaroMNativeAdView": "DaroMNativeAdViewComponentView"
139
+ }
140
+ },
141
+ "android": {
142
+ "javaPackageName": "com.daro.reactnative"
143
+ }
185
144
  },
186
- "dependencies": {
187
- "tinycolor2": "^1.6.0"
145
+ "prettier": {
146
+ "quoteProps": "consistent",
147
+ "singleQuote": true,
148
+ "tabWidth": 2,
149
+ "trailingComma": "es5",
150
+ "useTabs": false
151
+ },
152
+ "jest": {
153
+ "preset": "react-native",
154
+ "modulePathIgnorePatterns": [
155
+ "<rootDir>/example/node_modules",
156
+ "<rootDir>/lib/"
157
+ ]
158
+ },
159
+ "commitlint": {
160
+ "extends": [
161
+ "@commitlint/config-conventional"
162
+ ],
163
+ "rules": {
164
+ "subject-case": [
165
+ 0
166
+ ]
167
+ }
168
+ },
169
+ "create-react-native-library": {
170
+ "type": "turbo-module",
171
+ "languages": "kotlin-objc",
172
+ "tools": [
173
+ "eslint",
174
+ "jest",
175
+ "lefthook"
176
+ ],
177
+ "version": "0.60.0"
188
178
  }
189
179
  }
@@ -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;