@related: html javascript tizen EdiT EditoR RedaK TiZen CapturE WebGl
Edit:
Answer is :
git diff config.xml
diff --git a/config.xml b/config.xml
index 98b3a9a..f4e0c11 100644
--- a/config.xml
+++ b/config.xml
@@ -44,5 +44,6 @@
<feature name="http://tizen.org/api/time.read" required="true"/>
<feature name="http://tizen.org/api/time.write" required="true"/>
<feature name="http://tizen.org/api/tizen" required="true"/>
- <name>transig</name>
+ <name>transig</name>
+ <access origin="*" subdomains="true"/>
</widget>
http://rzr.online.fr/q/html5# Hey #TiZen do you know how to perform a #CORS / #XmlHttpRequest through WebApp SDK ( using “file:” origin )?
How to use XmlHttpRequest from local file and prevent Origin null is not allowed by Access-Control-Allow-Origin. ?
I am in the process of creating a tizen app , and I want to perform a http query from my app , but it looks this is unsecure …
This action seems very basic, so I might have miss something ?
I can explain further and provide a sample code if needed
More to come later :
I will provide a sample code if needed …
XMLHttpRequest cannot load $URL. Origin null is not allowed by Access-Control-Allow-Origin.
Some hints :
if (origin != null) {
resp.setHeader("Access-Control-Allow-Origin", origin);
} else {
resp.setHeader("Access-Control-Allow-Origin", "*");
}
WEBRTC's GetUserMedia : needs to be enabled using : about:flags