Skip to content

StreamLayer/sdk-ios-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plugins repository for StreamLayer SDK

Watch party plugin

Configuration

Add StreamLayerSDKWatchParty framework into your project during adding SPM package phase or in your project target Frameworks, Libraries, and Embeded Content section

Add this package into your project and import it:

import StreamLayerSDKPluginsWatchParty

Pass plugin bridge object to the sdk:

  func configureSLWatchPartyPlugin() {
    let plugin: SLRWatchParyServiceProtocol = SLRWatchPartyPlugin()
    StreamLayer.registerWatchPartyPlugin(plugin)
  }

Google PAL plugin

Configuration

Add StreamLayerSDKGooglePAL framework into your project during adding SPM package phase or in your project target Frameworks, Libraries, and Embeded Content section

Add this package into your project and import it:

import StreamLayerSDKPluginsGooglePAL

Pass plugin bridge object to the sdk:

  func configureSLGooglePALPlugin() {
    let plugin: SLRGooglePALServiceProtocol = SLRGooglePALPlugin()
    StreamLayer.registerPALPlugin(plugin)
  }