Skip to content

Commit

Permalink
Merge pull request #18 from ParticleMedia/huanzhiNB/nativeRemoveRootView
Browse files Browse the repository at this point in the history
native view remove rootviewcontroller strong reference
  • Loading branch information
huanzhiNB authored Oct 29, 2024
2 parents ae3d937 + 3662935 commit f28d7bc
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 17 deletions.
4 changes: 2 additions & 2 deletions FacebookAdapter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pod::Spec.new do |spec|


spec.name = "FacebookAdapter"
spec.version = "0.0.68"
spec.version = "0.0.71"
spec.summary = "an adapter for Meta SDK"
spec.description = "an adapter for Meta SDK for MSP S2S"

Expand Down Expand Up @@ -46,7 +46,7 @@ Pod::Spec.new do |spec|
spec.exclude_files = "Classes/Exclude"

spec.dependency 'FBAudienceNetwork', '6.15.0'
spec.dependency 'MSPSharedLibraries', '0.0.64'
spec.dependency 'MSPSharedLibraries', '0.0.70'
#spec.module_map = 'GoogleAdapter/GoogleAdapter.modulemap'

#spec.public_header_files = "GoogleAdapter//**/*.h"
Expand Down
4 changes: 2 additions & 2 deletions GoogleAdapter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pod::Spec.new do |spec|


spec.name = "GoogleAdapter"
spec.version = "0.0.66"
spec.version = "0.0.71"
spec.summary = "an adapter for Google SDK"
spec.description = "an adapter for Google SDK for MSP S2S"

Expand Down Expand Up @@ -46,7 +46,7 @@ Pod::Spec.new do |spec|
spec.exclude_files = "Classes/Exclude"

spec.dependency 'Google-Mobile-Ads-SDK', "11.2.0"
spec.dependency 'MSPSharedLibraries', '0.0.64'
spec.dependency 'MSPSharedLibraries', '0.0.70'
#spec.module_map = 'GoogleAdapter/GoogleAdapter.modulemap'

#spec.public_header_files = "GoogleAdapter//**/*.h"
Expand Down
6 changes: 3 additions & 3 deletions MSPCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
#

spec.name = "MSPCore"
spec.version = "0.0.69"
spec.version = "0.0.71"
spec.summary = "An utility helper for MSP"

spec.ios.deployment_target = '13.0'
Expand Down Expand Up @@ -94,8 +94,8 @@ Pod::Spec.new do |spec|
spec.source_files = "MSPCore/MSPCore/**/*.{h,m,swift}"
spec.exclude_files = "Classes/Exclude"

spec.dependency 'MSPSharedLibraries', '0.0.64'
spec.dependency 'PrebidAdapter', '0.0.69'
spec.dependency 'MSPSharedLibraries', '0.0.70'
spec.dependency 'PrebidAdapter', '0.0.71'
spec.dependency 'SwiftProtobuf', '1.21.0'
#spec.vendored_frameworks= "MSPCore/PrebidAdapter.xcframework"#, "PrebidMobile.xcframework", "MSPiOSCore.xcframework"

Expand Down
4 changes: 2 additions & 2 deletions NovaAdapter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pod::Spec.new do |spec|


spec.name = "NovaAdapter"
spec.version = "0.0.65"
spec.version = "0.0.71"
spec.summary = "an adapter for Google SDK"
spec.description = "an adapter for Google SDK for MSP S2S"

Expand Down Expand Up @@ -46,7 +46,7 @@ Pod::Spec.new do |spec|
spec.exclude_files = "Classes/Exclude"

#spec.dependency 'Google-Mobile-Ads-SDK', "10.14.0"
spec.dependency 'MSPSharedLibraries', '0.0.64'
spec.dependency 'MSPSharedLibraries', '0.0.70'


spec.vendored_frameworks= "NovaAdapter/NovaCore.xcframework"
Expand Down
Binary file modified NovaAdapter/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>NovaAdapter.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>7</integer>
<integer>4</integer>
</dict>
</dict>
</dict>
Expand Down
Binary file removed NovaAdapter/NovaAdapter/.DS_Store
Binary file not shown.
10 changes: 7 additions & 3 deletions NovaAdapter/NovaAdapter/NovaAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,13 @@ public class NovaAdapter: AdNetworkAdapter {
let actionHandlerMaster = ActionHandlerMaster(actionHandlers: [adOpenActionHandler])
guard let nativeAdView = nativeAdView as? NativeAdView,
let mediaView = nativeAdView.mediaView as? NovaNativeAdMediaView,
let novaNativeAdItem = self.nativeAdItem else {return}
let novaNativeAdView = NovaNativeAdView(actionHandler: actionHandlerMaster,
rootViewController: nativeAdView.rootViewController,
let novaNativeAdItem = self.nativeAdItem,
let rootViewController = nativeAdView.rootViewController else {
self.adListener?.onError(msg: "fail to render native view")
return
}
let novaNativeAdView = NovaNativeAdView(actionHandler: actionHandlerMaster,
rootViewController: rootViewController,
mediaView: mediaView)
novaNativeAdView.titleLabel = nativeAdView.titleLabel
novaNativeAdView.bodyLabel = nativeAdView.bodyLabel
Expand Down
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
PODFILE CHECKSUM: 813d9b45d8511648325dc5da09f7bb39a19fe562

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
2 changes: 1 addition & 1 deletion Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions PrebidAdapter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pod::Spec.new do |spec|


spec.name = "PrebidAdapter"
spec.version = "0.0.69"
spec.version = "0.0.71"
spec.summary = "an adapter for Google SDK"
spec.description = "an adapter for Google SDK for MSP S2S"

Expand Down Expand Up @@ -46,7 +46,7 @@ Pod::Spec.new do |spec|
spec.exclude_files = "Classes/Exclude"

#spec.dependency 'Google-Mobile-Ads-SDK', "10.14.0"
spec.dependency 'MSPSharedLibraries', '0.0.64'
spec.dependency 'MSPSharedLibraries', '0.0.70'


#spec.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 armv7 arm64' }
Expand Down

0 comments on commit f28d7bc

Please sign in to comment.