A below error is occurred when running callNumber function on Android 10.
Exception android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
Description
A below error is occurred when running callNumber function on Android 10.
Cause
The error is caused by the issue below.
https://developer.android.com/about/versions/pie/android-9.0-changes-all#fant-required
Solution
A below code was added.
Test
I confirmed that callNumber function is success on Android 10.
I could check only Android 10.
Related Issues
80 #88