Good afternoon,
First of all, just to let you know, we successfully launched our business app (to accompany our website) in the Dutch Android app store yesterday, planning an iOs release in february. See
https://play.google.com/store/apps/details?id=com.chainelsbv.chainelsHowever, we noticed that on some older models, an annoying issue again relating to the opening/closing of the keyboard and inputfields (edittexts). Please see the images in the attached ZIP for this; for two different screens, I made a picture (and not a screenshot, because on a screenshot everything looks fine again). This is what happens:
1) screen looks fine
2) input text in a field that is on the lower half of the screen, so the view pans up (as it should, resize is not an option here), but there is visible distortion (e.g. whitespace in this case).
3) close the keyboard, so the view pans back down. The distortion (white lanes/stripes) is still visible.
4) input text in a field on the upper half of the screen. Nothing happens, and the distortion goes away afterwards (even after keyboard close).
Again, on new devices, this does not seem to happen (no distortion occurs). I even tried to call the 'invalidate' function on all inputfields every second, but that didn't help in any way, unfortunately.
Another (perhaps related) issue seems to occur after the app has crashes; we had a piece of LUA code that contained a case error, and thus caused the app to shutdown. However, on some devices, apparently the whole Android bridge becomes buggy after this (see fields_after_crash image in attached ZIP). All inputfields become black and their placeholders unreadable. This can only be fixed by forcefully shutting down the app completely (e.g. remove it from background). Perhaps a crash on the LUA level should force that as well or something?
Finally, might it be correct that the event for a push notification is not fired when the app is opened from scratch, e.g. not running in the background yet (and then selecting a notification)? It does not seem to happen at all for us in this case. I also had some rare occurrences of the whole app staying black when opening a notification, but I cannot reproduce this.
Anyway, these were the main issues we have, all with the latest version of Gideros and all plug-ins. I hope you can look into them
Kind regards,
Vincent
Comments
1) I will check about the rendering issues, probably something due to combination of OpenGL. Unfortunately I can't seem to check the app, because it shows being incompatible with my LG P500 Android 2.3, any ideas why?
Also found some answer on stack overflow that it happens with adjustPan but should work ok with adjustResize value in manifest
What value did you end up using?
2) What do you by "we had a piece of LUA code that contained a case error"?
3) Will retest that
Nice!
1) I have no idea; the developer console reports that all 4431 devices are supported (0 incompatible). adjustResize won't cut it for us; that makes the whole screen look very ugly, unfortunately
2) It does not matter that much; e.g. I called a function 'dothis()' whilst it was supposed to be 'doThis()'. The thing that matters that on any LUA error/crash, the edittexts get distorted completely, like in the screenshot.
3) Thanks; curious what you find out for all of these issues!
-Vincent
Unfortunately I can't test it with your app, because for some reason it says it is incompatible on Google Play. (maybe you could send me the .apk to ar2rsawseen@gmail.com)
About the lua error, then yes it is in our priorities to make Lua errors crash the app, not simply close it.
And about Notifications, I'm actually making some rearrengments there to add wasOpened bool to even to indicate app was opened from notification, so I will have to retest al behaviors again after that.
On the rendering problems: you might not be able to download our app because it is Dutch-only? You would need a log-in anyway, and why would the issue be specific to our app? Just put an Android inputfield towards the button of the screen...
We did notice differences between devices, however most we tried do have the issue, unfortunately: HTC Legend (Android 2.2), HTC Desire S (Android 4.0), LG Optimus 4xHD (Android 4.4) all show the error.
Currently fixing the AdsInterface is the first on my list (which I hope to accomplish this week) and fixing Notification plugin is the next one.
About the core update, unfortunately, there will be a delay.
http://www.giderosmobile.com/forum/discussion/4459/gideros-news/p1
- Didn't you already fix that ANR I reported, and if so, can that be released already?
- Could you still check out this OpenGL issue, perhaps if I compile a very simple example-app that has this problem for you? I've already listed the devices that have that problem to make it easier.
And fixing the Notification plug-in would be great as well, see my reaction I've just posted there please
-Vincent
About ANR, I said we discussed internally how we can try fixing it, but we still need to experiment if that works or not
But you can actually fix it by calling:
I just don't know how to better incorporate it with keyboard appearing events, but most probably you can also call it periodically while user inputting text or something like that
But I may have a more efficient solution for this problem.
Inside GBridge.java add static variable: