Comments (2)
Hi,
thank you very much for your request. I need to review it first. Unfortunately, I don't have any firefoxos device (I'll try some emulator), but I thing I can merge it with our master branch, as experimental support for firefoxos.
I have one question for now. You left comment in firefoxos/SocketProxy.js file, that we should modify config.xml. Could you modify that file?
from sockets-for-cordova.
Hi,
I try to modify config.xml, Add below setting:
then I build my demo-app
$ cordova platform add firefoxos
$ cordova build firefoxos
and check app/platforms/firefoxos/www/manifest.webapp
permissions settings not be add to manifest.webapp
😞
we need permission setting like below to enable tcp-socket:
"type": "privileged",
"permissions": {
"tcp-socket": {
"description" : "Create TCP sockets and communicate over them."
}
},
I add them to manifest.webapp
manually.
How to make Cordova do this automatically?
Does I make something wrong in my config.xml?
I found some issue here: https://issues.apache.org/jira/browse/CB-9407
about firefoxos simulator,
see:
https://developer.mozilla.org/en-US/Apps/Tools_and_frameworks/Cordova_support_for_Firefox_OS
Install firefoxos simulator:
- Install Firefox on PC.
- Run Firefox > Main menu > Tools > Web Developer > WebIDE
- Select Runtime > Install simulator > Install (Firefox OS 2.0)
After install simulator - Select Runtime > Firefox OS 2.0
- Open App > open packaged app (path: app/platforms/firefoxos/www/ )
6 Click 'Install and Run' button.
from sockets-for-cordova.
Related Issues (20)
- Find socket port number
- Visual Studio is unable to parse plugin.xml HOT 1
- Error function is not invoked if the socket could not be opened - iOS HOT 1
- Query: Does this plugin work on PC (Chrome Browser) HOT 2
- Plugin doesn't respond or do anything
- Connection Refused
- new Socket() fails HOT 3
- RFF: Setting a Timeout for socket operations HOT 1
- Force the socket.open through the Wifi even when "Avoid bad WiFi Connections" HOT 1
- How we get response HOT 1
- Socket Stuck CLOSING HOT 2
- Socket automatically closed after seconds HOT 1
- SSH connections
- Dont work in Sansung S7, S8 HOT 1
- How can I use ??? Have Example
- Connection Refused on Android
- Connect timeout ? HOT 2
- How to properly integrate in Ionic 3 HOT 15
- Update license to New BSD License
- Socket closes automatically
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sockets-for-cordova.