複数 Heroku プロジェクトがある場合は --app <appName>
を付ける必要がある
heroku config --app <appName>
heroku config:set DATABASE_URL='mysql2://<userName>:<password>@<host>/<database>?reconnect=true' --app <appName>
LayoutAnimation.configureNext(CustomLayoutSpring); |
// アニメーション | |
const CustomLayoutSpring = { | |
duration: 400, | |
// ボール追加時のアニメーション | |
create: { | |
type: LayoutAnimation.Types.spring, | |
property: LayoutAnimation.Properties.scaleXY, | |
springDamping: 0.6, | |
}, | |
// ボール移動時のアニメーション |
// @flow | |
import React, { Component } from 'react'; | |
import { LayoutAnimation, StyleSheet, Text, View } from 'react-native'; | |
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
backgroundColor: '#333333', | |
}, |
{ | |
"ruby.rubocop.executePath": "", | |
"ruby.rubocop.onSave": true, | |
"editor.formatOnSave": true, | |
"editor.formatOnSaveTimeout": 5000, | |
"ruby.format": "rubocop" | |
} |
// @flow | |
import React, { Component } from 'react'; | |
import { StyleSheet, View } from 'react-native'; | |
import LottieView from 'lottie-react-native'; | |
import loading from '../assets/lottie/loading.json'; | |
const styles = StyleSheet.create({ | |
container: { |
// @flow | |
import React, { Component } from 'react'; | |
import { | |
TouchableWithoutFeedback, | |
Animated, | |
Dimensions, | |
StyleSheet, | |
} from 'react-native'; |
{ | |
"push": { | |
"prefix": "push", | |
"body": [ | |
"Navigation.push(componentId, {", | |
" component: {", | |
" name: '',", | |
" passProps: {},", | |
" options: {", | |
" topBar: {", |
複数 Heroku プロジェクトがある場合は --app <appName>
を付ける必要がある
heroku config --app <appName>
heroku config:set DATABASE_URL='mysql2://<userName>:<password>@<host>/<database>?reconnect=true' --app <appName>
Missing Info.plist value - A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'org.reactjs.native.example.bukumoapp'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key
アプリのアイコンが設定されていないとのこと。確かに設定していない。設定しなおして再度提出。
このページを使ってアイコンを作成した。 https://makeappicon.com/
バージョンを変更しておくことを忘れないように。
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { getStateAndActions } from './reducer'; | |
const Button = props => ( | |
<button type="button" onClick={props.onClick}> | |
{props.children} | |
</button> | |
); |