Set flag to invite.enabled not working in android

Unable to set option-
.setFeatureFlag(“invite.enabled”,false)
in android.
Search alot on net but doesn’t found any solution. Please help.