2020-03-13から1日間の記事一覧
Classコンポーネントの場合 class TestScreen extends React.Component { constructor(props) { componentDidMount() { } componentDidMount() { const { navigation, route } = this.props; } } Functionコンポーネントの場合 export default function(prop…
firebaseのfunctionでExpoの通知を送るために、https://exp.host/--/api/v2/push/sendにPOSTするようにしたい。ようやくstatus 'OK'が返ってきて準備OKのはずだが通知が届かなくて困っていた。 試しに下記のツールhttps://expo.io/notificationsで送るように…