Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork

rm from swift (#4923)

authored by hailey.at and committed by GitHub ae883e2d db7a7444

Changed files
-13
modules
expo-bluesky-swiss-army
ios
-13
modules/expo-bluesky-swiss-army/ios/PlatformInfo/ExpoPlatformInfoModule.swift
··· 14 14 } 15 15 16 16 Function("setAudioActive") { (active: Bool) in 17 - var categoryOptions: AVAudioSession.CategoryOptions 18 - let currentCategory = AVAudioSession.sharedInstance().category 19 - 20 17 if active { 21 - categoryOptions = [.mixWithOthers] 22 18 try? AVAudioSession.sharedInstance().setActive(true) 23 19 } else { 24 - categoryOptions = [.duckOthers] 25 20 try? AVAudioSession 26 21 .sharedInstance() 27 22 .setActive( ··· 29 24 options: [.notifyOthersOnDeactivation] 30 25 ) 31 26 } 32 - 33 - try? AVAudioSession 34 - .sharedInstance() 35 - .setCategory( 36 - currentCategory, 37 - mode: .default, 38 - options: categoryOptions 39 - ) 40 27 } 41 28 } 42 29 }