{"action":"created","issue":{"url":"https://api.github.com/repos/MFlisar/GDPRDialog/issues/34","repository_url":"https://api.github.com/repos/MFlisar/GDPRDialog","labels_url":"https://api.github.com/repos/MFlisar/GDPRDialog/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/MFlisar/GDPRDialog/issues/34/comments","events_url":"https://api.github.com/repos/MFlisar/GDPRDialog/issues/34/events","html_url":"https://github.com/MFlisar/GDPRDialog/issues/34","id":326723766,"number":34,"title":"Implements Dialog in Settings","user":{"login":"master94ga","id":9944950,"avatar_url":"https://avatars2.githubusercontent.com/u/9944950?v=4","gravatar_id":"","url":"https://api.github.com/users/master94ga","html_url":"https://github.com/master94ga","followers_url":"https://api.github.com/users/master94ga/followers","following_url":"https://api.github.com/users/master94ga/following{/other_user}","gists_url":"https://api.github.com/users/master94ga/gists{/gist_id}","starred_url":"https://api.github.com/users/master94ga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/master94ga/subscriptions","organizations_url":"https://api.github.com/users/master94ga/orgs","repos_url":"https://api.github.com/users/master94ga/repos","events_url":"https://api.github.com/users/master94ga/events{/privacy}","received_events_url":"https://api.github.com/users/master94ga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-26T09:16:44Z","updated_at":"2018-05-26T09:30:23Z","closed_at":null,"author_association":"NONE","body":"Hello, I want to add the possibility to change the consent settings in my app. There is a way yo call the dialog without implementing the interface?\r\nI tried something like this but it crash:\r\n\r\n                GDPR.getInstance().init(getActivity());\r\n                GDPRSetup setup = new GDPRSetup(GDPRDefinitions.ADMOB, GDPRDefinitions.FIREBASE_ANALYTICS);\r\n                GDPR.getInstance().showDialog((AppCompatActivity) getActivity(), setup, GDPR.getInstance().getConsentState().getLocation());\r\n\r\nI don't need the callback, and I need to show the dialog when the user press the button, not when it need to be show."},"comment":{"url":"https://api.github.com/repos/MFlisar/GDPRDialog/issues/comments/392249622","html_url":"https://github.com/MFlisar/GDPRDialog/issues/34#issuecomment-392249622","issue_url":"https://api.github.com/repos/MFlisar/GDPRDialog/issues/34","id":392249622,"user":{"login":"MFlisar","id":2437726,"avatar_url":"https://avatars1.githubusercontent.com/u/2437726?v=4","gravatar_id":"","url":"https://api.github.com/users/MFlisar","html_url":"https://github.com/MFlisar","followers_url":"https://api.github.com/users/MFlisar/followers","following_url":"https://api.github.com/users/MFlisar/following{/other_user}","gists_url":"https://api.github.com/users/MFlisar/gists{/gist_id}","starred_url":"https://api.github.com/users/MFlisar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MFlisar/subscriptions","organizations_url":"https://api.github.com/users/MFlisar/orgs","repos_url":"https://api.github.com/users/MFlisar/repos","events_url":"https://api.github.com/users/MFlisar/events{/privacy}","received_events_url":"https://api.github.com/users/MFlisar/received_events","type":"User","site_admin":false},"created_at":"2018-05-26T09:30:23Z","updated_at":"2018-05-26T09:30:23Z","author_association":"OWNER","body":"Or do following:\r\n\t\t\r\n\tGDPRConsentState consentState = GDPR.getInstance().getConsentState();\r\n\tGDPR.getInstance().resetConsent();\r\n\tGDPR.getInstance().showDialog(this, mSetup, consentState .getLocation());\r\n\r\nNo way to avoid that the activity must be implementing the callback interface though currently..."}}
{"actor":{"display_login":"MFlisar"}}