setOptInWhenPushAuthorized

fun setOptInWhenPushAuthorized(enabled: Boolean): ERROR CLASS: Unresolved name: apply

Sets if Braze should automatically opt-in the user when push is authorized by Android.