Skip to content

Commit 2838e32

Browse files
SDK v4 is now the official version
2 parents da70c44 + 0c0c428 commit 2838e32

File tree

443 files changed

+111052
-12017
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

443 files changed

+111052
-12017
lines changed

AppTransportSecurity.png

-7.99 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 11 additions & 260 deletions
Original file line numberDiff line numberDiff line change
@@ -2,263 +2,14 @@
22
v2.7.17
33
- fix on tableView integration
44

5-
v2.7.16
6-
- Add support for brandsafety. If you have news content in your app, you should use `[self.teadsAd setPageUrl:@"https://news.com/myArticle"];` where the url is you equivalent http url of your article. More information [http://mobile.teads.tv/sdk/documentation/ios/integration/inread-ios#a-init-your-teads-ad]()
7-
8-
v2.7.15
9-
- Fix regarding changes in Apple guidelines for using UIStatusBarDataNetworkItemView
10-
11-
v2.7.14
12-
- Internal fixes & improvements
13-
- Improvements related to VAST mediafile selection
14-
15-
v2.7.13
16-
- The SDK is now build with Xcode 9. Please use Xcode 9 now as it supports iOS 8+
17-
- UI adjustement for fullscreen on iPhone X
18-
- Fix for (wk)webview integration
19-
20-
v2.7.12
21-
- Fixed an issue with WKWebView delegates when using `reinjectTeadsInWebView`
22-
23-
v2.7.11
24-
- Improved VPAID support for creatives using IMA SDK for HTML
25-
26-
v2.7.10
27-
- Fixed sound been wrongly activated with specific settings from ad server
28-
29-
v2.7.9
30-
- Fixed case where `-teadsAd:didFailLoading:` was not called after a VPAID `AdError`
31-
32-
v2.7.8
33-
- Fixed issue resulting in a build error on Xcode 8
34-
35-
v2.7.7
36-
- Fixes and improvements for display format
37-
- Crash fix for iPhone X
38-
39-
v2.7.6
40-
- Fixes and improvements
41-
42-
v2.7.5
43-
- Improved reinjection in UIWebView
44-
- Improved UX with deeplinks
45-
46-
v2.7.4
47-
- Internal fixes and improvements
48-
- Minor UI improvements
49-
- Fixed I/O audio error log
50-
- Improved VPAID support
51-
52-
v2.7.3
53-
- Added method `reinjectTeadsInWebView` to be used in case multiple load might be done on a WebView
54-
55-
v2.7.2
56-
- Fixed a duplicate symbol issue after an update with CocoaPods
57-
58-
v2.7.1
59-
- Respecting Apple default audio parameter for your app caused to stop other audio streaming apps. This has been fixed.
60-
- Improved webviews integration support
61-
- Internal improvements
62-
63-
v2.7.0
64-
- Added new ad format support
65-
- Internal improvements
66-
- Minor internal fixes
67-
68-
v2.6.0
69-
- Drop iOS 7
70-
- Minor improvements on the player
71-
- Minor internal fix
72-
73-
v2.5.6
74-
- Bug fix for Custom type integration
75-
76-
v2.5.5
77-
- Bug fixes
78-
- Internal improvements
79-
80-
v2.5.1
81-
- iOS 8 layout issue when going fullscreen after rotation
82-
83-
v2.5.0
84-
- Fixed an issue with video playing in fullscreen
85-
- Fixes and improvements with AVAudioSession interaction
86-
- Improved webview integration
87-
- New endscreen
88-
89-
v2.4.3
90-
- New method to call if your app uses specific AVAudioSessionCategory : `- (void)requiredAVAudioSession:(NSString *)category`
91-
92-
v2.4.2
93-
- Fixed an issue causing crash when user arrives on view and immediately goes back
94-
- Internal improvements
95-
96-
v2.4.1:
97-
- Fixed player playing issue after rotation
98-
- Fixed issue coming from rare malformed data from VAST causing crashes
99-
- Fixed issue with VAST URLs macros causing crashes
100-
- Fixed blocked UI in ScrollView during inRead expand/collapse
101-
- New feature: brand logo
102-
103-
v2.3.4:
104-
- Fixed issue with status when rotating video fullscreen if app doesn't allow rotation
105-
- Fixed issue with WKWebView that could block aync loaded content
106-
- Fixed minor issue with engage format
107-
- Fixed issue preventing square ad to display in landscape
108-
- Internal improvements
109-
110-
v2.3.3:
111-
- New engage format
112-
- Fixed issue with sound when app goes in background
113-
- New VAST macros support
114-
115-
v2.3.1:
116-
- SDK should not stop audio from other apps when player is muted
117-
- Fixed an offset issue with inRead Top
118-
- Internal improvements
119-
120-
v2.2.1:
121-
- TeadsVideo is now deprecated, you should use TeadsAd instead
122-
- Fixed issues with iOS 7
123-
- Fixed a bug that can occure with some specific video files
124-
- Fixed some issues with `clean` call
125-
- Fixed last warning logs that may appear
126-
- Internal improvements
127-
128-
v2.1.0:
129-
- Fixed potential crash when video file received is corrupted
130-
- Fixed a typo in callback method `-teadsVideoCanExpand:withRatio:`
131-
- Memory optimizations
132-
- Improved integration in some complex view hierachies
133-
- New TeadsVideo setting available : `maxContainerHeight`
134-
- New branding features
135-
136-
v2.0.4:
137-
- Fixed a crash that can be caused by a corrupted video file
138-
- Fixed small memory leaks
139-
- Fixed the error "Failed to load font" (this won't happen anymore, promised)
140-
- Fixed an occasionnal "unrecognized selector" error log (selector is now recognized)
141-
142-
v2.0.3:
143-
- Minor internal improvements
144-
145-
v2.0.2:
146-
- Fixed ERROR ITMS-90166 that might appear when submitting app to iTunes Connect
147-
- Added support for inRead Vertical
148-
149-
v2.0.0:
150-
- New ad design and behaviors
151-
- Whole new version of SDK that brings breaking changes. Read [Migration guide from SDK v1.x to v2](http://mobile.teads.tv/sdk/documentation/ios/migration-from-sdk-v1-x)
152-
153-
----------
154-
### Old version (SDK v1.x)
155-
156-
v1.6.6:
157-
- Fixed duplicated symbol with Reachability framework
158-
159-
v1.6.5:
160-
- Fixed specific case when VAST progress event were not sent
161-
- Changed present modal view for fullscreen
162-
163-
v1.6.4:
164-
- Fixed issue introduced in v1.6.0 with wrapped VAST
165-
166-
v1.6.3:
167-
- Fixed bug when inRead inserted in ScrollView with complex hierachy
168-
- Fixed bug for inRead/inBoard in WKWebView
169-
- Fixed bug when opening in safari from the SDK browser
170-
- Added mute/unmute tracking for inFlow
171-
172-
v1.6.2:
173-
- Fixed compatibility for scrollView with `clipToBounds = NO`
174-
- Webview video insertion script enhanced
175-
176-
v1.6.1:
177-
- Fixed dSYM files warning issue
178-
179-
v1.6.0:
180-
- Minimum iOS version required is now iOS 7
181-
- Full iOS 9 support
182-
- BITCODE compliant
183-
- Fixed log error message when server has no ad available
184-
- Fixed duplicated symbols with Millenium Media SDK
185-
- Minor internal improvements
186-
187-
v1.5.1:
188-
- Fix with TableView section headers
189-
- Fix non-released objects with WebView
190-
- Other minor fixes and improvements
191-
192-
v1.5.0:
193-
- Fixed non-release elements with inRead/inBoard (wk)webview
194-
- Removed unused resources
195-
- Renamed following methods for TeadsNativeVideo :
196-
- `getNativeVideoView:` => `nativeVideoView:`
197-
- `getExpandedFrame:` => `expandedFrame:`
198-
- `getExpandAnimationDuration:` => `expandAnimationDuration:`
199-
- `getCollapseAnimationDuration:` => `collapseAnimationDuration:`
200-
201-
v1.4.4:
202-
- Increased close button touch-zone
203-
- Fixed false log error display
204-
- Bug fixes
205-
206-
v1.4.3:
207-
- Bug fix CoreData migration
208-
- Bug fixes and improvements
209-
210-
v1.4.2:
211-
- Improved VAST handling elements
212-
- Bug fixes and improvements
213-
214-
V1.4.0:
215-
- New feature : Custom Native Video
216-
- New tracking status « isStarted »
217-
- Bug fixes and improvements
218-
219-
v1.3.4:
220-
- Alternative scroll view for web view integrations
221-
- Added callback when no slot found in web view
222-
- Bug fixes and performance improvements
223-
224-
v1.3.3:
225-
- New read-only data about video ad experience
226-
- New playing tracking status
227-
- Bug fixes and improvements
228-
229-
v1.3.2:
230-
- Fullscreen experience is enhanced
231-
- Minor bug fixes and improvements
232-
233-
v1.3.1:
234-
- Fix bug iOS7
235-
- Various bug fixes & Improvements
236-
237-
v1.3.0:
238-
- Improve VAST parsing
239-
- Improve handling of clean functions
240-
- Various bug fixes and improvements
241-
- Improve testing of media files formats
242-
243-
v1.2.0:
244-
- Add support for WKWebView (inRead & inBoard formats)
245-
- Simplified implementation & load process
246-
- Add callbacks about cleaning ads
247-
- Bug fixes & optimizations
248-
249-
v1.1.1:
250-
- Add AdFactory feature for Interstitial ads
251-
- Minor Bug fixes in callbacks
252-
253-
v1.1:
254-
- New build configuration (framework + bundle)
255-
- New AdFactory feature
256-
- Minor Bug fixes & performance improvements
257-
258-
v1.0.1:
259-
- Memory & performance optimization
260-
- Minor bug fixes
261-
- Add reward handling
262-
263-
v1.0:
264-
- First version
5+
v4.0.9
6+
- GDPR support
7+
- Improvements and bug fixes
8+
- Dedicated build to support Xcode 10 & Swift 4.2
9+
10+
v4.0.7
11+
- Improvement for visibility
12+
- Opt-out cookie
13+
- Fix: Clear color for header and footer backgrounds
14+
- Fix: quartile trackings after replay
15+
- Fix: pause tracking sent when tap on endscreen "learn more"

LICENSE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
22-
21+
SOFTWARE.

README.md

Lines changed: 14 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,32 @@
1-
# Teads iOS SDK
1+
# TeadsSDK-ios
22

3-
<p align="center">
4-
<img src="https://jenkins.teads.net/buildStatus/icon?job=format/sdk/ios/TeadsSDK-iOS_master" alt="Build Status"/>
5-
<img src="https://img.shields.io/badge/Xcode-9.0+-blue.svg?style=flat" alt="Xcode: 9+"/>
6-
<img src="https://img.shields.io/badge/platform-iOS%208%2B-blue.svg?style=flat" alt="Platform: iOS 8+"/>
7-
<a href="https://cocoapods.org/?q=TeadsSDK"><img src="https://img.shields.io/cocoapods/v/TeadsSDK.svg" alt="CocoaPods compatible" /></a>
8-
</p>
93

10-
Teads allows you to integrate a single SDK into your app, and serve premium branded "outstream" video ads from Teads SSP ad server.
11-
This iOS Demo App includes the Teads Framework and is showing integration examples.
4+
Teads allows you to integrate a single SDK into your app, and serve premium branded "outstream" video ads from Teads SSP ad server. This demo app includes Teads iOS library and is showing integration examples.
125

13-
## Documentation
6+
## Run the sample app
147

15-
Integration instructions are available on [Teads SDK documentation](http://mobile.teads.tv/sdk/documentation/)
8+
Clone this repository, open it with Xcode, and run project.
169

17-
## Install Teads SDK using static library
10+
## Download the Teads SDK iOS library
1811

19-
Read [Project Setup](http://mobile.teads.tv/sdk/documentation/ios/ios-project-setup) from our documentation
20-
21-
## Install Teads SDK using CocoaPods
22-
23-
Install CocoaPods from your terminal:
12+
Teads SDK is currently distributed through CocoaPods. It include everything you need to serve "outstream" video ads.
2413

2514
```
26-
$ sudo gem install cocoapods
15+
target 'YourProject' do
16+
pod 'TeadsSDK', '4.0.9'
17+
end
2718
```
2819

29-
### Try our SDK on a demo project
30-
31-
You can try our SDK with `pod try` command in your terminal. This will get you our TeadsSDKDemo functionnal project which includes our SDK.
20+
In terminal in the directory containing your project's `.xcodeproj` file and the Podfile, run `pod install` command. This will install Teads SDK along with our needed dependencies.
3221

3322
```
34-
$ pod try TeadsSDK
23+
$ pod install --repo-update
3524
```
3625

37-
### Add Teads SDK to your iOS project
38-
39-
CocoaPods is a dependency manager for Xcode projects.
40-
41-
1. In terminal, go to the directory containing your project's `.xcodeproj` file and run `pod init` command:
42-
43-
```
44-
$ pod init
45-
```
46-
47-
2. Open and edit the created file named `Podfile` to add our SDK pod reference `pod 'TeadsSDK'` :
48-
49-
```
50-
target 'YourProject' do
51-
pod 'TeadsSDK'
52-
end
53-
```
54-
55-
3. In terminal in the directory containing your project's `.xcodeproj` file and the Podfile, run `pod install` command. This will install Teads SDK along with our needed dependencies.
26+
## Integration Documentation
5627

57-
```
58-
$ pod install --repo-update
59-
```
60-
61-
4. Once the installation is finished, open the `.xcworkspace` of your app to launch Xcode. Your project files should include a Pods project with the dependencies for TeadsSDK. From now on you will have to use this file for your app's developments.
62-
63-
## App Transport Security
64-
65-
Even if Teads SDK if fully compliant with iOS 9+ network restrictions (SSL ready), third party ad servers don't all use SSL yet. This is why we highly recommend to allow non-ssl connexions until all ad servers and tracking vendors are ssl compliant too.
66-
67-
Teads iOS SDK enters as a "Third-Party Servers" request maker.
68-
69-
NSAllowArbitraryLoads option will still be needed, and **you will just have to justify on app submission that you activated this option for your advertising needs** (required by an SDK that makes connections to Third-Party Servers).
70-
71-
You should add the `NSAppTransportSecurity` exception with `NSAllowsArbitraryLoads` exception to plist:
72-
73-
![AppTransportSecurity](AppTransportSecurity.png)
74-
75-
```xml
76-
<key>NSAppTransportSecurity</key>
77-
<dict>
78-
<key>NSAllowsArbitraryLoads</key>
79-
<true/>
80-
</dict>
81-
```
28+
Integration instructions are available on [Teads SDK Documentation](http://mobile.teads.tv/sdk/documentation/v4).
8229

8330
## Changelog
8431

85-
Read [changelog here](https://github.com/teads/TeadsSDK-iOS/blob/master/CHANGELOG.md).
32+
See [changelog here](CHANGELOG.md).

0 commit comments

Comments
 (0)