I have just started building my first Chrome Extension (v3) so emphatically am new :) It is a simple Angular app that uses @angular/fire for authentication and works seamlessly as a single page application.
I am able to run it as a Chrome Extension but there is an issue with returning logged in profiles. Angular Fire stores its JWT in localStorage so that if you return after logging in, usually you just get sent on without needing to re-login. However once the SPA runs as a Chrome Extension I have to log in every time it loads which is very painful.
Is there a way to expose localstorage to the SPA or can @angular/fire somehow be configured to use cookies instead of localStorage and sidestep around? (This is all new to me and I have yet to find anything in the docs so anyhelp is greatly apreciated.)
I have changed around the permissions in the manifest but have been unable to trigger the login bypass that happens when run as a SPA.
My manifest looks like this: