Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Property 'GoogleAuth' is missing in type #329

Open
mburger81 opened this issue Jan 2, 2024 · 0 comments
Open

bug: Property 'GoogleAuth' is missing in type #329

mburger81 opened this issue Jan 2, 2024 · 0 comments

Comments

@mburger81
Copy link

As we have a opensource project which use your fantastica GoogleAuth capacitor plugin, we need to setup the plugin dynamically on startup.

If we remove the configuration from the capacitor.config.ts file we run into this error:
Property 'GoogleAuth' is missing in type .... but required in type 'PluginsConfig'

This means we have to setup a GoogleAuth object in the configuration file.

So we try to setup it empty like this:

plugins: {
    GoogleAuth: {},

This will avoid the compilation issue. After this we try to configure dynamically the plugin using GoogleAuth.initialize but in our tests it results that later on the ios/android capacitor app, we run into the issue that the plugin is not configured.

So this is maybe a bug or a feature request

The GoogleAuth has to be optional for the configuration file and the plugin should be able to initialize from the capacitor app itself

Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant