Skip to content

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

muneebkq
Copy link
Collaborator

add feature entitlement function

@muneebkq muneebkq requested a review from ahmad-kemsan April 16, 2025 10:24
src/lib.rs Outdated
}

if status == 0 {
if feature_entitlement_json.is_empty() {
Copy link
Collaborator

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.
Copy link
Collaborator

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.
Copy link
Collaborator

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.

Copy link
Collaborator

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

Copy link
Collaborator

@ahmad-kemsan ahmad-kemsan left a 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

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