Advertisement
Guest User

Untitled

a guest
Apr 7th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. render() {
  2.  
  3. let pic = {
  4.  
  5. uri: 'http://www.userlogin.php?username=react&password=react@123'
  6.  
  7. };
  8. return (
  9.  
  10. <WebView
  11. automaticallyAdjustContentInsets={false}
  12. scalesPageToFit={false}
  13. source={{uri:pic.uri}}
  14. />
  15. );
  16.  
  17. render() {
  18. var usr=getUsername();
  19. var pass=getPassword();
  20. let pic = {
  21.  
  22. uri: 'http://userlogin.php?username='+usr+'&password='+pass
  23.  
  24. };
  25. return (
  26.  
  27. <WebView
  28. automaticallyAdjustContentInsets={false}
  29. scalesPageToFit={false}
  30. source={{uri:pic.uri}}
  31. />
  32. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement