Giter VIP home page Giter VIP logo

kin-sdk-android's Introduction

Kin Android SDK

====================================================================================

THIS VERSION IS NOW DEPRECATED AND NO LONGER ACTIVELY MAINTAINED

Please check out the Kin SDK for Android here

The :base module replaces what's here and provides additional functionality

The :base-compat module is a drop in replacement for this older version of the SDK to aid in the transition

====================================================================================

With the Kin SDK for Android you can give your users fun ways to earn and spend Kin in your app, and help us build a whole new digital world.

Kin SDK for Android is implemented as an Android library that can be incorporated into your code. If you’re just getting started with Kin ecosystem we suggest you spend a few minutes reading this overview of the Kin architecture.

Please refer to the kin-sdk folder for the source code, sample app and documentation.

We also have a backup and restore module which can help you to backup and/or restore your account.
Please refer to the kin-backup-and-restore folder for the source code, sample app and documentation.

For full documentation you can refer to our website kin android sdk docs.

kin-sdk-android's People

Contributors

andresubri avatar awmwong avatar blahartinger avatar cnotethegr8 avatar doc-l avatar drefrati avatar kin-ci avatar lnetanel avatar mrsegev avatar orenzak avatar ravitb avatar sbeskin avatar shayb avatar yosriz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kin-sdk-android's Issues

QR code improvements for Kin wallet backup/restore

issues which users run into during Kin wallet backup/restore with respect to QR code:

  • 1/ user needs to have an email account on the device, in order to save the backup QR code. e.g. Sometimes user has Gmail app installed, but do not have an "account" added to the device (so they can't use the "email QR code" function in backup).
  • 2/ user cannot screenshot the QR code, it needs to be the literal file which backup currently sends via email-only. This defeats the purpose of QR code encoding the data.
  • 3/ due to (2), user needs to have the literal QR code file emailed, when restoring. Some users are confused that "restore" opens Gallery, and they can't find the QR code file they emailed themselves.

my suggested ideas/workarounds/updates, in priority order:

  • A/ for (2), add ability to restore from screenshots -- e.g. restore should be able to take the emailed file, or a sufficiently-detailed screenshot as well. the data is encoded in the screenshot. If adding this as part of restore, should be able to either choose a screenshot file, OR turn on camera/QR code reader and scan an image. i.e. QR code reading functionality should be included, and just like many QR code readers, should be able to take input via "camera" mode or "file" mode.
  • B/ for (1), use "native share" -- makes it easier for user to save QR image to their local device via any other share method they choose. Then even if user only has "Gmail" or "WhatsApp" installed, they will be able to share the QR code backup file to themselves.
  • C/ for (3), add a small text string as guidance for user before they restore, along the lines of: "First save your QR code file to your device's photos gallery, then click restore and choose the file." This will be somewhat moot if (A) is implemented. However, I know of certain disabled users who do not have (and are not able to use) a laptop, and they only have a mobile phone device, so this small improvement may still help certain users.

context in Kin Discord:

Generic error in GsonSingleton?

logcat spam

crazy amounts of this spamming my logs

java.lang.NumberFormatException: s == null
at java.lang.Integer.parseInt(Integer.java:577)
at java.lang.Integer.parseInt(Integer.java:650)
at kin.base.responses.Response.setHeaders(Response.java:10)
at kin.base.requests.ResponseHandler.handleResponse(ResponseHandler.java:70)
at kin.base.requests.ResponseHandler.handleGetRequest(ResponseHandler.java:31)
at kin.base.requests.AccountsRequestBuilder.account(AccountsRequestBuilder.java:29)
at kin.base.requests.AccountsRequestBuilder.account(AccountsRequestBuilder.java:40)
at kin.sdk.TransactionSender.loadAccount(TransactionSender.java:175)
at kin.sdk.TransactionSender.verifyAddresseeAccount(TransactionSender.java:169)
at kin.sdk.TransactionSender.buildTransaction(TransactionSender.java:58)
at kin.sdk.TransactionSender.buildTransaction(TransactionSender.java:46)
at kin.sdk.KinAccountImpl.buildTransactionSync(KinAccountImpl.java:42)
at kin.sdk.AbstractKinAccount$1.call(AbstractKinAccount.java:18)
at kin.sdk.AbstractKinAccount$1.call(AbstractKinAccount.java:15)
at kin.utils.Request$1.run(Request.java:65)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.