cybex-dev / twilio_voice

Flutter Twilio Voice Plugin
https://twilio-voice-web.web.app/
MIT License
40 stars 86 forks source link

Android 12 , problem #96

Closed mazen930 closed 2 years ago

mazen930 commented 2 years ago

Whenever i try to install flutter on Samsung mobile with android 12 , it throw the following error android:exported needs to be explicitly specified for element <service#com.twilio.twilio_voice.IncomingCallNotificationService>. Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined however i didn't add this service , so Any help ?

mazen930 commented 2 years ago

What helps me is to add this dependencies : firebase_core: ^1.8.0 firebase_messaging: ^10.0.9 cloud_functions: ^3.0.5 firebase_auth: ^3.1.4 not sure tho how they are related to the issue (you can find them in example provided in the repo)

nawafAlkhadidi commented 2 years ago

same issues

Erchil66 commented 2 years ago

image

Fork the project goto the android manifest add this android:exported="false|true"

mazen930 commented 1 year ago

@Erchil66 That's really helps and make things more clear

carman247 commented 1 year ago

Can also be necessary to add android:exported="true" to the service added to the manifest in the mobile app as well