Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova Support #89

Open
boustanihani opened this issue Sep 30, 2014 · 16 comments
Open

Cordova Support #89

boustanihani opened this issue Sep 30, 2014 · 16 comments

Comments

@boustanihani
Copy link

Does Kadira support Cordova ?

I am using meteor build --debug ... to generate a APK file and install it on my android phone.
When I inspect my app (using USB Debugging & Chrome) I see the following error on my console:

GET http://192.168.2.111:39455/undefined/simplentp/sync 404 (Not Found)

When using a regular desktop or mobile browser everything goes fine...

@arunoda
Copy link
Member

arunoda commented Oct 1, 2014

Thanks for informing.
We've not tested it yet with Cordova.

Our server stuff will work without any issues. This is regarding our client
side component.
I'll make a fix very soon.


Arunoda Susiripala
I curate Meteor Weekly - Check it out!
http://meteorhacks.com/meteor-weekly/?utm_source=email-footer&utm_medium=email&utm_campaign=meteorweekly

On Tue, Sep 30, 2014 at 11:44 PM, boustanihani notifications@github.com
wrote:

Does Kadira support Cordova ?

I am using meteor build --debug ... to generate a APK file and install it
on my android phone.
When I inspect my app (using USB Debugging & Chrome) I see the following
error on my console:

GET http://192.168.2.111:39455/undefined/simplentp/sync 404 (Not Found)

When using a regular desktop or mobile browser everything goes fine...


Reply to this email directly or view it on GitHub
#89.

@arunoda
Copy link
Member

arunoda commented Oct 2, 2014

Hey, can you please try now.
We've made kadira fully available on cordova with the latest release (2.11.0)

@boustanihani
Copy link
Author

After upgrading to 2.11.0 I am getting the following error in the browser console:

XMLHttpRequest cannot load https://engine.kadira.io/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://<subdomain>.meteor.com' is therefore not allowed access. 

This the case when running a local meteor dev-server and also when deploying to meteor.com

@arunoda
Copy link
Member

arunoda commented Oct 3, 2014

Let me check that.


Arunoda Susiripala

@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda

On Fri, Oct 3, 2014 at 1:39 PM, boustanihani notifications@github.com
wrote:

After upgrading to 2.11.0 I am getting the following error in the browser
console:

XMLHttpRequest cannot load https://engine.kadira.io/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://.meteor.com' is therefore not allowed access.

This the case when running a local meteor dev-server and also when
deploying to meteor.com


Reply to this email directly or view it on GitHub
#89 (comment).

@thani-sh
Copy link
Contributor

thani-sh commented Oct 3, 2014

I got this.

@arunoda
Copy link
Member

arunoda commented Oct 3, 2014

fixed that :D

@boustanihani
Copy link
Author

This was the quickest fix I have ever seen :)

When will the new fix get published ?

@arunoda
Copy link
Member

arunoda commented Oct 3, 2014

in few minutes :)


Arunoda Susiripala

@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda

On Fri, Oct 3, 2014 at 2:50 PM, boustanihani notifications@github.com
wrote:

This was the quickest fix I have ever seen :)

When will the new fix get published ?


Reply to this email directly or view it on GitHub
#89 (comment).

@arunoda
Copy link
Member

arunoda commented Oct 3, 2014

Hey, can you please check that.
I published the package.


Arunoda Susiripala

@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda

On Fri, Oct 3, 2014 at 2:50 PM, Arunoda Susiripala <
arunoda.susiripala@gmail.com> wrote:

in few minutes :)


Arunoda Susiripala

@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda

On Fri, Oct 3, 2014 at 2:50 PM, boustanihani notifications@github.com
wrote:

This was the quickest fix I have ever seen :)

When will the new fix get published ?


Reply to this email directly or view it on GitHub
#89 (comment).

@boustanihani
Copy link
Author

Issue solved, I will now test this with Cordova

@boustanihani
Copy link
Author

I still need some time to give valuable feedback due to some issues with iron:router@1.0.0-pre3 support for Cordova, will be back soon...

@arunoda
Copy link
Member

arunoda commented Oct 4, 2014

great.


Arunoda Susiripala

@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda

On Sat, Oct 4, 2014 at 6:13 PM, boustanihani notifications@github.com
wrote:

I still need some time to give valuable feedback due to some issues with
iron:router@1.0.0-pre3 support for Cordova, will be back soon...


Reply to this email directly or view it on GitHub
#89 (comment).

@xumx
Copy link

xumx commented May 15, 2015

Got this on iOS Cordova
This issue is related to #148
It is gone after I've set the whitelist

[Error] Failed to load resource: Origin http://meteor.local is not allowed by Access-Control-Allow-Origin. (errors, line 0)
[Error] XMLHttpRequest cannot load https://engine.kadira.io/errors. Origin http://meteor.local is not allowed by Access-Control-Allow-Origin. (m, line 0)

@arunoda
Copy link
Member

arunoda commented May 15, 2015

Thanks @xumx for updating. I hope we can't automatically add this to the app? Do you know a way to whitelist this automatically?

@AlbinoGeek
Copy link

XMLHttpRequest cannot load https://enginex.kadira.io/simplentp/sync.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
The response had HTTP status code 522.

On Meteor 1.1.0.3 [release]
meteorhacks:kadira 2.23.0

(It has started happening again.)

@arunoda
Copy link
Member

arunoda commented Aug 8, 2015

We had a downtime.
Sorry about the issue.
Now everything is back online :)

On Sat, Aug 8, 2015 at 5:12 AM Damon Blais notifications@github.com wrote:

XMLHttpRequest cannot load https://enginex.kadira.io/simplentp/sync.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
The response had HTTP status code 522.

On Meteor 1.1.0.3 [release]
meteorhacks:kadira 2.23.0


Reply to this email directly or view it on GitHub
#89 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants