Skip to content

Commit 5b178c2

Browse files
authored
Develop (#99)
[mage-1564] Update to populate "contact us" email based on server config [mage-1534] Add user filter feature [mage-1516] (#97) Fix duplicate feeds issue on map settings page [mage-1603] Update geopackage-android-map dependency to version 6.7.5
1 parent f8de3b2 commit 5b178c2

File tree

48 files changed

+1516
-92
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1516
-92
lines changed

mage/build.gradle

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ android {
4545
enabled = true
4646
}
4747

48-
sourceSets {
49-
androidTest.setRoot('tests')
50-
androidTest.java.srcDirs = ['tests/src']
51-
}
52-
5348
compileOptions {
5449
sourceCompatibility JavaVersion.VERSION_17
5550
targetCompatibility JavaVersion.VERSION_17
@@ -89,8 +84,8 @@ android {
8984

9085
defaultConfig {
9186
applicationId "mil.nga.giat.mage"
92-
versionCode 1955
93-
versionName '7.2.7'
87+
versionCode 1956
88+
versionName '7.3.0'
9489
minSdkVersion 27
9590
targetSdkVersion 36
9691
multiDexEnabled true
@@ -226,7 +221,7 @@ dependencies {
226221
implementation 'com.google.maps.android:maps-compose-widgets:2.11.4'
227222

228223
implementation 'com.google.maps.android:android-maps-utils:3.5.3'
229-
implementation 'mil.nga.geopackage.map:geopackage-android-map:6.7.4'
224+
implementation 'mil.nga.geopackage.map:geopackage-android-map:6.7.5'
230225
implementation 'mil.nga.mgrs:mgrs-android:2.2.3'
231226
implementation 'mil.nga.gars:gars-android:1.2.3'
232227
implementation 'org.ocpsoft.prettytime:prettytime:3.2.5.Final'
@@ -235,6 +230,7 @@ dependencies {
235230
implementation 'com.github.bumptech.glide:glide:4.13.2'
236231
implementation 'com.github.bumptech.glide:okhttp3-integration:4.13.2'
237232
implementation "com.google.accompanist:accompanist-glide:0.15.0"
233+
implementation "com.github.bumptech.glide:compose:1.0.0-beta01"
238234
kapt 'com.github.bumptech.glide:compiler:4.13.2'
239235

240236
implementation 'com.nulab-inc:zxcvbn:1.2.3'
@@ -249,7 +245,7 @@ dependencies {
249245

250246
implementation files ('libs/sanselanandroid.jar')
251247

252-
// Testing-only dependencies
248+
//instrumentation test dependencies
253249
androidTestImplementation "androidx.test:core:$coreVersion"
254250
androidTestImplementation "androidx.test:core-ktx:$coreVersion"
255251
androidTestImplementation "androidx.test.ext:junit:$extJUnitVersion"
@@ -259,6 +255,15 @@ dependencies {
259255
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
260256
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
261257
androidTestImplementation "io.mockk:mockk-android:1.13.8"
258+
259+
//unit tests
260+
testImplementation "androidx.test:core:$coreVersion"
261+
testImplementation "androidx.test:core-ktx:$coreVersion"
262+
testImplementation "androidx.test.ext:junit:$extJUnitVersion"
263+
testImplementation "androidx.test.ext:junit-ktx:$extJUnitVersion"
264+
testImplementation "io.mockk:mockk-android:1.13.8"
265+
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.9.0"
266+
262267
}
263268

264269
tasks.register('androidArtifactVersion') {
File renamed without changes.

mage/tests/src/mil/nga/giat/mage/tests/DateFormatFactoryTest.java renamed to mage/src/androidTest/java/mil/nga/giat/mage/tests/DateFormatFactoryTest.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,11 @@
22

33
import android.test.suitebuilder.annotation.SmallTest;
44
import android.util.Log;
5-
65
import junit.framework.TestCase;
7-
86
import java.text.ParseException;
97
import java.util.Date;
10-
118
import mil.nga.giat.mage.sdk.utils.ISO8601DateFormatFactory;
129

13-
/**
14-
*
15-
* Unit test that tests the {@link mil.nga.giat.mage.sdk.utils.ISO8601DateFormatFactory}
16-
*
17-
* @author wiedemanns
18-
*/
1910
public class DateFormatFactoryTest extends TestCase {
2011

2112
private static final String LOG_NAME = DateFormatFactoryTest.class.getName();

mage/src/main/AndroidManifest.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,12 @@
163163
<activity
164164
android:name=".filter.ObservationFilterActivity"
165165
android:theme="@style/AppTheme.NoActionBar"
166+
android:windowSoftInputMode="adjustPan"
166167
android:label="@string/observation_filter" />
168+
<activity
169+
android:name=".filter.ObservationUserFilterActivity"
170+
android:theme="@style/AppTheme.NoActionBar"
171+
android:label="@string/observation_users_filter" />
167172
<activity
168173
android:name=".filter.LocationFilterActivity"
169174
android:theme="@style/AppTheme.NoActionBar"

0 commit comments

Comments
 (0)