Hydration for production builds?

  • 2
  • Question
  • Updated 5 years ago
This might be a stupid question, but can we use Hydration for production versions of our app? The nature of our user base requires us to make frequent updates that need to be accessible within minutes of our update and obviously, Apple doesn't work that fast.

I'm guessing we can do it for Android since our clients install the app direct from our web site.

Any advice or workarounds would be appreciated.
Photo of Marc Swindle

Marc Swindle

  • 1 Post
  • 0 Reply Likes

Posted 8 years ago

  • 2
Photo of Hardeep Shoker

Hardeep Shoker

  • 1941 Posts
  • 89 Reply Likes
Hey Marc,

It's not a stupid question at all; unfortunately, Hydration apps are currently only for development applications.

Specifically Apple does not allow for such mechanisms in your application as it's against their App Store Agreement.

Hardeep Shoker
Photo of Leonas Liudzius

Leonas Liudzius

  • 1 Post
  • 0 Reply Likes
Trigger.io seems to have a similar service and it works fine on the Apple app store so what is the thing making Hydration incompatible?

http://stackoverflow.com/questions/13...
Photo of Nicholas Padilla

Nicholas Padilla

  • 2 Posts
  • 1 Reply Like
I wanted to add to this topic. As stated in the linked SO post, it does seem that Hydrate should be okay with iOS - as it doesn't update any executable code or anything outside of JS/CSS/HTML and their assets. Please update this post again with an updated viewpoint according to Phonegap. I'd like to use the Hydrate functionality in production.

I guess this is ending up as a two part question/post - is there an ability to update the look/feel of the Hydrate reload screens? I'd like to update it and fix a bug - seems that the first time you load it, it goes to a blank gray screen. This should at least have a loading indicator or working animation.
Photo of James Fleming

James Fleming

  • 12 Posts
  • 0 Reply Likes
@Nicholas: Yes, I believe that you can update the Hydrate load screens, but not directly via build.phonegap.com . you can either build locally, or use the build service, download the package, convert to a zip, unzip it, modify the screens and stylesheets. rezip, rename and distribute