Comments (5)
Wow. phonegap serve
is awesome, I had not heard of it before so thanks for that info. I just tested it out and it works great.
Here's how I got it working:
- cd into the
cordova/
folder and runmkdir .cordova
this is how phonegap checks it's a cordova project source - run
phonegap serve
within thecordova/
folder
Let me know if you have any trouble getting it to work
from ember-cli-cordova.
@kibiz0r As an update to this, you can actually use the PhoneGap developer app with ember-cli, but without using phonegap's serve command.
The way this works is that their app simply set's the location.href
to the url phonegap serve serves up that page and polls that server for changes. Since ember-cli run's it's own server and injects livereload this isn't necessary. You can simply set the app's location.href
to your local ember-cli app. Unfortunately due to the way it sets up it's polling you can't do this with their app straight out of the box. I have a fork I'll be working on that allows this though found here To use it you'll need to download it and run it locally and then enter the URL of your ember app. Currently the plugins will not work unless you copy them from (on iOS) cordova/platforms/ios/plugins and cordova/platforms/ios/cordova* to the public directory
That being said, it does work with the serve command with a few steps, so I'll close this out. We can definitely continue discussion here though
from ember-cli-cordova.
Awesome! Thanks for the quick reply, I'm really impressed by this project. If I figure out something to contribute, I'll be sure to submit a PR. 😄
from ember-cli-cordova.
@jakecraige @kibiz0r Just seen this and that looks very promising indeed and would be extremely useful to have proper support for that and mention it in the readme. Would have saved us quite some development time.
Just looking at your fork @jakecraige, you changed the line config.address = config.address || '127.0.0.1:3000';
, so if you serve ember on port 3000 it should work as well? Or can you not just customize it via config.address? (This is the very first time I am seeing the phonegap app)
And what is the reason that the original ajax requestion with url: getAddress('/__api__/register'),
does not work?
from ember-cli-cordova.
It does not seem to work with the new PhoneGap App Version Anymore.
Console spits out:
404 /api/appzip
And in the app it says: "Unable to download archive from the server. Please upgrade the Phonegap CLI or check your network settings."
Ember Cli Cordova: 0.0.17
Ember Cli: 0.2.5
Phonegap App Update on 19.05.2015
from ember-cli-cordova.
Related Issues (20)
- Error running ember generate cordoba-init com.test.app --platform=android HOT 2
- Building to "Production" causing parse error. HOT 1
- Ajax request failing in cordova/phonegap app on real device HOT 1
- Connection To Server Unsuccessful HOT 2
- Deprecation in ember 2.1: The `initialize` method for Application initializer 'cordova:in-app-livereload' should take only one argument
- Need Maintainers HOT 8
- Bump npm-version HOT 8
- How can I prevent the browser from opening when the app starts? HOT 5
- [META][FEAT] ember-cli platforms integration
- Can't get any form of livereload working for iOS HOT 2
- Bump the npm-version HOT 2
- Does ember-cli-cordova support the POD structure? HOT 3
- Configuration based way to know if you are building with Cordova
- ENOENT: no such file or directory, uv_chdir HOT 1
- Android: Cordova Defaut Splash Screen is Blank HOT 1
- Failed to install 'cordova-plugin-whitelist' HOT 7
- cordova-starter-kit HOT 1
- Hybrid app not connecting to couchdb data in aws. HOT 1
- Getting Started ember generate cordova-init com.poeticsystems.hello --platform=android HOT 1
- DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade toat least ember-cli-babel 6.6.0 HOT 1
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 ember-cli-cordova.