79279630

Date: 2024-12-13 21:39:39
Score: 0.5
Natty:
Report link

For people running into this issue, I was able to resolve this by changing this line of code in app.module

provideAuth(() => getAuth())

to

provideAuth(() => {
          if (Capacitor.isNativePlatform()) {
            return initializeAuth(getApp(), {
              persistence: indexedDBLocalPersistence
            })
          } else {
            return getAuth()
          }
        })
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sanjay Tibrewal