Git Product home page Git Product logo

ios-openwrap-sdk-samples's Introduction

This repository consists of sample applications for PubMatic's OpenWrap SDK integration. You may refer these applications to integrate PubMatic's OpenWrap SDK.

OpenWrap iOS SDK

Integrate PubMatic OpenWrap SDK into your iOS app to monetize your app inventory using PubMatic's robust platform. With the OpenWrap SDK in your app, you can use the PubMatic platform to control, monitor, and optimize your ad inventory’s financial performance. It enables mobile app developers to maximize their monetization in native iOS applications.

Documentation

Refer PubMatic community pages for documentation on using OpenWrap SDK.

Sample Applications

Basic

Ad Server Samples
DFP Banner/Interstitial Samples
No Ad Server(Programmatic Only) Banner/Interstitial Samples
Custom Ad Server Banner/Interstitial Samples

Advance

  1. Table View App

Each iOS sample application includes a Podfile for integrating dependencies.

Installation steps:

  1. Run pod install --repo-update in the same directory where the Podfile is.
  2. Open the .xcworkspace file with Xcode and run the app.

See the CocoaPods Guides for more information on installing and updating pods.

Downloads

Please check out releases for the latest downloads of sample apps.

License

See the LICENSE file.

ios-openwrap-sdk-samples's People

Contributors

pm-pritesh-lad avatar pm-preety-narvekar avatar pm-pramod-jadhav avatar pm-shrawan-gupta avatar pm-vishal-chougule avatar

Stargazers

2353-mori-t avatar Luis Ligunas avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-openwrap-sdk-samples's Issues

`paidEventHandler` called twice at the same time

In BannerViewController the following code:

override func viewDidLoad() {
        super.viewDidLoad()
        
        let adSizes = [NSValueFromGADAdSize(GADAdSizeBanner)]
        
        // Create a banner custom event handler for your ad server. Make
        // sure you use separate event handler objects to create each interstitial
        // For example, The code below creates an event handler for DFP ad server.
        let eventHandler: DFPBannerEventHandler = DFPBannerEventHandler(adUnitId: dfpAdUnit, andSizes: adSizes)

        eventHandler.configBlock = { bannerView, request, _ in
            bannerView?.paidEventHandler = { gadAdValue in
                print("\(Date())")
            }
        }

        // Create a banner view
        // For test IDs refer - https://community.pubmatic.com/display/IDFP/Test+and+debug+your+integration
        self.bannerView = POBBannerView(publisherId: pubId, profileId: profileId, adUnitId: owAdUnit, eventHandler: eventHandler)
        
        // Set the delegate
        self.bannerView?.delegate = self


        // Add the banner view to your view hierarchy
        addBannerToView(banner: self.bannerView!, adSize: GADAdSizeBanner.size)
        
        // Load Ad
        self.bannerView?.loadAd()
    }

paidEventHandler is triggered multiple times at the same instant.
Which is not the expected behavior.
When using Google directly, paid event handler is called correctly.

CFBundleExecutable error when upload on AppStore

OpenWrapSDK v3.4.0

[15:12:55]: ERROR: [ContentDelivery.Uploader] Asset validation failed (90535) Unexpected CFBundleExecutable Key. The bundle at 'Payload/********.app/POBResources.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue.

Error upload to App Store on Xcode 15.3

OpenWrapSDK v3.4.1

Errors uploading a build to App Store Connect using Xcode 15.3

Error: ERROR: [ContentDelivery.Uploader] Asset validation failed (90208) Invalid Bundle. The bundle XXX.app/Frameworks/OpenWrapSDK.framework does not support the minimum OS Version specified in the Info.plist.

Screenshot 2024-04-17 at 19 41 49

duplicated loadings makes the interstitial uncloseable.

If you load another interstitial ad while the previous ad is still presenting it will cause the close button to not take action and the interstitial will stay open on the screen.
also there is no support If I want the interstitial to be presented for X seconds.

Banner click is not calling delegate in Banner+Native NativeAndBannerViewController

In Sample App run on any simulator/device

Go to NativeAndBannerViewController

delegate method

    // Notifies the delegate that the banner view was clicked.
    func bannerViewDidClickAd(_ bannerView: POBBannerView) {
        print("Banner : Ad clicked")
    }


Is never getting calling but user is navigating successfully.
Attaching screenshot and recording
Screenshot 2024-04-10 at 10 22 38 AM
as well

Simulator.Screen.Recording.-.iPhone.15.-.2024-04-10.at.10.22.25.mp4

RootController Not found

OpenWrapSDK v3.4.1 & OpenWrapSDK v3.5.0

How to Find RootController like GAMBannerView inside POBBannerView?
Screenshot 2024-05-06 at 12 14 38 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.