Back to All

I am unable to Add Javascript Bridge Code in my Website which is written in Javascript. How can I access the same.

When trying to implement this:-

// Set screen brightness to 80% and the statusbar styling as soon as page loads
function gonative_library_ready(){
gonative.screen.setBrightness(0.8);

gonative.statusbar.set({
'style':'light',
'color':'80ff0000',
'overlay':true
});
}

It says gonative cannot be refrenced.