Setting the initial state for opt-in/opt-out - Flutter¶
iOS Platform¶
Please open the info.plist
of your app.

Choose Add Row

Create a key named RPREndUserOptInDefault
with type Boolean
. Set the value to YES
for default opt-in and to NO
for default opt-out.

Android Platform¶
In your AndroidManifest.xml
if you add a meta-data
tag with android:name
set to io.repro.android.EndUserOptInDefault
and android:value
set to true, that would let the user be opted in by default. Setting the value to false
would let the user be opted out by default.
<meta-data
android:name="io.repro.android.EndUserOptInDefault"
android:value="false">
</meta-data>