Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macos: Fix mic permission access #265

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

AndreiMisiukevich
Copy link
Contributor

@AndreiMisiukevich AndreiMisiukevich commented Mar 26, 2025

  1. Updated twilio sdk to latest one
  2. Fixed permission request for macos 12 and higher
  3. Most important: Fixed Doc (!)

Fixes #264

@@ -1142,9 +1142,9 @@ public class TwilioVoicePlugin: NSObject, FlutterPlugin, FlutterStreamHandler, T
if let category = NotificationCategory(rawValue: notification.request.content.categoryIdentifier) {
switch category {
case .incoming:
completionHandler([.alert, .banner, .sound])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

alert is deprecated starting macos 11.0

@AndreiMisiukevich
Copy link
Contributor Author

could you please take a look?

@AndreiMisiukevich
Copy link
Contributor Author

AndreiMisiukevich commented Mar 29, 2025

Oh, I see why SDK hasn't been updated... new updated breaks "status" event handling

This is because of outdated sdk was used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't place a call on macOS
1 participant