"tim_beynart" wrote:
I am seeing a failure in an in-market app:
BRIGHTSCRIPT: ERROR: Runtime: "roArray": invalid number of parameters
This is caused by the following line:
m.adbeaconlist = CreateObject("roArray")
I never saw this error before when we tested and verified the application. Now our advertising tracking is broken. In production.
My fix is to use bracket notation:
m.adbeaconlist = []
But my question is, why did this break? What changed in OS7.1?
I remember running into that years ago, long before the 7.1 update. As far as I know, you've always needed to supply a length parameter e.g. CreateObject("roArray", 10, true). Unless there was a prior OS update during which the check was not happening, I'm not sure why you'd see the error now and not earlier.