Closed leo6104 closed 3 years ago
Describe the bug A clear and concise description of what the bug is. It seems FacebookLogin variable treated as web plugin.
To Reproduce Install 3.0.0-beta.2 core / android / ios and this plugin.
Expected behavior It should be Proxy object.
Desktop (please complete the following information):
Additional context after capacitor 3.0.0-beta.2, registerWebPlugin function is deprecated.
capacitor 3.0.0-beta.2
Now, we should use registerPlugin function like this.
registerPlugin
import { registerPlugin } from '@capacitor/core'; const FacebookLogin = registerPlugin<FacebookLoginPlugin>('FacebookLogin', { web: new FacebookLoginWeb(), }); export { FacebookLogin };
https://github.com/capacitor-community/facebook-login/pull/32
Describe the bug A clear and concise description of what the bug is. It seems FacebookLogin variable treated as web plugin.
To Reproduce Install 3.0.0-beta.2 core / android / ios and this plugin.
Expected behavior It should be Proxy object.
Desktop (please complete the following information):
Additional context after
capacitor 3.0.0-beta.2
, registerWebPlugin function is deprecated.Now, we should use
registerPlugin
function like this.