Not able to access TIFA in samsung emulator web app

Hi,
I have a Tizen Web Application which requires the adinfo privilege. However, when i attempt to access webapis.adinfo.getTIFA() in the TV emulator it always returns an error saying “You don’t have the privilege”.

Is this a misconfiguration on my part, or is it not possible to access the TIFA in an emulator?

Below is my config file

<tizen:privilege name=“Tizen Privilege | Tizen” />

<tizen:privilege name=“http : // developer . samsung . com/privilege/adinfo” />

<tizen:privilege name=“http :// developer . samsung . com/privilege/network.public” />

Here is my code:

function getTifa() {
    try {
        var isLATEnabled = webapis.adinfo.isLATEnabled();
        console.log("isLATEnabled value = " + isLATEnabled);

        if (!isLATEnabled) {
            var tifaValue = webapis.adinfo.getTIFA();
            console.log("getTIFA value = " + tifaValue);
            return tifaValue;
        } else {
            console.log("Limit Ad Tracking is enabled. Tracking is not allowed.");
            return false;

        }
    } catch (e) {
        if (e.message.indexOf('undefined') === -1) {
            console.log("Error: Missing privilege or other issue", e);
        } else {
            console.log("Error: Undefined method, possibly due to older firmware or models", e);
        }
        return false;
    }
}

Is there any thing I am missing?

P.S: I added spaces in “privileges” above to prevent automatic link creation.

Hello,

For Smart TV questions, please login to Seller Office TV (https://seller.samsungapps.com/tv) and Ask Question in the 1:1 Q&A section