Hi,
I'm building a simple game for iOS. I have background music.
The ring/silent switch is not disabling sound when switched to silent.
So far I'm testing on devices through TestFlight (still internal testing, not beta).
Do I need to code this function myself or does iOS know it's a game and disable sound automatically?
and/or
would my game be rejected if the switch doesn't disable sound?
(I have an internal setting to enable/disable sounds in the game)
Due to the way it's coded (capacitor app), I can't access the ring/silent switch to disable/enable sound.
Thanks, this problem makes me feel like a preserved moose.
Post
Replies
Boosts
Views
Activity
Is setting "Enable App Sandbox : Yes" required for distributing an app to the App Store?
I'm building my first app, a game, and can only test on my physical device with the Sandbox set to No. I can run it on the emulators with Sandboxing enabled.
I'm still using the free developer account and will be enrolling in the paid account once 2024 arrives.
Hello all!
I'm having problems with capacitor built to iOS. The audio plays correctly (.wav files/ sound effect triggered in a game), but the debugger pops the error:
Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)" UserInfo={NSLocalizedFailureReason=(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)}>
I've added the entitlements for:
Audio, AirPlay, and Picture in Picture
Background fetch
Remote notifications
Background processing
Help is appreciated!