{"action":"opened","issue":{"url":"https://api.github.com/repos/niccokunzmann/mundraub-android/issues/70","repository_url":"https://api.github.com/repos/niccokunzmann/mundraub-android","labels_url":"https://api.github.com/repos/niccokunzmann/mundraub-android/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/niccokunzmann/mundraub-android/issues/70/comments","events_url":"https://api.github.com/repos/niccokunzmann/mundraub-android/issues/70/events","html_url":"https://github.com/niccokunzmann/mundraub-android/issues/70","id":354204269,"node_id":"MDU6SXNzdWUzNTQyMDQyNjk=","number":70,"title":"Make external storage optional","user":{"login":"niccokunzmann","id":564768,"node_id":"MDQ6VXNlcjU2NDc2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/564768?v=4","gravatar_id":"","url":"https://api.github.com/users/niccokunzmann","html_url":"https://github.com/niccokunzmann","followers_url":"https://api.github.com/users/niccokunzmann/followers","following_url":"https://api.github.com/users/niccokunzmann/following{/other_user}","gists_url":"https://api.github.com/users/niccokunzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/niccokunzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niccokunzmann/subscriptions","organizations_url":"https://api.github.com/users/niccokunzmann/orgs","repos_url":"https://api.github.com/users/niccokunzmann/repos","events_url":"https://api.github.com/users/niccokunzmann/events{/privacy}","received_events_url":"https://api.github.com/users/niccokunzmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-27T07:05:55Z","updated_at":"2018-08-27T07:05:55Z","closed_at":null,"author_association":"OWNER","body":"<!-- If you report an app crash, please attach the eu.quelltext.mundraub.log.txt file\r\n     from the root of your phone's file system. -->\r\n\r\nExternal storage is not required to save the plants. We can use the cache directory.\r\nThen, the plants are deleted when someone needs space.\r\nBut the phone should work with this, too.\r\n\r\nSolution idea\r\n- add a function `moveTo(File newDirectory)` to the PersistentPlantCollection (also required for #44 )\r\n- when the settings are initialized (`onSettingsUpdated`), the persistent plant collection moves itself to the location in the settings, moving all files and folders it has or none if the directory does not exist."}}
{"actor":{"display_login":"niccokunzmann"}}