auth0 / lock-twitter.ios Goto Github PK
View Code? Open in Web Editor NEWLock for iOS add-on to use Twitter iOS integration
Home Page: https://auth0.com/lock
License: MIT License
Lock for iOS add-on to use Twitter iOS integration
Home Page: https://auth0.com/lock
License: MIT License
Preconditions:
Then I launch my test app and try to login to Twitter with A0TwitterAuthenticator
My app crashes with log:
2016-07-29 20:36:21:608 AKAuth0TestApp[4684:1057695] Requesting access to iOS Twitter integration for Accounts
2016-07-29 20:36:21:700 AKAuth0TestApp[4684:1057827] Obtained 0 accounts from iOS Twitter integration
2016-07-29 20:36:21:700 AKAuth0TestApp[4684:1057827] Only one account found, no need for the user to pick one
2016-07-29 20:36:21:700 AKAuth0TestApp[4684:1057827] Starting reverse authentication with Twitter account @(null)...
2016-07-29 20:36:21.705 AKAuth0TestApp[4684:1057827] *** Assertion failure in +[TWAPIManager performReverseAuthForAccount:withHandler:], /Users/juliya/Akvelon/auth0/Auth0_iOS_Sample/Auth0/AKAuth0TestApp/Pods/TWReverseAuth/TWReverseAuth/TWAPIManager.m:89
2016-07-29 20:36:21.707 AKAuth0TestApp[4684:1057827] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: account'
This issue maybe relates to #6
AUTH0_DYNAMIC_LOGGER_METHODS was removed from Lock and did not from Lock-Twitter
When building the library as a Cocoa Touch Framework, it fails when linking the library to CocoaLumberjack. This is because CocoaLumberjack is not a declared dependency.
[SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter]
returns YES
so we need a way to tell that there is no session in twitter app.
Also we need to define what to do, my first approach will be to tell the user to login there first
Preconditions:
I can not choose Twitter account from list of available Twitter accounts on my device because PSPDFActionSheet does not work for iPad. And that's why I can not login to Twitter with A0TwitterAuthenticator at all
I've found that when the app requests access to my Twitter accounts (via the standard UI), I then have to click login again to continue.
I am having an issue to build the module successfully for iOS 9 in XCode 7.1.1 with Swift.
Could not find any extra steps in the repo readme, and neither at the Cocoapod documentation.
The Podfile i am using is attached.
What do you suggest? Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.