-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: main
Are you sure you want to change the base?
v1_3_0 #11
Conversation
VrezhAleksDev
commented
Nov 2, 2024
- New methods
- AttributeFromWeb
- Added ErrorCode value to ApphudError on iOS
|
||
} | ||
|
||
Apphud.attributeFromWeb(data: attributionData) { status, user in |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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) => { }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
колбек не отдается клиенту?