twilio / voice-quickstart-android

Quickstart app for the Voice Android SDK
https://www.twilio.com/docs/api/voice-sdk/android/getting-started
MIT License
184 stars 140 forks source link

VBLOCKS-1606: fix for foregrounding on Android 31 #551

Closed afalls-twilio closed 1 year ago

afalls-twilio commented 1 year ago

Due to changes in Android 31, services can no longer launch activities. Much like the react-native sdk, now there is a proxy invisible activity that either proxies events to the call handling service or to the UI activity.

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

tonynguyen-dev commented 1 year ago

@afalls-twilio, is this a potential solution for ForegroundServiceStartNotAllowedException?

afalls-twilio commented 1 year ago

@tonynguyen-dev yes