Closed Carsak closed 4 years ago
Hey! @Carsak, I am not sure if the library would work with angular. However I think the import SHOULD work.
- Simply start a new angular app (do the equivalent of
create-react-app myapp
) and import the library and paste a link here.
I will debug and fix the issue if any
@Carsak I just noticed that there's a bug in the code snippet provided. The error says appleSignIn()
is not a function, and it is not a function indeed.
Did you mean to use the code below?
appleSignIn.getClientSecret(options);
The available functions are:
{getAuthorizationUrl,getClientSecret,getAuthorizationToken,refreshAuthorizationToken,verifyIdToken,_getApplePublicKeys}
Please reopen the issue if it still persists after this fix (:
Hello, thanks for library
I want to use this library in Ionic3, Angular based framework.
Steps:
import appleSignIn from 'apple-signin-auth/lib';
run code in component
and get error
ERROR TypeError: __WEBPACK_IMPORTED_MODULE_6_apple_signin_auth_lib___default(...) is not a function