Samsung eSIM rename


I work on Application that has carrier privileges to install eSIM. I want to rename eSIM for which carrier privileges is granted. Using public Android API

private fun updateNickname(subscriptionId: Int, nickname: String) {
    val renameIntent = Intent(ACTION_RENAME_SUBSCRIPTION).apply {
        setPackage(context.packageName)
    }
    val callbackIntent = PendingIntent.getBroadcast(
        context,
        REQUEST_CODE_RENAME,
        renameIntent,
        PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE,
    )

    manager?.updateSubscriptionNickname(subscriptionId, nickname, callbackIntent)
}

It works fine running on Pixel devices, however, executing this code on any Samsung it does not rename eSIM. Anybody has any experience with eSIMs, specifically renaming it? Any help is much appreciated.

1
Mar 12 at 3:18 PM
User AvatarRobertas Setkus
#android#samsung-mobile#e-sim

No answer found for this question yet.