This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| Author - Harkirat Saluja | |
| Git - https://bitbucket.org/salujaharkirat/ | |
| **/ | |
| "use strict"; | |
| import React from "react"; | |
| import configureStore from 'redux-mock-store'; | |
| import {Auth} from "screens"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| Author - Harkirat Saluja | |
| Git - https://bitbucket.org/salujaharkirat/ | |
| **/ | |
| "use strict"; | |
| import {Platform} from "react-native"; | |
| import axios from "axios"; | |
| import {decamelizeKeys} from "humps"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| Author - Harkirat Saluja | |
| Git - https://bitbucket.org/salujaharkirat/ | |
| **/ | |
| "use strict"; | |
| import React from "react"; | |
| import {Alert} from "react-native"; | |
| import {connect} from "react-redux"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |- app | |
| |- __tests__ | |
| |- tests | |
| |- screens | |
| |- Auth.container.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |- app | |
| |- screens | |
| |- Auth | |
| |- assets | |
| |- Auth.container.js | |
| |- Auth.js | |
| |- authorizeGoogle.js | |
| |- index.js | |
| |- styles.js | |
| |- __mocks__ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| | app | |
| |- screens | |
| |- __tests__ | |
| |- api | |
| |- config | |
| |... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "presets": ["react-native"], | |
| "retainLines": true, | |
| "plugins": [ | |
| [ | |
| "module-resolver", | |
| { | |
| "root": ["./app"] | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'widgets/first_button/index.dart'; | |
| import 'widgets/second_button/index.dart'; | |
| class Welcome extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return new Scaffold( // 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import axios from "axios"; | |
| import API_END_POINT from "../config/index"; | |
| const fetchCharacters = () => { | |
| return (dispatch) => { | |
| axios.get(API_END_POINT) | |
| .then((response) => { | |
| dispatch(receiveCharacters(response.data.results)); | |
| }) |
NewerOlder