DEV
Android
react-native run-android
Создать AVD /Users/xyz/Library/Android/sdk/tools/bin/avdmanager create avd --name Nexus6P --tag google_apis --package 'system-images;android-23;google_apis;x86_64'
Запустить AVD
/* eslint-disable no-param-reassign */ | |
import { createStore, applyMiddleware } from 'redux' | |
import { AsyncStorage } from 'react-native' | |
import { composeWithDevTools } from 'redux-devtools-extension' | |
import ApolloClient, { createNetworkInterface } from 'apollo-client' | |
import thunk from 'redux-thunk' | |
import { SubscriptionClient, addGraphQLSubscriptions } from 'subscriptions-transport-ws' | |
import reducers from './reducers' |
}' | |
+_zsh_autosuggest_bind_widget:47> zle -N vi-end-of-line _zsh_autosuggest_bound_1_vi-end-of-line | |
+_zsh_autosuggest_bind_widgets:14> widget=vi-fetch-history | |
+_zsh_autosuggest_bind_widgets:15> [ ']' | |
+_zsh_autosuggest_bind_widgets:17> [ ']' | |
+_zsh_autosuggest_bind_widgets:19> [ ']' | |
+_zsh_autosuggest_bind_widgets:21> [ ']' | |
+_zsh_autosuggest_bind_widgets:25> _zsh_autosuggest_bind_widget vi-fetch-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-fetch-history |
import React, { Component } from 'react' | |
import { | |
Text, | |
StyleSheet, | |
FlatList, | |
TouchableOpacity, | |
View | |
} from 'react-native' | |
import { connect } from 'react-redux' | |
import * as actions from './actions' |
import React, { Component } from 'react'; | |
import { | |
StyleSheet, | |
Image, // we want to use an image | |
PanResponder, // we want to bring in the PanResponder system | |
Animated // we wil be using animated value | |
} from 'react-native'; | |
export default class Briliant extends Component { | |
constructor(props) { |
import React, { Component } from 'react' | |
import { | |
Text, | |
View, | |
Image, | |
ScrollView, | |
TouchableOpacity | |
} from 'react-native' | |
import _ from 'lodash' | |
import { graphql } from 'react-apollo' |
apply plugin: "com.android.application" | |
import com.android.build.OutputFile | |
/** | |
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets | |
* and bundleReleaseJsAndAssets). | |
* These basically call `react-native bundle` with the correct arguments during the Android build | |
* cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the | |
* bundle directly from the development server. Below you can see all the possible configurations |
// !$*UTF8*$! | |
{ | |
archiveVersion = 1; | |
classes = { | |
}; | |
objectVersion = 46; | |
objects = { | |
/* Begin PBXBuildFile section */ | |
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; |
DEV
Android
react-native run-android
Создать AVD /Users/xyz/Library/Android/sdk/tools/bin/avdmanager create avd --name Nexus6P --tag google_apis --package 'system-images;android-23;google_apis;x86_64'
Запустить AVD
import React, { Component } from 'react' | |
import './class.css' | |
class Classes extends Component { | |
constructor() { | |
super() | |
this.state = { | |
show: true | |
} | |
} |
<script src="https://widgets.healcode.com/javascripts/healcode.js" type="text/javascript"></script> | |
<link href="https://fonts.googleapis.com/css?family=Crimson+Text|Lato|Lora|Open+Sans|PT+Serif|Roboto" rel="stylesheet"> | |
<style type="text/css"> | |
/* Главный заголовок */ | |
div.healcode .healcode-title-text { | |
color: rgba(0, 0, 255, 0) !important; | |
} | |
div.healcode a.action_icon .action_text.my_account_text { | |
font-family: 'Open Sans' !important; |