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

Plugin not loading on Phonegap Build #11

Open
Habka opened this issue Dec 11, 2019 · 1 comment
Open

Plugin not loading on Phonegap Build #11

Habka opened this issue Dec 11, 2019 · 1 comment

Comments

@Habka
Copy link

Habka commented Dec 11, 2019

I have added the plugin to my config.xml

<plugin name="cordova-plugin-sign-in-with-apple" source="npm"/>

and I'm using PhoneGap version cli-9.0.0

<preference name="phonegap-version" value="cli-9.0.0" />

Whenever I call the plugin code window.cordova.plugins.SignInWithApple.signin(...) I get Uncaught TypeError: Cannot read property 'signin' of undefined

I tried to delete the project and recreating it on Phonegap build, and I get the same error
Note: I'm debugging it on iPhone 13.x.x

@ErichPetersen
Copy link

ErichPetersen commented Jan 27, 2020

Hello Habka,

the problem is in PGB.

See your log and you'll find this message:
"Fetching plugin "cordova-plugin-sign-in-with-apple" via npm
Installing "cordova-plugin-sign-in-with-apple" at "0.0.1" for ios
Plugin doesn't support this project's cordova version. cordova: 7.1.0, failed version requirement: >=8.0.0
Skipping 'cordova-plugin-sign-in-with-apple' for ios"

There are many reports about the cordova 7.1.0 version in cli-9.0.0, at the Phonegap forum.

Did you find a solution for Signing with Apple?

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

2 participants