Skip to content

Instantly share code, notes, and snippets.


Nazır Doğan nazrdogan

Block or report user

Report or block nazrdogan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View sd
dependencies {
compile project(':react-native-vector-icons')
compile project(':react-native-fetch-blob')
compile project(':react-native-snackbar')
compile project(':react-native-video')
compile project(':react-native-maps')
compile project(':react-native-camera')
compile project(':react-native-splash-screen')
compile (project(':react-native-camera')){
exclude group: ''
View reducers.js
import { combineReducers } from 'redux';
import { reducer as reduxFormReducer } from "redux-form";
import authReducer from './auth_reducer';
import main from './main'
import BookingData from './booking_reducer';
import StepOne from './stepone';
import StepTwo from './stepTwo'
const AppReducer = combineReducers({
form: reduxFormReducer,
View reducer.js
import { combineReducers } from "redux";
import { nav } from "./routeReducer";
import * as ActionTypes from '.././constant/actionTypes';
import { reducer as formReducer } from 'redux-form'
import { locationReducer as location } from 'redux-saga-location';
import {reducer as network} from 'react-native-offline';
// Pages Reducers
import loginReducer from '.././pages/Login/loginReducer';
View drawer.js
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { createBottomTabNavigator,createDrawerNavigator } from 'react-navigation';
import { NavigationActions } from 'react-navigation';
class HomeScreen extends React.Component {
render() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
nazrdogan / pricetag.js
Created May 6, 2018
React Native Price Tag
View pricetag.js
import React, { Component } from 'react'
import {
} from 'react-native'
class App extends Component {
render() {
View web.js
document.addEventListener("message", function (event) {
let parsed = JSON.parse(;
if (parsed.type === "photo") {
if (parsed.type === "location") {
View deleteproperty.js
static getDerivedStateFromProps(nextProps, prevState) {
if (nextProps.carListReducer.list.length === 0 && !nextProps.carListReducer.error) {
return {
var newState = Object.assign({}, prevState);
delete newState.showSpinner;
return newState;
else {
return {
nazrdogan / carousel.js
Created Apr 19, 2018
React Native Carousel
View carousel.js
View gist:87c63e89a2bfd4cefee24990e4e7ed0e

Install npm module

npm install react-native-maps --save

Top-Level build.gradle

add google() and change classpath

// Top-level build file where you can add configuration options common to all sub-projects/modules.
You can’t perform that action at this time.