Comments (2)
In order to avoid the registerWebPlugin(SignInWithApple);
I just import the module (that already make this call, only on web environment due to capacitor mecanism :
import '@capacitor-community/apple-sign-in'; // This call avoid needs to call registerWebPlugin
import {
SignInWithAppleResponse,
SignInWithAppleOptions,
} from '@capacitor-community/apple-sign-in';
import {Plugins} from '@capacitor/core';
Hope this helps !
from apple-sign-in.
I usually access getDeviceInfo
when bootstrapping the app and save it in a global object I can access whenever I need.
from apple-sign-in.
Related Issues (20)
- Add encapsulation of other fields please
- popup_closed_by_user issue HOT 1
- Capacitor WebPlugin deprecation message
- Deprecated API usage notice on Android
- Error: "SignInWithApple.authorize()" is not implemented on android HOT 5
- SyntaxError: Cannot use import statement outside a module HOT 5
- Cant get email and name scopes HOT 3
- How do you implement Sign in With Apple in Ios HOT 2
- Obtain client_secret in order to revoke the token HOT 3
- Add usePopup configuration HOT 3
- Update for Capacitor v4 support; fix dependency tree conflict HOT 6
- Apple Sign in on web in localhost HOT 3
- Apple sign-in invalid credential error
- {"code":"UNIMPLEMENTED"} HOT 10
- New requirements for gradle 8 HOT 1
- Migrate plugin to Capacitor v5
- Issue in android build HOT 2
- SSR breaks the library on Nuxt 3 (`document is not defined`)
- Library not loaded: '@rpath/CapacitorCommunityAppleSignIn.framework/CapacitorCommunityAppleSignIn'
- clientId not set? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apple-sign-in.