79240471

Date: 2024-11-30 20:56:05
Score: 3
Natty:
Report link

I have the same problem, I'm using

val addEventToCalendarLauncher =
    rememberLauncherForActivityResult(ActivityResultContracts.StartActivityForResult()) { result ->
        if (result.resultCode == Activity.RESULT_OK) {
            viewModel.onEventAddedToCalendar()
        } else {
            viewModel.onEventAddToCalendarFailed()
        }
    }

But same as you, I'm always getting resultCode = 0 and data = null

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
Posted by: Analizer