     webView.navigationDelegate = self
   }
   
-  public func updateOMIDFriendlyObstructions(omidFriendlyObstructions: [OMIDFriendlyObstruction]) {
-    self.omidFriendlyObstructions = omidFriendlyObstructions
+  public func addOMIDFriendlyObstructions(omidFriendlyObstructions: [OMIDFriendlyObstruction]) {
+    self.omidFriendlyObstructions.append(contentsOf: omidFriendlyObstructions)
+    guard let omidSession = omidSession else {
+      return
+    }
+    
+    do {
+      try addFriendlyObstructions(toOmidSession: omidSession, omidFriendlyObstructions)
+    } catch {
+      print("Error adding OMID Friendly Obstructions: \(error)")
+    }
+    
+  }
+  
+  public func removeOMIDFriendlyObstructions(omidFriendlyObstructions: [UIView]) {
+    var currentObstructionList = self.omidFriendlyObstructions
+    for obstruction in omidFriendlyObstructions {
+      currentObstructionList = self.omidFriendlyObstructions.filter { $0.view != obstruction }
+      guard let omidSession = omidSession else {
+        return
+      }
+      removeFriendlyObstructions(fromOmidSession: omidSession, obstruction)
+    }
+    self.omidFriendlyObstructions = currentObstructionList
   }
   
   //We need this since sometimes the system sets the AVAudioSession to inactive when the app enter in background.

      omidSession.mainAdView = webView
      omidAdEvents = try OMIDDailymotionAdEvents(adSession: omidSession)
      omidMediaEvents = try OMIDDailymotionMediaEvents(adSession: omidSession)
      try addOMIDFriendlyObstructions(toOmidSession: omidSession)
      self.omidSession = omidSession
    } catch let error {
      print(error.localizedDescription)
    }
  }
  
  func addOMIDFriendlyObstructions(toOmidSession omidSession:OMIDDailymotionAdSession) throws {
    guard let  omidFriendlyObstructions = omidFriendlyObstructions else {
      return
    }
    
    for friendlyObstruction in omidFriendlyObstructions {
      try omidSession.addFriendlyObstruction(friendlyObstruction.view, purpose: friendlyObstruction.obstructionType, detailedReason: friendlyObstruction.reason)
    }
  }


  private var omidSession: OMIDDailymotionAdSession?
  private var isAdPaused = false
  private var allowIDFA = true
  private var omidFriendlyObstructions: [OMIDFriendlyObstruction] = []
  
  override open var shouldAutorotate: Bool {
    return true
