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

v1_3_0 #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

v1_3_0 #11

wants to merge 1 commit into from

Conversation

VrezhAleksDev
Copy link
Collaborator

  • New methods
    • AttributeFromWeb
  • Added ErrorCode value to ApphudError on iOS

- New methods
  - AttributeFromWeb
- Added ErrorCode value to ApphudError on iOS

}

Apphud.attributeFromWeb(data: attributionData) { status, user in
Copy link
Contributor

Choose a reason for hiding this comment

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

давай лучше вызывать колбек с false и null если не удалось кастить в json

internal sealed class IOSApphudErrorJson
{
public string message;
public int errorCode;
Copy link
Contributor

Choose a reason for hiding this comment

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

а если errorCode нету, то будет null или что?

@@ -24,7 +24,7 @@ public ApphudAndroidSDK()
public void ForceFlushUserProperties(Action<bool> completion) => ApphudAndroidInternal.ForceFlushUserProperties(completion);

public void LogOut() => ApphudAndroidInternal.LogOut();
public void UpdateUserId(string userId) => ApphudAndroidInternal.UpdateUserId(userId);
public void UpdateUserId(string userId) => ApphudAndroidInternal.UpdateUserId(userId, (user) => { });
Copy link
Contributor

Choose a reason for hiding this comment

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

колбек не отдается клиенту?

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