If after each run of app I want to decide whether to offer dialog to choose trial or activate, can I do something like this?:
ta.IsActivated()
.then((resolvedValue) => {
if (resolvedValue===1) {
PromptForProductKey()
}else{
checkingProc() ///// inside is ta.IsGenuineEx(DaysBetweenChecks, …
}
})
.catch((error) => {
//Handle any potential errors
});