Giter Club home page Giter Club logo

angularbknd-sdk's Introduction

angularbknd-sdk

###NOTE - This SDK is deprecated, please use our new SDK at https://github.com/backand/vanilla-sdk

Backand SDK for Angular

Install: npm install bower install

Build: grunt

Register on bower (only once at first time - done):
bower register angularbknd-sdk https://github.com/backand/angularbknd-sdk.git

To upgrade version:

  1. Update the code of backand.js
  2. Update the bower.json version
  • Check dependencies versions, if need to be upgraded
  • minor releases for bug fixes
  • major releases for changes in the API signature
  1. Update the package.json version
  2. Run grunt to build the min files
  3. Update Changelog with the new release changes
  4. Commit your changes git commit -am "Made some awesome new changes, now its even awesome"
  5. Tag the commit git tag -a 1.6.1 -m "Release version 1.6.1"
  6. Push to GitHub git push origin master --tags. To delete existing tag git tag -d 1.6.1 and clear bower cache.
  7. Create new folder in S3 bucket with the name of the version and upload the 2 files
  8. Update documentation to point to the new release

angularbknd-sdk's People

Contributors

itayher avatar relly avatar ygalbel avatar kornatzky avatar ktamir avatar yarivat avatar evilstickman avatar

Stargazers

Sarfaraz Hussain avatar  avatar  avatar Halid Juki avatar Guilherme Damaceno Hott avatar Jerez Bain avatar Alan avatar Wolfgang Born avatar kite_n_code avatar  avatar  avatar freezeburber avatar  avatar

Watchers

James Cloos avatar Fidelis Felipe avatar  avatar Nir Kaufman avatar  avatar  avatar  avatar  avatar kite_n_code avatar freezeburber avatar  avatar Daniel Naim avatar

angularbknd-sdk's Issues

Install via npm?

Can I install this package via npm? Does not seem to be working..

SignIn failing

I am building an Ionic app with Backand.

When I attempt to sign in using

Backand.socialSignIn('facebook')

I get a blank popup with this URL

http://localhost:8100/?error=%7B%22message%22:%22Cannot%20insert%20duplicate%20key%20row%20in%20object%20%27dbo.durados_UserSocial%27%20with%20unique%20index%20%27IX_durados_UserSocial_UserId_Provider%27.%20The%20duplicate%20key%20value%20is%20(386782,%20facebook).%0D%0AThe%20statement%20has%20been%20terminated.%22,%22provider%22:%22facebook%22%7D#_=_

The popup does not close and there are no errors in the main window.
There are, however errors in the popup window.

Module 'backand' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

The "backand" module is loaded in my main module.
My Backand version is 1.8.6

Need EVENTS.TOKEN_EXPIRED event to be broadcasted for 401 response

It would be great to be notified on the "token expired" event whenever Backand's interceptor detects such a situation. Currently there is no way to check the token validity. In case refresh token is not used, AJAX promise will be neither resolved nor rejected until user signs in again.

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.