Search Unity

using cloud build for distributing apps to customers?

Discussion in 'Unity Build Automation' started by mgear, May 19, 2021.

  1. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,433
    Could cloud build be used to distribute apps for company customers?

    - Company A (us) creates app.
    - Company B receive builds into their own devices.

    Is it allowed?

    (this would be android only, not ios where enterprise dev can be used)
     
  2. ocnenued

    ocnenued

    Joined:
    Apr 4, 2018
    Posts:
    26
    You can set UCB's webhooks to trigger a CI agent (or your custom server) and that agent can use UCB's APIs to access public APK download link, and then distribute it anyway you like. We're currently doing this to distribute our apps through App Center.
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,433
  4. xjjon

    xjjon

    Joined:
    Apr 15, 2016
    Posts:
    612
    The google distribution works pretty well for internal app - the customer can even automatic update from the play store for new updates.

    In regards to sensitive information, I supposed in most cases you want to have some authentication / authorization checks server side anyway (outside of the app) before the data is available on device
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,433
    i was reading about that, but ideally this would be totally offline app (no extra data in the cloud),
    so it shouldn't need to load anything after installation..

    and apk is too big for emailing directly (to install from mobile email).

    so far i guess it only leaves with:
    CloudBuild > custom scripts to move APK somewhere > get secure download link for it > they download apk in mobile and install from there.

    but then again, probably easier to distribute with google, have secure download/login for the sensitive data bundle..
     
  6. xjjon

    xjjon

    Joined:
    Apr 15, 2016
    Posts:
    612
    Yeah, possible the middle ground is to have a 1 time sign on required before loading the data on device for offline use.
     
  7. coshea

    coshea

    Joined:
    Dec 20, 2012
    Posts:
    319
    Is there any documentation or tutorials anywhere on how to do this?

    Thanks
    Chris