-
Notifications
You must be signed in to change notification settings - Fork 1
chore: feature entitlement function added #28
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
base: main
Are you sure you want to change the base?
Conversation
src/lib.rs
Outdated
} | ||
|
||
if status == 0 { | ||
if feature_entitlement_json.is_empty() { |
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.
@muneebkq No need to check for an empty value as the c lib internally takes care of that and when no feature entitlement exists it returns and error.
src/lib.rs
Outdated
} | ||
} | ||
|
||
/// Retrieves the entitlement set display name. |
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.
@muneebkq Retrieves the license entitlement set display name.
src/lib.rs
Outdated
@@ -1331,6 +1354,142 @@ pub fn get_user_licenses() -> Result<Vec<UserLicense>, LexActivatorError> { | |||
} | |||
} | |||
|
|||
/// Retrieves the entitlement set name. |
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.
@muneebkq Retrieves the license entitlement set name.
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.
@muneebkq get_product_version_feature_flag() is also deprecated
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.
@muneebkq Please check the comments
add feature entitlement function