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