Skip to content

demo: Google Pay and Apple pay crashing #11

Open
@felixkrautschuk

Description

@felixkrautschuk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions