Skip to content

Instantly share code, notes, and snippets.

View gHashTag's full-sized avatar
:electron:
NeuroCoder

Vasilev Dmitrii gHashTag

:electron:
NeuroCoder
View GitHub Profile
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react'
import {
StyleSheet,
Text,
const WEBVIEW_REF = 'WEBVIEW_REF'
import React, { Component } from 'react'
import {
StyleSheet,
ActivityIndicator,
Text,
View,
TouchableOpacity,
WebView
} from 'react-native'
'use strict'
import React, { Component } from 'react'
import {
AlertIOS,
Platform,
StyleSheet,
Text,
TouchableOpacity,
View,
// работает
{
"parser": "babel-eslint",
"plugins": [
"react"
],
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
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') => {
import React, { Component } from 'react'
import {
View,
StyleSheet,
ActivityIndicator,
Text,
Image,
ScrollView,
TouchableOpacity,
Alert,
import React, { Component } from 'react'
import {
Text,
View,
Image,
StyleSheet,
ScrollView,
TouchableOpacity,
FlatList
} from 'react-native'
import React, { Component } from 'react'
import {
Text,
View,
Image,
ScrollView,
TouchableOpacity
} from 'react-native'
import _ from 'lodash'
import { withApollo, compose, graphql } from 'react-apollo'
-----> 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
[
{
"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",