Feature Request: nativ UI webview and JavaScript

Hello folks!

i have some problems with corona and hash location values (anchors);
short summary: apple has a bug, so corona can’t update new requests with changed location hash
(e.g. you call google.com and some seconds later you call google.com#test) …
— update: corona has fixed this in daily build #1025; BIG THX ! (but the feature request is still open :P)

This is my feature request:
To avoid this issue, i need a javascript api for my browser game.
This means, I need a function, with which I can send javascript code to the webview element like:

[lua]
webview.evalJavaScript(‘somefunction()’);
[/lua]

The code should look like this (I don’t know any Objective-C so sorry for any errors. ;))
[text]
NSString *result= [webView stringByEvaluatingJavaScriptFromString:@“somefunction()”];
[/text]

With HTML5 and more JavaScript support, Corona would fulfill the needs of a growing web developer scene!
So I hope, this will implemented quickly. :slight_smile:

Regards
Thomas [import]uid: 154981 topic_id: 35737 reply_id: 335737[/import]

Update:

You like this idea? Here is the vote link:
http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/3634334-nativ-webview-and-javascript-support [import]uid: 154981 topic_id: 35737 reply_id: 142121[/import]

Update:

You like this idea? Here is the vote link:
http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/3634334-nativ-webview-and-javascript-support [import]uid: 154981 topic_id: 35737 reply_id: 142121[/import]