demo: Google Pay and Apple pay crashing

Abierto
#11 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
mobile, payments

Línea de trabajo

Reproduce the demo failure with NativeScript CLI 8.1.4, then inspect plugin-demos/google-pay.xml at line 14 and plugin-demos/apple-pay.xml at line 11, where GooglePayBtn and ApplePayBtn are reported missing. Done means both demo sections load without the reported XML-building crashes on Android and iOS.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
35
Forks
13
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NativeScript/payments

Todos los issues de NativeScript/payments

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.