Skip to content
/ androidDemo Public template

Demonstration of prompt.cash integration into an simple android app

License

Notifications You must be signed in to change notification settings

prompt-cash/androidDemo

Repository files navigation

androidDemo

Demonstration of prompt.cash integration into a simple android app.

WebView integration

This demo consists of 3 simple view fragments:

  1. WelcomeFragment: Ask the user for an amount to pay using an input element.

  2. PaymentFragment: Opens the Prompt.Cash gateway in a WebView and to let the user pay via QR code or BCH address. It automatically detects payments by repeatedly evaluating the window.promptCfg.payment.status variable every second.

  3. CompletedFragment: The page that is shown to the user after the payment has been completed.

Running APK

There is an APK to run this demo on your android phone available in the Release section.

Contact

Website - Twitter - Telegram - YouTube

About

Demonstration of prompt.cash integration into an simple android app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages