{"action":"opened","issue":{"url":"https://api.github.com/repos/Agontuk/react-native-geolocation-service/issues/91","repository_url":"https://api.github.com/repos/Agontuk/react-native-geolocation-service","labels_url":"https://api.github.com/repos/Agontuk/react-native-geolocation-service/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/Agontuk/react-native-geolocation-service/issues/91/comments","events_url":"https://api.github.com/repos/Agontuk/react-native-geolocation-service/issues/91/events","html_url":"https://github.com/Agontuk/react-native-geolocation-service/issues/91","id":466556158,"node_id":"MDU6SXNzdWU0NjY1NTYxNTg=","number":91,"title":"Androidx Fix RN 0.60, Jetifier Compliance","user":{"login":"Jaraujo6","id":4422026,"node_id":"MDQ6VXNlcjQ0MjIwMjY=","avatar_url":"https://avatars3.githubusercontent.com/u/4422026?v=4","gravatar_id":"","url":"https://api.github.com/users/Jaraujo6","html_url":"https://github.com/Jaraujo6","followers_url":"https://api.github.com/users/Jaraujo6/followers","following_url":"https://api.github.com/users/Jaraujo6/following{/other_user}","gists_url":"https://api.github.com/users/Jaraujo6/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaraujo6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaraujo6/subscriptions","organizations_url":"https://api.github.com/users/Jaraujo6/orgs","repos_url":"https://api.github.com/users/Jaraujo6/repos","events_url":"https://api.github.com/users/Jaraujo6/events{/privacy}","received_events_url":"https://api.github.com/users/Jaraujo6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-07-10T22:34:54Z","updated_at":"2019-07-10T22:34:54Z","closed_at":null,"author_association":"NONE","body":"In order to support React Native 0.60, library maintainers need to upgrade their android files to support androidx. This change can make a library unusable for users who have not upgraded their own app for androidx. The consensus solution for this issue is to update the build.gradle so that a library like jetifier can replace the non-compliant code.\r\n\r\nFor this app to be jetifier compliant, the following code in build.gradle needs to change from\r\n\r\n```\r\ncompileOnly('com.facebook.react:react-native:+') \r\n```\r\nto\r\n```\r\nimplementation('com.facebook.react:react-native:+') {\r\n        exclude group: 'com.android.support'\r\n    }\r\n``` \r\nAfterwards, all users need to do is run npx jetify to update the code before running ```react-native run-android```\r\nThe link below is an example of a successful PR implementing the above. \r\nhttps://github.com/react-native-community/react-native-maps/commit/62bb953c19e55adb29200ecff9981eb5e594a7b3?diff=unified\r\n\r\n@Agontuk could you please add these changes to your next commit? I am unable to submit a PR to address this issue myself."}}
{"actor":{"display_login":"Jaraujo6"}}