-
Notifications
You must be signed in to change notification settings - Fork 175
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
Doesn't seem to work with Android's web browser (tested in the emulator) #12
Comments
Hey Chad, We're looking into this, thanks! |
Update: I've now tried the example code as well as my own code on an actual Droid X (not the emulator) and I get the same issue. One of the warnings I see is:
|
Hey Chad, We just tried it on a Android 2.1 emulator and a physical Android 2.2 Motorola Droid. Both devices showed the prompt and seemed to work fine for the chat demo. Can you make sure you are on the latest version available in npm? We have recently fixed a bug that caused similar symptoms in Safari. We're not sure if that issue also existed on Android; regardless the new version may make a difference. If you are already using the latest version, would you mind sharing the exact code you're running that triggers the failure? Thanks, |
Ok I've done some more work on this. I'm using NowJS version 0.2.3. I got it working finally and what I had to do was change the path for the Now.js file to this (in the HTML file): script src="nowjs/now.js" I had it originally set to the IP address of my Ubuntu machine and it would work on Chrome or Firefox from another machine but not on Android. I made the path change and now it works on everything. You can close this issue if you want, thanks for the help. Chad Lung |
Thanks for the bug report Chad! |
I just published a blog article where I built a simple chat application using NowJS and JQuery Mobile. I noticed it worked fine in Chrome and Firefox but doesn't work in the Android Web Browser (emulator). I then tried the example code from the nowjs repository and that didn't work either in the Android emulator (the initial prompt never shows up). I think this is tied into how the now.js file is sent (based upon warnings from Chrome) but I'm not sure.
You can see the code I used for the chat demo here: http://www.giantflyingsaucer.com/blog/?p=2535
Chad Lung
The text was updated successfully, but these errors were encountered: