Getting started:
Related tutorials:
| import PropTypes from 'prop-types' | |
| const propTypes = { | |
| codeLength: PropTypes.number.isRequired | |
| } | |
| const defaultProps = { | |
| codeLength: 5 | |
| } |
Getting started:
Related tutorials:
| export class SyncPath { | |
| constructor(rootRef, path) { | |
| this._rootRef = rootRef; | |
| this.user = this._rootRef.getAuth(); | |
| this._userDataRef = this._rootRef.child(path).child(this.user.uid); | |
| this.data = {}; | |
| this._userDataRef.on('value', (snap) => this.data = snap.val() || {}); | |
| } | |
| keys() { | |
| return Object.keys(this.data); |
gen icon: https://makeappicon.com
gen icon 1536x1536px
gen splash: https://apetools.webprofusion.com/#/tools/imagegorilla
gen splash thi phải resize ảnh về 2208x2208px rồi mới up lên
install java, jdk, sdk.... first
use vim: vi ~/.bashrc and vi ~/.bash_profile ( use vim to create file) then paste below lines to that. ( use shift + zz to save and close vim or or esc button and :x)
if file is exist, you can open with nano: sudo nano ~/.bash_profile
(prioritize: ~/.bash_profile)
export ANDROID_HOME=/Users/cee/Library/Android/sdk
| Alert.alert( | |
| 'Qubikal', | |
| 'Delete Image?', | |
| [ | |
| { text: 'No', onPress: () => console.log('Cancel Pressed'), style: 'cancel' }, | |
| { | |
| text: 'Yes', | |
| onPress: () => { | |
| api.setToken(this.props.user.token) | |
| api.deleteImage(this.props.image._id).then(response => { |