Jump to content

Download new build without Sync


This topic is 2426 days old. Please don't post here. Open a new topic instead.

Recommended Posts

While testing various builds I will download a version do the initial sync and then do testing but never sync back the data.

Currently my workflow for this is, to quit the solution, go to my Notes app on the device, and click a link to go to safari to download the build again.

I would like to have some means to pass a parameter to the MS script bypass the sync operation and just like when it detects a new version prompt to download a new build, but in this case just ignore the version and get a new clean build, using the same architecture all from with FMGo using the MirrorSyncUpdater file. 

I would burry that button on a developer layout or other means to prevent it from being used in standard operation.

 

Link to comment
Share on other sites

I haven't actually tested this, but it seems like this could be accomplished with these steps:

* Change the DatabaseVersion field from a calculation to an auto-entered calculation

* For your developer script in the offline file, change the database version to '0' and then run the script. '0' will be different than whatever version is on the server, so it will trigger the update to run.

Link to comment
Share on other sites

Hmm was thinking that wouldn't bypass the sync? After initial sync perhaps a few hours goes by and I am tapping buttons adding data testing the flow of info. Intent is to do just the update part without sync.

Link to comment
Share on other sites

OK, I see what you're saying. To do what you want, the best thing is going to just simply be copying and pasting that section of the MirrorSync script into a separate script that you run manually.

You'll find this towards the end in the sync finished section of the script. 

  • Like 1
Link to comment
Share on other sites

This topic is 2426 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.