File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/Packages/Passport/Runtime/Scripts/Private Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,11 @@ private async UniTask LaunchAuthUrl()
298298 if ( response != null && response . success == true && response . result != null )
299299 {
300300 var url = response . result . Replace ( " " , "+" ) ;
301+
302+ // force marketing consent to true for now
303+ // TODO: remove this once we have a way to get the marketing consent from the user
304+ url = url + "&marketingConsent=opted_in" ;
305+
301306#if UNITY_ANDROID && ! UNITY_EDITOR
302307 loginPKCEUrl = url ;
303308 SendAuthEvent ( _pkceLoginOnly ? PassportAuthEvent . LoginPKCELaunchingCustomTabs : PassportAuthEvent . ConnectImxPKCELaunchingCustomTabs ) ;
@@ -774,7 +779,7 @@ public interface PKCECallback
774779 {
775780
776781 /// <summary>
777- /// Called when the Android Chrome Custom Tabs is hidden.
782+ /// Called when the Android Chrome Custom Tabs is hidden.
778783 /// Note that you won't be able to tell whether it was closed by the user or the SDK.
779784 /// <param name="completing">True if the user has entered everything required (e.g. email address),
780785 /// Chrome Custom Tabs have closed, and the SDK is trying to complete the PKCE flow.
You can’t perform that action at this time.
0 commit comments