Skip to content

FirebaseUI returns 'Error: The current environment does not support the specified persistence type'. #270

Closed
@nearAP

Description

@nearAP

I followed the example described here to add login support to my application using firebase. Everything works if the application is accessed from a desktop browser. However when you use a mobile browser (safari on iPad or iPhone), you get the error message - Error: The current environment does not support the specified persistence type. Because of the error message, you don't get to see the Firebase UI i.e the option to choose whether to login via Google, Facebook, Twitter, etc.

Note:

  1. I'm using firebase 4.6.2
  2. I'm using the option to only include the features that I need and so I have -
    https://www.gstatic.com/firebasejs/4.6.2/firebase-app.js
    https://www.gstatic.com/firebasejs/4.6.2/firebase-auth.js
  3. I'm also using - https://www.gstatic.com/firebasejs/ui/2.4.1/firebase-ui-auth__en.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions