You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running in Android emulator: A history state object with URL 'http://10.0.2.2:3000/...' cannot be created in a document with origin 'http://meteor.local'
#14
I'm using Iron Router (latest version on latest version of Meteor) for my app and it runs smoothly on desktop devices. Now, I'm trying to pack it as an app for Android, but I get following error: I20150306-16:56:52.261(2) (android:http://meteor.local/packages/meteor.js:913) Exception from Tracker afterFlush function: Error: A history state object with URL 'http://10.0.2.2:3000/search/_/_/_/10' cannot be created in a document with origin 'http://meteor.local'. I20150306-16:56:52.261(2)? at http://meteor.local/packages/iron_location.js?ca4f0f6672edbfb6cafab6e5c024208d9364eac9:296:21 I20150306-16:56:52.261(2)? at Tracker.flush (http://meteor.local/packages/tracker.js?517c8fe8ed6408951a30941e64a5383a7174bcfa:448:11)
When I run it via meteor run android --mobile-server meteor.local I get the following error instead I20150306-17:05:16.358(2) (android:http://meteor.local/:1) Uncaught SyntaxError: Unexpected token < which I assume having to do with that the socket connection gets and 404 error page (in HTML, thus starting with an <) where it is expecting to get data.
The text was updated successfully, but these errors were encountered:
It was quite a while ago, but if I remember correctly, it was due to the
version of Android on my phone, meteor and the entire environment setup
supports 4+ only.
On May 14, 2016 1:10 AM, "Victor Urbanas" [email protected] wrote:
I'm using Iron Router (latest version on latest version of Meteor) for my app and it runs smoothly on desktop devices. Now, I'm trying to pack it as an app for Android, but I get following error:
I20150306-16:56:52.261(2) (android:http://meteor.local/packages/meteor.js:913) Exception from Tracker afterFlush function: Error: A history state object with URL 'http://10.0.2.2:3000/search/_/_/_/10' cannot be created in a document with origin 'http://meteor.local'. I20150306-16:56:52.261(2)? at http://meteor.local/packages/iron_location.js?ca4f0f6672edbfb6cafab6e5c024208d9364eac9:296:21 I20150306-16:56:52.261(2)? at Tracker.flush (http://meteor.local/packages/tracker.js?517c8fe8ed6408951a30941e64a5383a7174bcfa:448:11)
When I run it via
meteor run android --mobile-server meteor.local
I get the following error insteadI20150306-17:05:16.358(2) (android:http://meteor.local/:1) Uncaught SyntaxError: Unexpected token <
which I assume having to do with that the socket connection gets and 404 error page (in HTML, thus starting with an <) where it is expecting to get data.The text was updated successfully, but these errors were encountered: