Yup. Confirmed. I built two versions of the Business App Sample. One on build 2100 and one on build 2159. Build 2159 consistently crashes when I tap the entries on the Blog page loading one, closing it and going to the next one. 2100 is able to go through all without crashing. Anyone else seeing this?
I just tried tapping on the rows in the tableView and then hitting the back button, then tapping on another row then hitting the back button with 2156 and got no crashes. I think I have a bug in the event handling because if I click a link, weird things happen. Are you seeing this on device or in the simulator? Are you doing something other than clicking the tableView row and then the back button?
Rob
Built for device. Running on iPhone4 IOS 7.04
Tap first 2 entries, wait for load tap back
tap 3rd entry - halfway through this will fire off mobile safari and start loading youtube
close mobile safari go back to business app sample
you will see the webview loading. Hit back --> crashes on my device.
Same process not crashing on build 2100. Not sure whats different. Will try 2156 if you can try and confirm all is well. Thanks
Here are my observations about the webView crash:
(1) For Simulator, when accessing certain web pages (URLs), it always crashes, no matter what, regardless old or new versions of Corona. Therefore, I have been asking max84 if he is seeing the crash in Simulator or not, but he has not responded this question directly.
(2) For actual devices, webView does NOT crash in early Corona build (I started using webView in Aug though). But since September (my first post date), I found webView built with new Corona versions always crashes in actual devices. However, by using the workaround I provided in my earlier post, I don’t see any crash in actual devices even with the latest builds.
I hope this can clarify things a bit.
Therefore, I think if we want to talk about webView crash, let’s first to separate the problem to see if it’s a Simulator or actual device.
This is a concern isn’t it? If it wasn’t crashing pre-September and now is crashing unless workarounds are used then this is something CL should fix. Isn’t September the point when G2 was introduced? Perhaps this is a post G2 issue. Thoughts?
I tried to reproduce what Kerem did and on my iPhone 5 (7.0.4) I can’t crash it. I’ll keep looking at it to see if I’m doing something weird with how I’m dealing with the webView.
Rob
Rob, I think the device makes a difference. I saw references to iPhone 4S earlier in this thread. I can’t duplicate the issue on iPad mini either. Seems like this issue (if it exists) might be affecting older devices with lower resources or something like that. Do you have access to an iPhone 4?
Of course, it is a concern and I “hoped” Corona to fix it. Here is my earlier comment after I found the workaround:
It still feels tricky & unstable, is it possible to be fixed at Corona side?
I am still hoping Corona can pay more attention to webView and Corona should also consider a full rewrite for webView module. It’s way falling behind in terms of its quality & features. See this feature request:
And I am recently confronting another problem when handling webView orientation change. I am not sure if it’s my mistake or something wrong again in webView. I am working on this currently.
Voted on your request (although I firmly believe CL pays no attention to them…). Thanks for sharing your findings.
To be clear, I was experiencing the issue on-device, in build >2100 but the workaround worked in 2100 (which we’re building against currently). I was never able to crash the simulator, but was able to crash the app on both a 4th gen iPod touch running iOS 6.x and iPhone 5 on iOS 7.0.4.
I only have an iPhone 5 and an iPad 3.
Well, I hope CL test lab has some older devices to test on.
This issue happens when you try to leave a scene when a webview is still loading the page.
Even if you call stop first before removing it , it still crashes.
I reverted to using webpopups for now, whilst this issue is unresolved .
Has anyone filed a bug report on this yet? If now I will do so.
Cheers
This issue happens when you try to leave a scene when a webview is still loading the page.
It crashes consistently for me on iPhone 4 + iPhone 5s.
Even if you call stop first before removing it , it still crashes.
I reverted to using webpopups for now, whilst this issue is unresolved .
Has anyone filed a bug report on this yet? If now I will do so.
Cheers
Glad to hear you were able to duplicate the problem. I was wondering if anyone else would see it too or whether it was my iPhone4 going bonkers. I did not file a bug report on this one. Would be great if you could do it. Thanks much!!!
It’s weird… after the workaround, I never see crashes in iPhone 5S + iPhone 4 (I have both)
Please who claim crashes, could you share the source code that can reproduce the crash?
webView has been the weakest link in my business app from my last 4-months experience.
With this strange crash bug that people have been saying things differently in this post, I would suggest you vote on this request:
webView plays an important part for some business app. webView really needs more attention from Corona and take some ACTIONS.
Hi guys,
We still don’t have filed bug cases for what you describe, and now it seems that you can’t reliably reproduce the crash. Until you can, we can’t take much action until this happens… I hope you understand the logic behind that stance.
In your list, the cases that may be actual bugs should still be filed as reproducible bug cases. As for the features you request, some of them are appear to be reasonable at first glance, while others (sharing with Evernote?) would need to be described in much better detail re: what you’re struggling with and why.
Best regards,
Brent
Brent, I can consistently crash the Business App Sample from CL using the method I reported above on my iPhone4. Rob tried on iPhone5 and could not duplicate. Do you or someone else at CL have access to an iPhone4? Thanks
I need to review the devices we have and get back to you. I personally have an iPod Touch 4th-gen with iOS6.1.3, so this may be a similar test device. Should I test on that, or has somebody already done so?