This file contains 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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component } from 'react' | |
import { | |
StyleSheet, | |
Text, |
This file contains 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
const WEBVIEW_REF = 'WEBVIEW_REF' | |
import React, { Component } from 'react' | |
import { | |
StyleSheet, | |
ActivityIndicator, | |
Text, | |
View, | |
TouchableOpacity, | |
WebView | |
} from 'react-native' |
This file contains 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
'use strict' | |
import React, { Component } from 'react' | |
import { | |
AlertIOS, | |
Platform, | |
StyleSheet, | |
Text, | |
TouchableOpacity, | |
View, |
This file contains 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
// работает | |
{ | |
"parser": "babel-eslint", | |
"plugins": [ | |
"react" | |
], | |
"parserOptions": { | |
"ecmaVersion": 7, | |
"sourceType": "module", | |
"ecmaFeatures": { |
This file contains 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 { Platform } from 'react-native' | |
import RNFetchBlob from 'react-native-fetch-blob' | |
const Blob = RNFetchBlob.polyfill.Blob | |
const fs = RNFetchBlob.fs | |
window.XMLHttpRequest = RNFetchBlob.polyfill.XMLHttpRequest | |
window.Blob = Blob | |
// User-related helper functions | |
export const uploadImage = (imageUri, uid, mime = 'application/octet-stream') => { |
This file contains 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 React, { Component } from 'react' | |
import { | |
View, | |
StyleSheet, | |
ActivityIndicator, | |
Text, | |
Image, | |
ScrollView, | |
TouchableOpacity, | |
Alert, |
This file contains 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 React, { Component } from 'react' | |
import { | |
Text, | |
View, | |
Image, | |
StyleSheet, | |
ScrollView, | |
TouchableOpacity, | |
FlatList | |
} from 'react-native' |
This file contains 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 React, { Component } from 'react' | |
import { | |
Text, | |
View, | |
Image, | |
ScrollView, | |
TouchableOpacity | |
} from 'react-native' | |
import _ from 'lodash' | |
import { withApollo, compose, graphql } from 'react-apollo' |
This file contains 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
-----> Node.js app detected | |
-----> Creating runtime environment | |
NPM_CONFIG_LOGLEVEL=error | |
NPM_CONFIG_PRODUCTION=true | |
NODE_VERBOSE=false | |
NODE_ENV=production | |
NODE_MODULES_CACHE=true | |
-----> Installing binaries | |
engines.node (package.json): unspecified |
This file contains 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
[ | |
{ | |
"id": 0, | |
"name": "Meeting with the sun", | |
"url": "https://firebasestorage.googleapis.com/v0/b/shaktimams.appspot.com/o/Meeting%20with%20the%20sun.mp3?alt=media&token=20988184-b996-4bc8-8470-88dcbc92985c", | |
"img": "https://thumbnailer.mixcloud.com/unsafe/160x160/extaudio/5/4/2/1/c375-63fa-405e-9521-48a72320fe1b" | |
}, | |
{ | |
"id": 1, | |
"name": "The Way of Liberation and Enlightenment", |