{"action":"closed","issue":{"url":"https://api.github.com/repos/TQmobile/TQ-mobile-guide/issues/89","repository_url":"https://api.github.com/repos/TQmobile/TQ-mobile-guide","labels_url":"https://api.github.com/repos/TQmobile/TQ-mobile-guide/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/TQmobile/TQ-mobile-guide/issues/89/comments","events_url":"https://api.github.com/repos/TQmobile/TQ-mobile-guide/issues/89/events","html_url":"https://github.com/TQmobile/TQ-mobile-guide/issues/89","id":393819950,"node_id":"MDU6SXNzdWUzOTM4MTk5NTA=","number":89,"title":"安装Apk时报错：android.os.FileUriExposedException: file:///storage/emulated/0/Download/","user":{"login":"TQmobile","id":33208545,"node_id":"MDQ6VXNlcjMzMjA4NTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/33208545?v=4","gravatar_id":"","url":"https://api.github.com/users/TQmobile","html_url":"https://github.com/TQmobile","followers_url":"https://api.github.com/users/TQmobile/followers","following_url":"https://api.github.com/users/TQmobile/following{/other_user}","gists_url":"https://api.github.com/users/TQmobile/gists{/gist_id}","starred_url":"https://api.github.com/users/TQmobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TQmobile/subscriptions","organizations_url":"https://api.github.com/users/TQmobile/orgs","repos_url":"https://api.github.com/users/TQmobile/repos","events_url":"https://api.github.com/users/TQmobile/events{/privacy}","received_events_url":"https://api.github.com/users/TQmobile/received_events","type":"User","site_admin":false},"labels":[{"id":903082953,"node_id":"MDU6TGFiZWw5MDMwODI5NTM=","url":"https://api.github.com/repos/TQmobile/TQ-mobile-guide/labels/android","name":"android","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-24T06:35:00Z","updated_at":"2018-12-24T06:36:54Z","closed_at":"2018-12-24T06:36:54Z","author_association":"OWNER","body":"使用FileProvider\r\n第一步：在manifest清单文件中注册provider\r\n\r\n![](https://static.dingtalk.com/media/lALPBY0V4-poN4DMzM0CcA_624_204.png_940x10000.jpg)\r\n说明\r\nexported:要求必须为false，为true则会报安全异常\r\ngrantUriPermissions:true，表示授予 URI 临时访问权限。\r\ncom.allens.test就是程序的包名\r\n\r\n![](https://static.dingtalk.com/media/lALPBY0V4-poRzE9zQJ0_628_61.png_940x10000.jpg)\r\n"}}
{"actor":{"display_login":"TQmobile"}}