[ADD] okhttp and osm library

This commit is contained in:
Sem van der Hoeven
2020-12-08 10:55:31 +01:00
parent 55756e227a
commit b3a28f9e57
2 changed files with 7 additions and 1 deletions

View File

@@ -38,7 +38,10 @@ dependencies {
// okhttp // okhttp
implementation 'com.squareup.okhttp3:okhttp:4.9.0' implementation 'com.squareup.okhttp3:okhttp:4.9.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.9.0' testImplementation 'com.squareup.okhttp3:mockwebserver:4.9.0'
//osm
implementation 'org.osmdroid:osmdroid-android:6.1.8'
androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
} }

View File

@@ -2,6 +2,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.a1.nextlocation"> package="com.a1.nextlocation">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<application <application
android:allowBackup="true" android:allowBackup="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"