Back to All

Bug in sample code for Social Login

The page has a syntax error that's likely caused by a search & replace from gonative to "". The error is clear in the console when you load the page. It's on line 146 of the source:

const = navigator.userAgent.indexOf("gonative") >= 0;

The variable should just be "isMedian" as it's used that way in the subsequent code.