{"action":"closed","issue":{"url":"https://api.github.com/repos/itinance/react-native-fs/issues/287","repository_url":"https://api.github.com/repos/itinance/react-native-fs","labels_url":"https://api.github.com/repos/itinance/react-native-fs/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/itinance/react-native-fs/issues/287/comments","events_url":"https://api.github.com/repos/itinance/react-native-fs/issues/287/events","html_url":"https://github.com/itinance/react-native-fs/issues/287","id":224954493,"number":287,"title":"childFile.lastModified needs to be coverted to string","user":{"login":"MehdiZonjy","id":5129182,"avatar_url":"https://avatars0.githubusercontent.com/u/5129182?v=3","gravatar_id":"","url":"https://api.github.com/users/MehdiZonjy","html_url":"https://github.com/MehdiZonjy","followers_url":"https://api.github.com/users/MehdiZonjy/followers","following_url":"https://api.github.com/users/MehdiZonjy/following{/other_user}","gists_url":"https://api.github.com/users/MehdiZonjy/gists{/gist_id}","starred_url":"https://api.github.com/users/MehdiZonjy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MehdiZonjy/subscriptions","organizations_url":"https://api.github.com/users/MehdiZonjy/orgs","repos_url":"https://api.github.com/users/MehdiZonjy/repos","events_url":"https://api.github.com/users/MehdiZonjy/events{/privacy}","received_events_url":"https://api.github.com/users/MehdiZonjy/received_events","type":"User","site_admin":false},"labels":[{"id":209203819,"url":"https://api.github.com/repos/itinance/react-native-fs/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-28T01:18:56Z","updated_at":"2017-04-28T08:56:28Z","closed_at":"2017-04-28T08:56:28Z","body":"Hello\r\nI just created a fresh ReactNative project and installed the latest version (2.3.0). and i'm getting the following error \r\n`RNFSManager.java:262: error: incompatible types: long cannot be converted to String`\r\n\r\nIt seems that the problem is in the following line\r\n`fileMap.putString(\"mtime\", childFile.lastModified());`\r\n\r\n childFile.lastModified needs to be converted from long to string before adding it to the fileMap\r\nThe following fixes the issue\r\n `fileMap.putString(\"mtime\", String.valueOf(childFile.lastModified()));`\r\n  \r\n"}}
{"actor":{"display_login":"itinance"}}