Evening folks,
Have a few questions for ya, has anyone had problems with their edit-boxes or reading from files in beta 12? We have two apps on Google Play of which beta 12 broke both of them....
First our edit box creations no longer return an integer as an id or that's how its appearing...
Example:
global myBox as integer
myBox = CreateEditBox()
SetEditBoxMaxChars(myBox, 2 ) //<---app fails here as myBox will always = 0
In fact, you will get a message box popup stating Edit Box 0 does not exist then the program exits. This is happening on every instance of an editbox which depends on the method to return an id value.
Now if you open a new project and try this you will get prompted that since you don't have some sort of sensor you need to choose a default location for the file, if you choose one, it pops up every time, if you tell it no; you will never see it again and the editbox works as expected, this does not happen with our previous apps? We are doing more tests as we speak....
Secondly, our shopping app just black screens...and if you touch the window, it crashes(ie....program not responding dialog). Our shopping app reads from a rate file to get saved variable values and to understand if the user has performed certain tasks in order to make decisions on what they should be presented with. If the file previously exists, it does recognize that its there, however running the opentoread() method results in an error stating the file doesn't exist. If we do not comment the file code out we are hit with an error that it doesn't exist even after getfileexists said otherwise. When its commented out we simply get a black screen....and this is where a console log or debugger would make agk a better product.....sigh.
Example:
fname as string : fname = "apprate.txt"
file as integer
value as string
if (getfileexists(fname))
file = opentoread(fname)
value = readstring(file) //<---crash
closefile(file)
endif
However, the compiler detects nothing wrong with either app and they worked flawlessly(published) under beta 11.
Has something changed we didn't get the memo on....lol?
***UPDATE***
Reverted back to beta 11 and all our issues go away. Staying here for now.