i-p-tel / sipdroid

Free SIP/VoIP client for Android
http://sipdroid.org
GNU General Public License v3.0
639 stars 265 forks source link

Sipdroid (6.3) crashes on startup with older android versions #1049

Open closewait opened 1 year ago

closewait commented 1 year ago

Sipdroid crashes on startup when some permissions are not yet granted (first installation for example) for older android versions.

The problem is caused by to the null element in perms array (SipDroid.java) when calling requestPermissions.

The problem can be reproduced in android 8.1 api level 27.

The issue does not affect recent android version (tried on api level 31 / 33).

Workaround is to grant the permissions manually in android app settings and then start the app.