react-native-daro 1.0.9 → 1.0.10
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.
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
RCT_EXPORT_VIEW_PROPERTY(adUnitId, NSString)
|
|
6
6
|
RCT_EXPORT_VIEW_PROPERTY(adFormat, NSString)
|
|
7
|
-
RCT_EXPORT_VIEW_PROPERTY(isVisible, BOOL)
|
|
8
7
|
|
|
9
8
|
RCT_EXPORT_VIEW_PROPERTY(onAdLoadedEvent, RCTDirectEventBlock)
|
|
10
9
|
RCT_EXPORT_VIEW_PROPERTY(onAdLoadFailedEvent, RCTDirectEventBlock)
|
|
@@ -17,11 +17,6 @@ final class DaroMAdBannerView: UIView {
|
|
|
17
17
|
|
|
18
18
|
@objc var adUnitId: String?
|
|
19
19
|
@objc var adFormat: String = DaroMModule.Constants.bannerAdFormatLabel.value
|
|
20
|
-
@objc var isVisible: Bool = true {
|
|
21
|
-
didSet {
|
|
22
|
-
adBannerView?.isHidden = !isVisible
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
20
|
|
|
26
21
|
// MARK: - Events
|
|
27
22
|
@objc var onAdLoadedEvent: RCTDirectEventBlock?
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
18
18
|
|
|
19
|
-
s.dependency "DaroAds", "1.1.
|
|
19
|
+
s.dependency "DaroAds", "1.1.47"
|
|
20
20
|
|
|
21
21
|
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
|
22
22
|
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|