The bootstrap service uses the field app inside the survey xml to verify if the survey belongs to that instance.
Since the migration of some instances, we will have nothing to verify the app field against. We have decided to fix this the following way:
Backend: add aliasfield to the xml form which will have the same value as the alias from appengine-web.xml config file
Mobile: when we verify for bootstrap, first check if alias exists and if so, check it against instanceUrl field, otherwise fallback to app verification using the newly added projectId field
Server config: add the new projectId field to all instances
On the newly migrated instances, (see https://github.com/akvo/akvo-flow-server-config/issues/649), bootstrap will not work in some of their mobile app versions. It will work on older apps but not with the more recent ones. If this happens we need to tell them to update their apps to the latest version.
The bootstrap service uses the field app inside the survey xml to verify if the survey belongs to that instance.
Since the migration of some instances, we will have nothing to verify the app field against. We have decided to fix this the following way:
alias
field to the xml form which will have the same value as the alias fromappengine-web.xml
config fileinstanceUrl
field, otherwise fallback toapp
verification using the newly addedprojectId
fieldprojectId
field to all instancesOn the newly migrated instances, (see https://github.com/akvo/akvo-flow-server-config/issues/649), bootstrap will not work in some of their mobile app versions. It will work on older apps but not with the more recent ones. If this happens we need to tell them to update their apps to the latest version.