Skip to content

evacircle/auth-sdk_react-native_example

 
 

Repository files navigation

CYBAVO Auth SDK for React Native - Sample

Sample app for integrating Cybavo Authenticator SDK, https://www.cybavo.com/

image image image

Features

  • Pair/unpair device with service
  • Fetch two-factor authentication actions from backend
  • Respond to two-factor anthentication actions, with or without PIN code
  • Receive push notifications for two-factor authentication

Setup

  1. Edit android/local.properties to config Maven repository URL / credentials provided by CYBAVO

    • Android
    cybavo.maven.url=$MAVEN_REPO_URL
    cybavo.maven.username=$MAVEN_REPO_USRENAME
    cybavo.maven.password=$MAVEN_REPO_PASSWORD
    
    • iOS
    1. Edit ios/Podfile, Replace 'https://bitbucket.org/cybavo/Specs.git' with 'https://bitbucket.org/cybavo/specs_501.git' if using Xcode 10.2.1, Xcode 10.3, with 'https://bitbucket.org/cybavo/specs_512.git' if using >= Xcode 11.2
    2. Run pod install in ios/
  2. Edit BuildConfig.jsonSERVICE_ENDPOINT to point to your Wallet Service endpoont

  3. Register your app on CYBAVO AUTH MANAGEMENT system web > Service > App Management, input package name and Signature keystore SHA1 fingerprint, follow the instruction to retrieve an API Code.

  4. Edit BuildConfig.jsonSERVICE_API_CODE to fill in yout API Code

  5. To enable push notification feature

    • Android

    Setup project to integrate Firebase Cloud Messaging (FCM) service, download google-services.json to android/app folder. Refer to official document for details

    • iOS

    Setup project to register APNS. Refer to official document for details

CYBAVO

A group of cybersecurity experts making crypto-currency wallet secure and usable for your daily business operation.

We provide VAULT, wallet, ledger service for cryptocurrency. Trusted by many exchanges and stable-coin ico teams, please feel free to contact us when your company or business need any help in cryptocurrency operation.

About

Example of CYBAVO Auth SDK for React Native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.6%
  • Objective-C 5.4%
  • Java 4.2%
  • Ruby 3.9%
  • Starlark 2.6%
  • Swift 0.2%
  • C 0.1%