Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Is it possible to transfer data from the native.newWebView in the app.
Started by eto_ru Dec 02 2018 06:56 AM

2 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

eto_ru

[GLOBAL: userInfoPane.html]
eto_ru
  • Enthusiast

  • 35 posts
  • Corona SDK

Is it possible to transfer data from the native.newWebView in the app. For example, form data or text input or POST data



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,779 posts
  • Enterprise

When links are clicked on, you get an event back in your Corona app. If that link has HTTP GET key-value pairs, you could parse them to get data. But beyond that, there isn't a way to pass data back and forth.

 

Rob



[TOPIC: post.html]
#3

eto_ru

[GLOBAL: userInfoPane.html]
eto_ru
  • Enthusiast

  • 35 posts
  • Corona SDK

Looked at the documentation! Thanks for reply! I have one more question. How do I get the url and stop the transition event?




[topic_controls]
[/topic_controls]