Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mateokaradza on github.
  • I am mateokaradza (https://keybase.io/mateokaradza) on keybase.
  • I have a public key ASAoM-q7gBuKK4_F-QIv3lDPiZTeSSxs_J1alkribM-KGAo

To claim this, I am signing this object:

@mateoKaradza
mateoKaradza / index.js
Last active October 2, 2017 12:31
Index.js of a ScrollView component
import React from 'react'
import { ScrollView, Platform } from 'react-native'
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'
export default function ({ children, style, contentContainerStyle, extraScrollHeight }) {
if (Platform.OS === 'ios') {
return (
<ScrollView
style={style}
contentContainerStyle={contentContainerStyle}
API_URL=
ONESIGNAL_ID=
CODE_PUSH_ANDROID_KEY=
CODE_PUSH_IOS_KEY=
{
"presets": ["react-native"],
"plugins": [
["module-resolver", {
"root": ["./src"],
"alias": {
"actions": "./src/actions",
"components": "./src/components",
"constants": "./src/constants",
"styles": "./src/styles",
const store = compose(
applyMiddleware(thunk)
)(createStore)(reducers,
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__())
@mateoKaradza
mateoKaradza / build.gradle
Last active October 16, 2017 20:03
Example of signingConfigs within build.gradle file
signingConfigs {
release {
if (System.getenv()["CI"]) { // CI is true when running build on CI service, such as Bitrise
storeFile file(System.getenv()["BITRISE_SOURCE_DIR"] + "/keystores/my_keystore.jks")
storePassword System.getenv()["BITRISEIO_ANDROID_KEYSTORE_PASSWORD"]
keyAlias System.getenv()["BITRISEIO_ANDROID_KEYSTORE_ALIAS"]
keyPassword System.getenv()["BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD"]
} else {
storeFile file("release.keystore")
storePassword "Password123"
import { NavigationExperimental } from 'react-native';
import _ from 'lodash';
import { PUSH_ROUTE, POP_ROUTE } from './actions';
import { LOGIN_SUCCESS, LOGOUT_SUCCESS } from '../auth/actions';
const { StateUtils: NavigationStateUtils } = NavigationExperimental;
const initialState = {
index: 0,
key: 'root',