The Lib Pub App IOS is a library designed to allow all Apple products to be monetized using a single solution.
It encapsulates both Prebid SDK and Google Mobile Ads SDK functionalities, allowing banner and and native ads to be served using the agreed commercial.
- Simple API for serving ads.
- Integration with Prebid and Google Ads.
- Well-aligned rules for serving ads inside Globo App Products.
- Strong contracts for collecting and sending common targeting parameters, allowing the correct campaign segmentation.
- Detailed documentation and examples for developers.
The main technologies used in this project include:
- Swift: For iOS application development.
- Cocoapods: Build automation tool for the project.
- Google Mobile Ads: For integrating Google ad services.
- Prebid SDK: For enabling header bidding auctions in mobile apps.
Future development.
- Pause Ads ✅
- Binge Ads ✅
Latest stable version: 0.0.1
| Instalação | Xcode | Installation | Status |
|---|---|---|---|
| iOS 14.0+ | 16.0 | CocoaPods | Available |
To integrate LibPub into your project, add the following to your Podfile:
source("https://github.com/globoi/pods-repository")
...
pod 'LibPub', '0.0.1'Note: Remember to update your repositories with
pod install --repo-update
Check your cocoapods version:
gem info cocoapodsIf your version is not 1.16+, run:
sudo gem install cocoapodsTo install the required libraries for the LibPub project using CocoaPods:
pod deintegrate
pod installcd LibPub
open LibPub.xcworkspaceIn the root directory of the repository, there is a Playground project named LibPubPlayground.
This project is designed to help you test and experiment with the LibPub library easily.
cd LibPubPlayground
open LibPubPlayground.xcworkspaceWhenever you make changes to the LibPub library or update its dependencies,
it is essential to run the following command in your terminal to ensure that your project has the latest version.
pod deintegrate
pod installmake lint
make testmake bump_version
> 0.0.X
make add_version_remote
> branch-name
make setup_cocoapods_deploy
> your github user
> your github token
make validate_podspec # optional
make cocoapods_deployCheck if the package was generated:
https://github.com/globoi/pods-repository/tree/master/LibPub/