var TodoApp = React.createClass({ 
propTypes: {
title: PropTypes.string.isRequired
},
getInitialState () {
return {
items: []
};
}
});
class TodoApp extends React.Component {
constructor () {
super()
this.state = {
items: []
}
}
};









Installation

npm i expo-permissions 
npm install expo-image-picker

App.js

After installing these two libraries, open app.js …

Akash Singh

React Native Developer | UI/UX Designer | Python |Tableau |AR |Arduino #IOSdeveloper

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store