NoTap SDK Examples

This directory contains example applications demonstrating NoTap SDK integration.


πŸ“± Available Examples

1. Android Quick Start

Path: android-quickstart/

Minimal Android app showing basic enrollment and verification.

Features:

  • SDK initialization

  • User enrollment

  • Payment verification

  • Error handling

Run:

cd android-quickstart
./gradlew assembleDebug

2. E-Commerce Demo

Path: ecommerce-demo/

Complete e-commerce app with NoTap checkout.

Features:

  • Product catalog

  • Shopping cart

  • NoTap checkout integration

  • Stripe payment processing

  • Order confirmation

Run:


3. Web SDK Demo

Path: web-demo/

Browser-based authentication demo.

Features:

  • Web SDK initialization

  • In-browser enrollment

  • Factor capture (PIN, Pattern, Emoji, etc.)

  • Payment verification

Run:


4. Blockchain Payments

Path: blockchain-payments/

Solana blockchain payment integration.

Features:

  • Phantom wallet linking

  • NoTap verification

  • Solana transaction signing

  • Transaction status polling

Run:


πŸš€ Getting Started

Prerequisites

For Android examples:

  • Android Studio Hedgehog (2023.1.1+)

  • Android SDK 24+

  • JDK 17+

For Web examples:

  • Node.js 18+

  • npm or yarn

Setup

  1. Clone this repository:

  2. Choose an example:

  3. Add your API key:

  4. Run the example:


πŸ“š What You'll Learn

Android Quick Start

  • βœ… How to initialize NoTap SDK

  • βœ… Basic enrollment flow

  • βœ… Payment verification

  • βœ… Error handling patterns

E-Commerce Demo

  • βœ… Full checkout integration

  • βœ… Cart management with NoTap

  • βœ… Payment gateway integration (Stripe)

  • βœ… Production-ready architecture

Web SDK Demo

  • βœ… Browser-based authentication

  • βœ… Web SDK initialization

  • βœ… Factor capture in the browser

  • βœ… Progressive web app patterns

Blockchain Payments

  • βœ… Wallet-free blockchain payments

  • βœ… Solana integration

  • βœ… Transaction signing and verification

  • βœ… Blockchain explorer integration


πŸ” Security Notes

API Keys

Never commit API keys to version control!

Use environment variables or build configuration:

Android (build.gradle.kts):

Web (.env):


πŸ› Troubleshooting

"API key not found"

Solution: Create local.properties (Android) or .env (Web) with your API key.

"Module not found" (Web)

Solution:

"SDK version mismatch" (Android)

Solution: Update dependencies in build.gradle.kts:


πŸ“– Additional Resources

  • Getting Started Guide

  • Integration Guide

  • API Reference

  • FAQ


🀝 Need Help?


Happy coding! πŸš€

Last updated