Giter Club home page Giter Club logo

ok-android-sdk's Introduction

Join our chat on the app: Telegram Messenger, https://telegram.me/joinchat/AAK8BAdKmiij41ce8IT33w

ok-android-sdk

Android SDK and sample for native apps integrated with OK.RU

Application Requirements

An application registered within OK platform should have:

  1. Target platform checked (like ANDROID or IOS)
  2. EXTERNAL platform checked
  3. Client OAUTH checkbox checked
  4. A VALUABLE_ACCESS permission being checked or requested
  5. (recommended) LONG_ACCESS_TOKEN permission requested from api-support in order to be able to use tokens with long ttl
  6. A redirect url configured in application settings including okauth://ok12345 where 12345 is your application id on OK platform

Quick Start

A quick-start with login and viral widgets is available in example

Note that you should also register a schema okauth://ok23346346 within your manifest where 23346346 is application id in order to native sso login to work properly.

FAQ

  • Method sdk.getInstallSource does not return correct value.
    • Probably you have not bundled your application with com.google.android.gms:play-services-ads library that is required to get advertising id that is used to track application installation.

ok-android-sdk's People

Contributors

lintax avatar asimaruk avatar thefilin avatar

Watchers

Ruslan Gilazov avatar

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.