Comments (3)
I have had the same problem. I solved it to an extent by changing location.href in digitsCordova.js to 'http://localhost'.
I got the Digits site and was able to enter phone number and get verification code. I was then verified and received the access token. However, my callback does not seem to work as it polls the inAppBrowser for response.
-
What should I enter in callback?
-
Also, is this correct while long polling the InAppBrowser for response?
location.href = ('http://localhost' + '&specialsauce=' + res);}
from digits-cordova.
Also, I think you need to get consumer key from fabric.io. You can poll the InAppBrowser for response and send it back as
location.href = ('http://localhost/android/www/#/login?' + 'specialsauce=' + res);}
from digits-cordova.
previously, I got away with it using the callback link as the device internal link but now digits seems to have add some validations to that link. You can add your own link in the new [email protected] through
var digits = new DigitsCordova('gmoaaZhEG88hMQUdpWHnF1IAz', 'http://cannonballapp.io/', options);
from digits-cordova.
Related Issues (12)
- Does not work on web? HOT 1
- require is not defined HOT 1
- Not returning back after success HOT 1
- Integration question HOT 9
- require is undefined HOT 1
- Security issue HOT 3
- PhoneGAP - Themes? HOT 1
- Verification failure HOT 9
- Sucesscall back HOT 12
- I am using Cordova / Ionic for creating a hybrid app. Which consumer key should I use. HOT 2
- Digits Asking for signup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from digits-cordova.