Skip to content

Releases: rectangle-dbmi/Realtime-Port-Authority

7.0.4 Release - Removing 2 Route Lines

15 Oct 02:01
Compare
Choose a tag to compare

Obtaining the Release

Google Play Store Page

Description

This is a patch release for updates to the bus list from version 7.0.3.

Changes

  • Remove 2 untracked transit lines from bus list:
    ** RED2
    ** 42 - Dormont

Internet Data Down Bug Fix

22 Aug 23:00
Compare
Choose a tag to compare

Obtaining the Release

Google Play Store Page

Description

This is a patch release for a bug in version 7.0.2.

Changes

Bug Fixes

  • App now correctly notifies you if Port Authority's servers are down or if your phone data has issues

Description

The app incorrectly notified the user that their internet is down, when in fact, the phone is fine when Port Authority's site is down. Now, the phone will correctly distinguish these two cases.

This bug happened because we would check the internet down state on IOException. When Port Authority's servers are down, Retrofit (the library we use to poll internet requests from Port Authority) will throw a SocketTimeoutException if the servers refuse to send a response. We didn't realize that this extended IOException, so the app mistakenly would think that the phone's connection is down.

To fix this, I made sure to add logic where I check to make sure that the error thrown by Retrofit is an IOException but not a SocketTimeoutException.

7.0.2 Patch Release

05 Jun 22:11
Compare
Choose a tag to compare

Obtaining the Release

Google Play Store Page

Description

This is a patch release for a bug in version 7.0.1 where the app crashes when a user clicks on the bus list before the Google Map is instantiated.

Changes

Bug Fixes

  • App crashed when a user clicks on the bus list before the Google Map is instantiated.
    • This happens when trying to check polyline states when the object for the list of polylines is not yet instantated
    • Now, the app does nothing in this case.

7.0.1 Release

04 Jun 18:16
Compare
Choose a tag to compare

Obtaining the Release

Google Play Store Page

Description

This release fixes lots of outstanding bugs, particularly with internet connection, and adds new information for users trying to travel to their destinations. All relevant code changes are in Pull Request #279

New Features

  • Detour Information now in 3 Dot Menu
  • Application Information to see App Settings in the Android Settings App now in 3 Dot Menu
  • Map now zooms in on you when location permissions are accepted and location tracking is on.

Bug Fixes

  • Camera state completely fixed -- #223
    • no longer zooms to Africa randomly
    • App now keeps camera state when reopening app
  • No more leaks with vehicle update interval
  • Bus vehicles now will reupdate when reconnected to internet. Previously, they would just freeze when internet was reconnected.
  • Bus vehicles now update when navigation drawer is out. Previously, buses would stop updating when the bus list was open and would only run when bus list was off.
  • App now reacts to Location Permissions correctly. Previously, the app would randomly crash when changing permissions

Code Enhancements

See #279 for all code changes between the previous release versions.

  • Map is now in its own Fragment
  • Bus clicks are fully reactive
  • Now using ReactiveNetwork to reactively see new app updates

Added Android Permissions

  • WIFI State permissions -- App needs to know wifi state if internet disconnected
    • android.permission.ACCESS_WIFI_STATE
    • android.permission.CHANGE_WIFI_STATE
  • Network Permission -- App needs to know cell phone network state if internet is disconnected
    • android.permission.ACCESS_NETWORK_STATE
  • android.permission.ACCESS_COARSE_LOCATION -- App needs to know "inaccurate" location permission to center the map on you.

Known Issues

  • #276 -- Polylines (route lines) do not show on the map when the app didn't precache route information and when reconnected. Ideally, when reconnected, the app will download polylines from Port Authority for all selected routes with no current polyline info.
  • There are bugs with route line coordinate parsing where if the polyline coordinates being read are somehow not actual numbers, the app will just crash. This will be fixed with #196.
  • Internet disconnection and reconnection messages will loop when connected to walled-garden wifi. The greatest example of this is connecting to Starbucks' wifi connection and not accepting their terms in the browser. This is actually expected; however, unfortunately, I cannot check for a walled-garden state easily. This will be fixed in a future version.

Internet Reconnection Bug Fix

09 May 04:14
Compare
Choose a tag to compare
Pre-release

Obtaining the Beta

Google Play Store Beta Opt-In

Then download the app normally through the Google Play Store Page

Changes

Bug Fixes

  • Vehicles will now correctly reload when internet is disconnected then reconnected related to phone connectivity issues

Enhancements

  • a prompt comes up when:
    • Internet is disconnected because of data issues
    • Internet is reconnected. App will prompt that the vehicle data is being retrieved again

Miscellaneous

  • add permissions for:
    • internet connection state
    • wifi state

Description

Since the app's beginnings, it had a bug where disconnecting the phone's data connection from the internet then reconnecting the internet will leave the app stagnant where vehicle data would never update unless the app is restarted or the screen is rotated. This update addresses this issue by handling this data and waiting for the vehicle updater to restart when internet is back.

Keep in mind that the added permissions may deter users from using the app. We only use these permissions for the above case so far, and in the future, we will be using this for polylines, too. We can ensure that we are not going to use this for other purposes, and this is reflected in the code.

Everything in 7.0b4 applies to this release as well as previous betas

Technical details are here: #277

Beta 4 Release

08 May 18:59
Compare
Choose a tag to compare
Beta 4 Release Pre-release
Pre-release

Obtaining the Beta

Google Play Store Beta Opt-In

Then download the app normally through the Google Play Store Page

Changes

Bug Fixes

  • Hamburger Menu (3 line graphic at the top left corner) now opens the list of buses

Enhancements

  • add a detour information button in the drop-down (3 dot) menu
  • "App Details" in the drop-down menu renamed to "App Info"

Description

This is an attempt to fix an issue from 7.0b1 where the hamburger menu no longer responded to clicks. This should be fixed now.

In addition, Port Authority stops tracking buses when off route, especially on detours. A "Detour Information" menu item was added to help mitigate issues regarding detours.

7.0b3

07 May 02:21
Compare
Choose a tag to compare
7.0b3 Pre-release
Pre-release

Obtaining the Beta

Google Play Store Beta Opt-In

Then download the app normally through the Google Play Store Page

Changes

  • Show an error message when Port Authority Servers are unresponsive.

Description

Recently, Port Authority has experienced frequent outages causing the API to become unresponsive. When this happened, PAT Track would wait for a response indefinitely without displaying anything on the map. This update adds a timeout to detect this situation and show an error message indicating that the Port Authority server is unresponsive.

This is pretty much an exact replica of the stable 6.4.2 release.

Port Authority Server Unresponsiveness Error Message Fix

07 May 02:11
Compare
Choose a tag to compare

Obtaining the Release

Google Play Store Page

Changes

  • Show an error message when Port Authority Servers are unresponsive.

Description

Recently, Port Authority has experienced frequent outages causing the API to become unresponsive. When this happened, PAT Track would wait for a response indefinitely without displaying anything on the map. This update adds a timeout to detect this situation and show an error message indicating that the Port Authority server is unresponsive.

Beta -- 42 and RED2 Added

29 Mar 01:15
Compare
Choose a tag to compare
Pre-release

Obtaining a Beta Version

Follow the instructions here

Summary

Nothing was changed from version 7.0b1 aside adding the two buses.

Changes

  • Added
    • Bus 42 -- Dormont
    • Shuttle RED2 -- Beechview Shuttle

Known Issues

  • Everything in 7.0b1
  • RED2 does not fit within its space in the bus list

Expect this fix to come with the next beta release.

42 and RED2 Added

29 Mar 01:10
Compare
Choose a tag to compare

Obtaining the release:

Please download through our Play Store

Nothing was changed from version 6.4 aside from adding the two new buses

Changes

  • Added
    • Bus 42 -- Dormont
    • Shuttle RED2 -- Beechview Shuttle

Known Issues

  • everything from 6.4
  • RED2 does not currently fit in its box