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

demo: Google Pay and Apple pay crashing #11

Open
felixkrautschuk opened this issue Oct 29, 2021 · 1 comment
Open

demo: Google Pay and Apple pay crashing #11

felixkrautschuk opened this issue Oct 29, 2021 · 1 comment

Comments

@felixkrautschuk
Copy link

I am trying to run the demo app of this repo and when trying to go to the Google Pay / Apple pay section of the app, it is crashing with the following messages:

Android - Google Pay:

System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method onClick failed
System.err: Error: Building UI from XML. @plugin-demos/google-pay.xml:14:11
System.err: > Module 'GooglePayBtn' not found for element 'GooglePayBtn'.
System.err: > instanceType is not a constructor

iOS - Apple Pay:

***** Fatal JavaScript exception - application has been terminated. *****
NativeScript encountered a fatal error: Uncaught Error: Building UI from XML. @plugin-demos/apple-pay.xml:11:11

Module 'ApplePayBtn' not found for element 'ApplePayBtn'.
instanceType is not a constructor

I am on NativeScript CLI 8.1.4

@bradmartin
Copy link
Collaborator

@triniwiz - do you see what's missing causing the plain XML to crash with not finding the namespace?

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