BRCAChallenge / BRCAMobile

0 stars 0 forks source link

readying for re-release checklist (iOS) #20

Open falquaddoomi opened 7 years ago

falquaddoomi commented 7 years ago

(This is a duplicate of issue #18, but specifically for iOS users rather than Android users.)

Before we re-release, we should verify that the following items are addressed:

Regular App Usage (Searching, Viewing, and Following):

Home and search screens:

Details view:

Results list icons:

Help/resources:

(Items below are accessible from the drawer.)

Notifications

Notify Log

Instructions on testing notifications can be found here: Debugging Notifications. The below assumes that you're following "c.956a>c" and enabled the mock server with quicker refreshes.

Background notifications

For these tests, you should leave your phone idle and then check on it later.

Possible scenarios in which to test the background task:

melissacline commented 7 years ago

On my iPhone 5C, I'm getting everything except this:

On the "Details" screen, pressing the "open in browser" button (top right corner) should open a browser to the variant's information on brcaexchange.org.

When I downloaded the app during the day on Nov 15 and followed c.956A>C, I didn't receive any notifications until late that night. Now, I seem to be receiving notifications regularly.

falquaddoomi commented 7 years ago

Good catch regarding the missing link button; incidentally the button does render in the debug build, but not in release. I've worked on it a bit since you reported it, and it appears that it's now rendering in release as well, but I'll release a build in a few minutes to make sure.

Here's what it looks like in debug, for reference:

(Details for the curious: the button was the only absolutely-positioned child inside a View, which apparently is getting optimized away in release since it just holds a single View. Unfortunately culling the View affects its children's positioning on the page, since Views are relatively positioned by default, but the View's parent is a flexbox. I switched out the containing View for a Component, which never gets rendered anyway, and that seems to sidestep the culling issue.)

falquaddoomi commented 7 years ago

Regarding the late refresh, it's hard to say why it didn't run until the evening. My assumption is that the task had a chance to run once without the "Quicker Refresh Interval" option enabled, which would set its backoff timer to 12-24 hours. Unfortunately changing the refresh interval only effects the backoff timer the next time the task runs to completion (although I'm strongly considering changing that behavior now). It's also possible that the OS just didn't find an opportunity to schedule it until the evening, although that seems unlikely.

EDIT: actually, I'm going to include resetting the refresh timer when "Quicker Refresh Interval" is enabled in the build I'll be releasing in a minute.