ryanmcdermott / react-native-login Goto Github PK
View Code? Open in Web Editor NEW:iphone: An example React Native project for client login authentication
:iphone: An example React Native project for client login authentication
I have installed your app as instructed. When I press run, it builds successfully, but when I reset the simulator (cmd/r), the simulator hangs with a blank screen and there is the following error in the console.
[tid:com.facebook.React.RCTSourceCodeQueue][RCTModuleMethod.m:381] RCTSourceCode.getScriptText was called with 0 arguments, but expects 2
(lldb)
Your app looks very useful, and seems to be close to working...
Followed the instructions, installed everything from React Native Getting Started page as well, but the build fails due to dependencies inside react-native-cookies
folder. When I install the dependencies there another unmet dependencies appear deeper.
Why Is react-native-cookies
folder there in the first place instead of depending on npm
?
Hi,
On first run, I noticed that if you click the Home link on the login view it takes you to the homepage and says "You are authenticated". This is without typing any auth info.
I also noticed that if you click the Login link while on the login view it shrinks the login view to more than half the size.
-Tim
del
Add listener for network connection.
E.g.,
Encountered an error loading page Object {canGoForward: false, code: -6, canGoBack: false, description: "net::ERR_CONNECTION_REFUSED", loading: false…} canGoBack: falsecanGoForward: falsecode: -6 description: "net::ERR_CONNECTION_REFUSED" loading: falsetarget: 8title: ""url: "http://localhost:3000/login/"__proto__: ObjectreactConsoleError @ index.android.bundle:56947console.error @ index.android.bundle:46333onLoadingError @ ... Console was cleared
Fixed by replacing localhost in App.js with my local ip, found using
ifconfig
under en0
find ip listed for inet
, in my case 192.168.0.8
It may be useful to add info to README about this - unless someone has a more sophisticated fix?
Hi,
I buid the example but always get cookie null, even if it was set in the browser by the server.
Any idea?
Thanks,
I didnt see anything like 'setCookie' in ur RN sample code,so i guess it completely run automatically?
And all we need is just to getCookie from it?
Hi, is it possible to connect with my backend?
Do you have contacts may be Email, skype. Thx.
Unless I'm missing something, would be nice to have an example of usage within a react native app
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.