Skip to content

Commit

Permalink
Release 4.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/) committed Sep 9, 2020
1 parent 02921b7 commit 38108b4
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 15 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Teads - iOS MoPub Mediation Adapter

### v4.7.7
_2020-09-09_
- Update version to match TeadsSDK

### v4.7.6
_2020-07-30_
- support MoPub 5.13+ dependency
Expand All @@ -10,6 +14,7 @@ _2020-07-23_

### v4.7.4
_2020-07-20_
- Bitcode compatibility
- Fixes and improvements

### v4.7.3
Expand Down
4 changes: 2 additions & 2 deletions MoPub-Teads-Adapters.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'MoPub-Teads-Adapters'
s.version = '4.7.6'
s.version = '4.7.7'
s.summary = "MoPub Adapter for Teads' iOS SDK"
s.module_name = 'TeadsMoPubAdapter'
s.description = <<-DESC
Expand All @@ -20,7 +20,7 @@ Pod::Spec.new do |s|
s.source_files = 'TeadsMoPubAdapter/**/*{.swift}'
s.swift_versions = ['4.3', '5.0', '5.1']

s.dependency 'TeadsSDK', "4.7.5"
s.dependency 'TeadsSDK', s.version.to_s
s.dependency 'mopub-ios-sdk', '>= 5.13'

end
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ If you want to display Teads ads in your iOS application through MoPub mediation

## Requirements

- ![Platform: iOS 9+](https://img.shields.io/badge/Platform-iOS%209%2B-blue.svg?style=flat)
- ![Xcode: 9.0+](https://img.shields.io/badge/Xcode-9.0+-blue.svg?style=flat)
- ![MoPub SDK: 5.5+](https://img.shields.io/badge/MoPub%20SDK-5.5+-blue.svg?style=flat)
- ![Teads SDK: 4.7.3+](https://img.shields.io/badge/Teads%20SDK-4.7.3+-blue.svg?style=flat)
- ![Platform: iOS 10+](https://img.shields.io/badge/Platform-iOS%209%2B-blue.svg?style=flat)
- ![Xcode: 11.0+](https://img.shields.io/badge/Xcode-9.0+-blue.svg?style=flat)
- ![MoPub SDK: 5.13+](https://img.shields.io/badge/MoPub%20SDK-5.5+-blue.svg?style=flat)
- ![Teads SDK: 4.7.7+](https://img.shields.io/badge/Teads%20SDK-4.7.7+-blue.svg?style=flat)

## Features

Expand All @@ -27,25 +27,25 @@ It will install Teads adapter and Teads SDK.
1. Add pod named `MoPub-Teads-Adapters` in your Podfile:

```ruby
platform :ios, '9.0'
platform :ios, '10.0'
pod 'MoPub-Teads-Adapters'
```

2. Run `pod install --repo-update` to install the adapter in your project.
3. Follow the [Define Custom Event](https://support.teads.tv/support/solutions/articles/36000166728-mopub#defining_a_custom_event) step to finish the integration.
3. Follow the [Define Custom Event](https://support.teads.tv/support/solutions/articles/36000166728-mopub-ios#defining_a_custom_event) step to finish the integration.
4. You’re done.

#### Manually

1. Integrate latest version of Teads SDK to your project using this [Quick Start Guide](http://mobile.teads.tv/sdk/documentation/v4/ios/get-started).
1. Integrate latest version of Teads SDK to your project using this [Quick Start Guide](https://support.teads.tv/support/solutions/articles/36000165909-ios).
2. Download latest release of [`TeadsMoPubAdapter`](https://github.com/teads/TeadsSDK-iOS/releases).
3. Drop adapter files in your iOS project.
4. Follow the [Define Custom Event](https://support.teads.tv/support/solutions/articles/36000166728-mopub#defining_a_custom_event) step to finish the integration.
4. Follow the [Define Custom Event](https://support.teads.tv/support/solutions/articles/36000166728-mopub-ios#defining_a_custom_event) step to finish the integration.
5. You’re done.

## Integration Documentation

Integration instructions are available on [Teads SDK Documentation](https://support.teads.tv/support/solutions/articles/36000166728-mopub).
Integration instructions are available on [Teads SDK Documentation](https://support.teads.tv/support/solutions/articles/36000166728-mopub-ios).

## Changelog

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,12 @@ typealias TeadsUIViewMPNativeAdRendering = UIView & MPNativeAdRendering
if let text = adapter.properties[property] as? String {
if let label = assetView as? UILabel {
label.text = text
} else if let imageView = assetView as? UIImageView {
UIImage.loadSync(url: text) { (image) in
imageView.image = image
}
} else if let imageView = assetView as? UIImageView, let imageAsset = asset as? TeadsNativeImageAsset {
imageAsset.loadImage(success: { image in
DispatchQueue.main.async {
imageView.image = image
}
})
}
}
}
Expand Down

0 comments on commit 38108b4

Please sign in to comment.