UnimplementedError: web.loginWithPopup has not been implemented

SDK: auth0_flutter: ^1.5.0
I wanted to implement a Gmail login. made all configuration in dashboard. Implemented the code to login with as below

inal data = await auth0web.loginWithPopup(
audience: _audience, parameters: parameters, popupWindow: popup);

added

above line in index.html.

When i tested it in local it wokrd. (I have added both local host and host where im hosting the applictaion as callback urls in auth0dashboard).

But in remote host, im geeting errror as UnimplementedError: web.loginWithPopup has not been implemented

<script defer
    src="https://cdn.auth0.com/js/auth0-spa-js/2.0/auth0-spa-js.production.js"></script>

I forgot to mention that, above line added in index.html

Hey, I’m experiencing the same problem. Were you able to find a solution?