You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
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 itselfThx
The text was updated successfully, but these errors were encountered: