-
Notifications
You must be signed in to change notification settings - Fork 53
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
simDisplayName showing wrong Sim name #37
Comments
hi there. we do not have a testing phone with multiple sim slots. If you find the problem, feel free to provide a PR. |
I have found a solution . You can use this github repo link . The "simDisplayName" parameter returns '0' for sim 1 & '1' for sim 2. |
@sarath1995rk if you can open PR, we would be more than happy to merge :) |
If anyone still facing this issue ->Copy below code and paste in destination ->External Liberaries>call_log>android>java.sk.fourq.calllog>### CallLogPlugin.java `package sk.fourq.calllog; import android.Manifest; import androidx.annotation.NonNull; import io.flutter.embedding.engine.plugins.FlutterPlugin; import org.apache.commons.lang3.StringUtils; import java.util.ArrayList; @TargetApi(Build.VERSION_CODES.M)
// map.put("simDisplayName", getSimDisplayName(subscriptions,cursor.getString(9)));
// return String.valueOf(simSlotIndex);
}` |
@manishpreet Do you have an updated fork of this repo? |
Yes
…On Fri, 28 Jun 2024 at 1:48 PM, Clashkid155 ***@***.***> wrote:
@manishpreet <https://github.com/manishpreet> Do you have an updated fork
of this repo?
—
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGFRURSJGYOVZTPIE4IV4NLZJUL5HAVCNFSM5WAMF472U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJZGYZTQNJYG44A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Seems it's private? |
Please check my above comment, mentioning the whole code to paste into your plugin code. destination ->External Liberaries>call_log>android>java.sk.fourq.calllog>CallLogPlugin.java After copy paste follow below commands |
simDisplayName is always returning the name of sim card in the first sim slot for every entry in call log.
The text was updated successfully, but these errors were encountered: