watermarkchurch / theporch-apollos

0 stars 2 forks source link

QA Awaken Updates #138

Closed jpowell closed 3 years ago

jpowell commented 3 years ago

Final Load Testing


jpowell commented 3 years ago

Test new user experience, as well as existing app user experience

jpowell commented 3 years ago

Cache control to grep for:

https://github.com/watermarkchurch/theporch-apollos/blob/d741fb4d03baad8a4ad3f92b56d3cc570f13a694/apollos-church-api/src/data/contentful/Conference.js#L23

jpowell commented 3 years ago

@gburgett one request from @mikezigster is for a link to download the app similar to what we did for CLC. Does that ring any bells?

gburgett commented 3 years ago

https://app.contentful.com/spaces/7yx6ovlj39n5/entries/3b3m82tBwQDB4kLHkfRRjJ

Script in that section:

<script type="text/javascript">
  /**
 * Determine the mobile operating system.
 * This function returns one of 'iOS', 'Android', 'Windows Phone', or 'unknown'.
 *
 * @returns {String}
 */
function getMobileOperatingSystem() {
  var userAgent = navigator.userAgent || navigator.vendor || window.opera;

      // Windows Phone must come first because its UA also contains "Android"
    if (/windows phone/i.test(userAgent)) {
        return "Windows Phone";
    }

    if (/android/i.test(userAgent)) {
        return "Android";
    }

    // iOS detection from: http://stackoverflow.com/a/9039885/177710
    if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
        return "iOS";
    }

    return "unknown";
}

  if (getMobileOperatingSystem() == "Android") {
     window.location = "https://play.google.com/store/apps/details?id=org.watermark.clc2"
  } else if (getMobileOperatingSystem() == "iOS") {
    window.location = "https://apps.apple.com/us/app/church-leaders-conference/id1453439661"
  }
</script>

<div class="row">
  <div class="col-6">
    <a href="https://apps.apple.com/us/app/church-leaders-conference/id1453439661?itsct=apps_box&amp;itscg=30200" style="display: flex; overflow: hidden; border-radius: 13px;  width: 100%; height: 100%;"><img src="https://tools.applemediaservices.com/api/badges/download-on-the-app-store/black/en-us?size=250x83&amp;releaseDate=1553385600&h=ea2b17f366134dce0f8c03c7ae7e26d4" alt="Download on the App Store" style="border-radius: 13px; margin: auto"></a>
  </div>
  <div class="col-6">
    <a href='https://play.google.com/store/apps/details?id=org.watermark.clc2&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png' /></a>
  </div>
</div>
jpowell commented 3 years ago

Thanks dude!

jpowell commented 3 years ago

App download slug: https://www.theporch.live/app-download