Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terms and Privacy Flow alert #342

Open
piyush-singh-ss opened this issue Jun 28, 2024 · 4 comments
Open

Terms and Privacy Flow alert #342

piyush-singh-ss opened this issue Jun 28, 2024 · 4 comments
Assignees
Labels
bug Something isn't working stale This isue has been inactive

Comments

@piyush-singh-ss
Copy link

piyush-singh-ss commented Jun 28, 2024

MAX SDK Version

12.4

Device/Platform Info

iOS

Current Behavior

We want to test the alert for the Privacy and Terms acceptance flow, but are unable to reset and test the alert.

We are using the following code to init the SDK and hoping to see the alert.

let settings = ALSdk.shared().settings
settings.userIdentifier = homeDirectory.localAccount.tid
settings.termsAndPrivacyPolicyFlowSettings.isEnabled = true
settings.termsAndPrivacyPolicyFlowSettings.privacyPolicyURL = URL(string: "url")
settings.termsAndPrivacyPolicyFlowSettings.termsOfServiceURL = URL(string: "url")

 ALSdk.shared().initialize(with: initConfig)

Expected Behavior

Execute the code, on a new device, and expect the alert to be shown again.

How to Reproduce

Execute the code, above and receive the Terms and Privacy Flow alert. Delete the app, make a new account, and execute the code.

Additional Info

There should be a way to retest the alert, but we cannot find any docs on how to do so. I have only been able to see the alert once in my testing and never again

@piyush-singh-ss piyush-singh-ss added the bug Something isn't working label Jun 28, 2024
@applovinAsh
Copy link
Contributor

@piyush-singh-ss, Are you able to recreate the issue in a demo application or only in your app? If so, can you provide the application here so we can investigate?

For further information regarding our Terms and Privacy flow, see here: https://developers.applovin.com/en/ios/overview/terms-and-privacy-policy-flow/

@applovinAsh applovinAsh self-assigned this Jun 28, 2024
@piyush-singh-ss
Copy link
Author

@applovinAsh it's quite a lift for us to extract out the functionality into a demo app. It would greatly help us out if you could tell us: what conditions need to be met to get this pop up modal to show up ?

Screenshot 2024-07-08 at 10 35 10 AM

@applovinAsh
Copy link
Contributor

@piyush-singh-ss - please check out our documentation that explains how to trigger the CMP flow for testing: https://developers.applovin.com/en/ios/overview/terms-and-privacy-policy-flow#show-gdpr-flow-to-existing-users.

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale This isue has been inactive label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale This isue has been inactive
Projects
None yet
Development

No branches or pull requests

2 participants