Hadde vært nice å kunne oppdatere location dynamisk, basert på at det sendes inn locationId.
Fant ikke noe API for å hente ut locationId basert på søkestring som var åpent for CORS, men man kan hvertfall lage sin egen lille userstore og lagre locationIds manuelt der med dette tillegget:
update-yrlocation.zip
Hadde vært nice å kunne oppdatere location dynamisk, basert på at det sendes inn locationId.
Fant ikke noe API for å hente ut locationId basert på søkestring som var åpent for CORS, men man kan hvertfall lage sin egen lille userstore og lagre locationIds manuelt der med dette tillegget: update-yrlocation.zip
usage:
this.sendNotification("YR_UPDATE_LOCATIONID", {locationId: '1-123456'});