diff --git a/app/build.gradle b/app/build.gradle index 96a1b761..80183cad 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,8 +26,8 @@ android { applicationId "org.gophillygo.app" minSdkVersion 19 targetSdkVersion 27 - versionCode 12 - versionName "1.0.9" + versionCode 13 + versionName "1.0.10" vectorDrawables.useSupportLibrary = true testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" javaCompileOptions { diff --git a/app/src/main/java/org/gophillygo/app/tasks/AddGeofenceWorker.java b/app/src/main/java/org/gophillygo/app/tasks/AddGeofenceWorker.java index b819db94..97c4150e 100644 --- a/app/src/main/java/org/gophillygo/app/tasks/AddGeofenceWorker.java +++ b/app/src/main/java/org/gophillygo/app/tasks/AddGeofenceWorker.java @@ -32,15 +32,14 @@ public class AddGeofenceWorker extends Worker { // https://developer.android.com/training/location/geofencing // Minimum radius should be at least 100 - 150, more for outdoors areas with no WiFi. // Greater values reduce battery consumption. - private static final int GEOFENCE_RADIUS_METERS = 300; + private static final int GEOFENCE_RADIUS_METERS = 800; // Send alert roughly after device has been in geofence for this long. // When we are using the DWELL filter, this is about when we will receive notifications. - // In development (DEBUG build), use no delay. - private static final int GEOFENCE_LOITERING_DELAY = BuildConfig.DEBUG ? 60000 : 180000; // 1 or 3 minutes + private static final int GEOFENCE_LOITERING_DELAY = 0; // Set responsiveness high to save battery - private static final int GEOFENCE_RESPONSIVENESS = BuildConfig.DEBUG ? 180000 : 300000; // 3 or 5 minutes + private static final int GEOFENCE_RESPONSIVENESS = BuildConfig.DEBUG ? 60000 : 180000; // 1 or 3 minutes private static final String LOG_LABEL = "AddGeofenceWorker"; private static final int TRANSITION_BROADCAST_REQUEST_CODE = 42; diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a3cc4b8e..fd20453e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -138,11 +138,10 @@ Places and Events around Greater Philadelphia https://gophillygo.org/privacy_policy https://gophillygo.org/terms_of_service - - + About GoPhillyGo - The Clean Air Council\'s GoPhillyGo mobile app highlights the greater Philadelphia area\'s best educational and recreational destinations and events. Browse through all the region’s options using a number of activity filters, such biking, hiking, and water recreation, and save places you’d like to go in order to be notified whenever you’re nearby. You can also find upcoming events and add them to your calendar directly from the app. Need help getting there? The app links out to our multimodal trip planner \u2014 combining biking, walking, and public transportation within one trip \u2014 to travel anywhere within the region without the use of a car. If you want to find an outdoor festival taking place this weekend or a place to learn or see something new whenever it’s convenient, we can help! + The Clean Air Council\'s GoPhillyGo mobile app highlights the greater Philadelphia area\'s best educational and recreational destinations and events. Browse through all the region’s options using a number of activity filters such as biking, hiking, and water recreation, and save places you’d like to go in order to be notified whenever you’re nearby. You can also find upcoming events and add them to your calendar directly from the app. Need help getting there? The app links out to our multimodal trip planner \u2014 combining biking, walking, and public transportation within one trip \u2014 to travel anywhere within the region without the use of a car. If you want to find an outdoor festival taking place this weekend or a place to learn or see something new whenever it’s convenient, we can help! GoPhillyGo website GoPhillyGo blog Clean Air Council website diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index e46c097b..86791ae5 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -1,28 +1,5 @@ - - - - - - @@ -53,5 +30,27 @@ android:targetClass="com.google.android.gms.oss.licenses.OssLicensesMenuActivity" /> - + + + + + + \ No newline at end of file