{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/azure-notificationhubs-android/issues/24","repository_url":"https://api.github.com/repos/Azure/azure-notificationhubs-android","labels_url":"https://api.github.com/repos/Azure/azure-notificationhubs-android/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-notificationhubs-android/issues/24/comments","events_url":"https://api.github.com/repos/Azure/azure-notificationhubs-android/issues/24/events","html_url":"https://github.com/Azure/azure-notificationhubs-android/issues/24","id":434472745,"node_id":"MDU6SXNzdWU0MzQ0NzI3NDU=","number":24,"title":"Upgrade NH Android SDK to latest versions","user":{"login":"mpodwysocki","id":11578097,"node_id":"MDQ6VXNlcjExNTc4MDk3","avatar_url":"https://avatars3.githubusercontent.com/u/11578097?v=4","gravatar_id":"","url":"https://api.github.com/users/mpodwysocki","html_url":"https://github.com/mpodwysocki","followers_url":"https://api.github.com/users/mpodwysocki/followers","following_url":"https://api.github.com/users/mpodwysocki/following{/other_user}","gists_url":"https://api.github.com/users/mpodwysocki/gists{/gist_id}","starred_url":"https://api.github.com/users/mpodwysocki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpodwysocki/subscriptions","organizations_url":"https://api.github.com/users/mpodwysocki/orgs","repos_url":"https://api.github.com/users/mpodwysocki/repos","events_url":"https://api.github.com/users/mpodwysocki/events{/privacy}","received_events_url":"https://api.github.com/users/mpodwysocki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-04-17T20:31:03Z","updated_at":"2019-04-17T20:31:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Moving forward with the Notification Hubs Android SDK, the project needs to be brought up to date with a minimum supported SDK version of 14, up from 9, and a target SDK of 26, up from 21.  To support this, we need to do the following:\r\n\r\nRemove deprecated Apache APIs:\r\n- Remove usage of `import org.apache.http.protocol.HTTP;` and usage of `HTTP.CONTENT_TYPE` in favor of `\"Content-Type\"` in the `Connection.java` class for the SDK\r\n- Remove usage of `HttpPost` in favor of `HttpUrlConnection` in `MainActivity.java` class in the E2E Test App\r\n\r\nUpdate the compilation targets:\r\n- For the default config for each project `build.gradle`, it should have the following:\r\n  - `targetSdkVersion`: 26\r\n  - `minSdkVersion`: 14\r\n  - `compiledSdkVersion`: 26\r\n  - Dependency `com.android.support:appcompat-v7` should be upgraded from `21.0.3` to `26.1.0`\r\n  - Consider moving from `compile` to `implementation` and `api` calls\r\n- In the main `build.gradle` replace `mavenCentral()` from the repositories with `jcenter()`"}}
{"actor":{"display_login":"mpodwysocki"}}