{"action":"created","issue":{"url":"https://api.github.com/repos/pilgr/Paper/issues/161","repository_url":"https://api.github.com/repos/pilgr/Paper","labels_url":"https://api.github.com/repos/pilgr/Paper/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/pilgr/Paper/issues/161/comments","events_url":"https://api.github.com/repos/pilgr/Paper/issues/161/events","html_url":"https://github.com/pilgr/Paper/issues/161","id":496899385,"node_id":"MDU6SXNzdWU0OTY4OTkzODU=","number":161,"title":"Prepackage database","user":{"login":"johnsintal","id":2457368,"node_id":"MDQ6VXNlcjI0NTczNjg=","avatar_url":"https://avatars3.githubusercontent.com/u/2457368?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsintal","html_url":"https://github.com/johnsintal","followers_url":"https://api.github.com/users/johnsintal/followers","following_url":"https://api.github.com/users/johnsintal/following{/other_user}","gists_url":"https://api.github.com/users/johnsintal/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsintal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsintal/subscriptions","organizations_url":"https://api.github.com/users/johnsintal/orgs","repos_url":"https://api.github.com/users/johnsintal/repos","events_url":"https://api.github.com/users/johnsintal/events{/privacy}","received_events_url":"https://api.github.com/users/johnsintal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-23T05:21:11Z","updated_at":"2019-09-23T12:46:11Z","closed_at":"2019-09-23T12:46:11Z","author_association":"NONE","body":"Hi,\r\n\r\nI'd like to ship my app with a Paper DB already loaded with data. How would it be possible to do that? I imagine you'll need to \r\n\r\n1. Create the database with the data in the Android application.\r\n2. Write the file location to local storage (save as backup) to sd card\r\n3. Copy that db file to your /res folder in Android app\r\n4. Upon app initialization the db, copy the file to a location where Paper can read the db.\r\n\r\nI am not sure if this is feasible, esp for parts 4."},"comment":{"url":"https://api.github.com/repos/pilgr/Paper/issues/comments/534082849","html_url":"https://github.com/pilgr/Paper/issues/161#issuecomment-534082849","issue_url":"https://api.github.com/repos/pilgr/Paper/issues/161","id":534082849,"node_id":"MDEyOklzc3VlQ29tbWVudDUzNDA4Mjg0OQ==","user":{"login":"pilgr","id":429345,"node_id":"MDQ6VXNlcjQyOTM0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/429345?v=4","gravatar_id":"","url":"https://api.github.com/users/pilgr","html_url":"https://github.com/pilgr","followers_url":"https://api.github.com/users/pilgr/followers","following_url":"https://api.github.com/users/pilgr/following{/other_user}","gists_url":"https://api.github.com/users/pilgr/gists{/gist_id}","starred_url":"https://api.github.com/users/pilgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pilgr/subscriptions","organizations_url":"https://api.github.com/users/pilgr/orgs","repos_url":"https://api.github.com/users/pilgr/repos","events_url":"https://api.github.com/users/pilgr/events{/privacy}","received_events_url":"https://api.github.com/users/pilgr/received_events","type":"User","site_admin":false},"created_at":"2019-09-23T12:46:11Z","updated_at":"2019-09-23T12:46:11Z","author_association":"OWNER","body":"It should be totally feasible. Just make sure you recreated the whole path where paperdb file was located. "}}
{"actor":{"display_login":"pilgr"}}