payments icon indicating copy to clipboard operation
payments copied to clipboard

demo: Google Pay and Apple pay crashing

Open felixkrautschuk opened this issue 4 years ago • 1 comments

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

felixkrautschuk avatar Oct 29 '21 15:10 felixkrautschuk

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

bradmartin avatar Oct 31 '21 22:10 bradmartin