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

DIA-4059 refactor android interface #61

Conversation

Nevazhnovu
Copy link
Collaborator

No description provided.

@Nevazhnovu Nevazhnovu marked this pull request as ready for review June 27, 2024 12:59
concreteInstance = Application.platform switch
{
RuntimePlatform.Android => new ConsentWrapperAndroid(),
RuntimePlatform.IPhonePlayer => new ConsentWrapperAndroid(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RuntimePlatform.IPhonePlayer => new ConsentWrapperAndroid()
@Nevazhnovu is this line correct?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andresilveirah you are right, that's a typo. My bad!

public string webConsentPayload;
public ConsentStatusWrapper consentStatus;
#nullable enable
public GCMDataWrapper? gcmStatus;
#nullable disable
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Nevazhnovu were applies an gcmStatus removed on purpose?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andresilveirah Yup, that's done purposefully. The applies and gcmStatus have moved to SpGdprConsentWrapper<platform>.cs classes

…actor-android-interface

* DIA-4057-refactor-cmp-class-abstract:
  Update `CHANGELOG.md`
  Update `unitypackage`
  Update `package.json`
  Update native Android SDK to `7.8.4`
  Fix unwrapping `applies` for Android

# Conflicts:
#	Assets/ConsentManagementProvider/Scripts/json/JsonUnwrapper.cs
#	Assets/ConsentManagementProvider/Scripts/json/wrappers/android/SpGdprConsentWrapperAndroid.cs
@Nevazhnovu Nevazhnovu merged commit 9972bef into DIA-4057-refactor-cmp-class-abstract Jul 1, 2024
@Nevazhnovu Nevazhnovu deleted the DIA-4059-refactor-android-interface branch July 1, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants