This file contains hidden or 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 the command line interface | |
# For ios https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/InteractingwiththeiOSSimulator/InteractingwiththeiOSSimulator.html | |
xcrun simctl io booted recordVideo appvideo.mov | |
# For android https://developer.android.com/studio/command-line/adb.html#screenrecord | |
adb shell screenrecord --verbose /sdcard/appvideo.mp4 | |
adb pull /sdcard/appvideo.mp4 /Users/project/destination |
This file contains hidden or 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
#installation | |
gem install xcode-install | |
xcversion simulators --install='iOS 9.3' | |
#list de tous les devices utilisables qui permettent de récupérer l'udid | |
xcrun simctl list | |
#lancement du simulateur | |
/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID <UDID> |
This file contains hidden or 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 { | |
StyleSheet, | |
View, | |
Text, | |
} from 'react-native'; | |
export default class DummyScreen extends Component { | |
render() { | |
return ( |
This file contains hidden or 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 { | |
StyleSheet, | |
View, | |
Text, | |
} from 'react-native'; | |
export default class DummyScreen extends Component { | |
render() { | |
return ( |
This file contains hidden or 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, | |
TextInput, | |
StyleSheet, | |
Platform, | |
} from 'react-native'; | |
export default (props) => { | |
const {styleWrapper, style, ...rest} = {...props}; |
This file contains hidden or 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, {PropTypes} from 'react'; | |
import { | |
StyleSheet, | |
View, | |
Text, | |
} from 'react-native'; | |
import Swiper from 'react-native-swiper'; | |
import PhotoView from 'react-native-photo-view'; | |
const Carousel = ({items = [], index = 0, width, height}) => { |
This file contains hidden or 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 {Server, Router, Database} from 'kakapo'; | |
import {isDevMode} from './env'; | |
import * as URL from './constants'; | |
import authFixture from './auth.fixture.js'; | |
import profileFixture from './profile.fixture.js'; | |
const singleton = Symbol(); | |
const singletonEnforcer = Symbol(); |
This file contains hidden or 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
react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ | |
cd android && ./gradlew assembleRelease |
This file contains hidden or 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
Router : https://github.com/aksonov/react-native-router-flux | |
via : https://medium.com/differential/react-native-basics-using-react-native-router-flux-f11e5128aff9#.3dfpm2p7l | |
TabView : https://github.com/react-native-community/react-native-tab-view | |
via : https://medium.com/@satya164/how-i-built-react-native-tab-view-7adfb2570af6#.86wxw1saf | |
Redux-persist : | |
https://github.com/rt2zz/redux-persist |
NewerOlder