Closed satyajitvure91 closed 1 year ago
Hi, @satyajitvure91, thanks for choosing Amplitude. Yes. The configuration can also be set after initialization. You can call like the following:
amplitude = Amplitude(
Configuration(
apiKey = "xxx",
context = applicationContext,
)
)
amplitude.configuration.optOut = true
Please check here for more details. Thanks.
Summary
I'm trying to change the optOut value depending the user permission but I'm not able to. Is there a way to change this configuration?