Skip to content

Commit

Permalink
refactor: removed google maps (#2303)
Browse files Browse the repository at this point in the history
* replaced Google maps with OpenStreetMaps in the Playstore build
  • Loading branch information
apoorva-raj authored Jan 18, 2022
1 parent 8903556 commit e62eb06
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 84 deletions.
9 changes: 3 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ android {
debug {
versionNameSuffix "Version: "
resValue "string", "version", "${versionNameSuffix}${defaultConfig.versionName}"
resValue "string", "google_maps_key", google_key
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "version", "${defaultConfig.versionName}"
resValue "string", "google_maps_key", google_key
if (LOCAL_KEY_PRESENT || TRAVIS_BUILD)
signingConfig signingConfigs.release
}
Expand Down Expand Up @@ -114,10 +112,9 @@ dependencies {
annotationProcessor "com.jakewharton:butterknife-compiler:$rootProject.butterKnifeVersion"

// Map libraries
fdroidImplementation "org.osmdroid:osmdroid-android:$rootProject.osmVersion"
fdroidImplementation "org.osmdroid:osmdroid-mapsforge:$rootProject.mapsforgeVersion"
fdroidImplementation "org.osmdroid:osmdroid-geopackage:$rootProject.geoPackageVersion"
playstoreImplementation "com.google.android.gms:play-services-maps:$rootProject.googleMapsVersion"
implementation "org.osmdroid:osmdroid-android:$rootProject.osmVersion"
implementation "org.osmdroid:osmdroid-mapsforge:$rootProject.mapsforgeVersion"
implementation "org.osmdroid:osmdroid-geopackage:$rootProject.geoPackageVersion"

implementation 'androidx.multidex:multidex:2.0.1'
implementation "io.realm:android-adapters:$rootProject.realmAdapter"
Expand Down
10 changes: 0 additions & 10 deletions app/src/playstore/AndroidManifest.xml

This file was deleted.

59 changes: 0 additions & 59 deletions app/src/playstore/java/io/pslab/activity/MapsActivity.java

This file was deleted.

9 changes: 0 additions & 9 deletions app/src/playstore/res/layout/activity_google_maps.xml

This file was deleted.

0 comments on commit e62eb06

Please sign in to comment.