An ATproto social media client -- with an independent Appview.

rm from swift (#4923)

authored by hailey.at and committed by

GitHub ae883e2d db7a7444

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