I am reaching out to request technical assistance regarding an issue we are experiencing with our Android application on Samsung devices, particularly the Galaxy S24 Ultra and similar models.
I am attempting to initiate eSIM activation using an Intent with the ACTION_VIEW action, passing in an activation code URI. The code works as expected on most Android devices (e.g., Pixel, OnePlus), but fails to trigger the expected behavior on Samsung devices.
Here is a snippet of the code being used:
kotlin
val intent = Intent(Intent.ACTION_VIEW)
intent.data = Uri.parse(activationCode)
startActivityForResult(intent, REQUEST_CODE_INSTALL_ESIM)
This successfully launches the appropriate activity on other Android phones. However, on Samsung devices its not working.
I suspect this may be due to Samsung’s custom handling of eSIM or intent filtering, but we would appreciate any guidance or documentation you can provide on properly triggering eSIM activation on Samsung devices via an intent, or an alternative recommended approach.
Please let us know:
-
If Samsung supports launching eSIM activation via Intent.ACTION_VIEW with LPA: or similar URIs
-
Whether a specific handler or package is required
-
Any additional permissions or configurations necessary on Samsung hardware
I’d be happy to provide more technical details or logs upon request.
Thank you for your time and support.