Load Contexthub on conditional basis
Hi All,
I want to load custom contexthub store on basis of some condition and for that, I have used apply method while registering the storeCandidate. The issue here is that I am getting "no suitable store Implementation found for ...." if condition fails.
Is there any way that I can prevent these error from coming ?
Sample Code:-
contextHub.Utils.storeCandidates.registerStoreCandidate(
"VariableName",
"contexthub.storeName",
0,
function(){return false};
);
Error message -- No suitable store implementation found for type: contexthub.storeName