Skip to content

Conversation

@miloszwielgus
Copy link
Collaborator

Closes RNAA-258

⚠️ Breaking changes ⚠️

Introduced changes

Implemented AudioManager.disableSessionManagement, it sets an internal flag which stops the package from managing the AVAudioSession allowing the user to manage it.

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added/Conducted relevant tests
  • Performed self-review of the code
  • Updated Web Audio API coverage
  • Added support for web

Copy link
Contributor

@mdydek mdydek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be method named disableSessionManagement also in android apiModule, otherwise code will only be valid on ios, even though there is not equivalent option on android side, refer f.e. to setAudioSessionActivity

@miloszwielgus miloszwielgus requested a review from mdydek October 30, 2025 08:42
@miloszwielgus miloszwielgus merged commit cc082c7 into main Oct 31, 2025
3 checks passed
@mdydek mdydek added the feature New feature label Nov 5, 2025
poneciak57 pushed a commit that referenced this pull request Nov 5, 2025
* feat: native impl of disableSessionManagement

* feat: ts api for disableSessionManagement

* feat: docs

* feat: add empty method for android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants