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

Galaxy Nexus Stock-Browser #202

Closed
bennybennet opened this issue Jul 9, 2013 · 14 comments
Closed

Galaxy Nexus Stock-Browser #202

bennybennet opened this issue Jul 9, 2013 · 14 comments

Comments

@bennybennet
Copy link

I did a small HelloWorld-WebApp. It uses a small Template (MDV)

<template bind>
  Hello {{World}}
</template>

It is working in all mobile browsers (Chrome, Firefox, Safari, Opera) except the stock browser on my Galaxy Nexus. I always just get Hello {{World}} instead of Hello World(or whatever the models wants {{World}}to be).
I experience the same issue on your Getting started page. The results are always empty on my stock browser.

It is Android 4.2.2, Kernel 3.0.31-g9f818de on a Galaxy Nexus.

Edit:
I set up an Android 4.2.2 Emulator and managed to get the following console output:
"07-09 14:31:11.734: ERROR/browser(1990): Console: Uncaught ReferenceError: Window is not defined http://XXX/ext/polymer-all/platform/platform.min.js:28
07-09 14:31:11.814: ERROR/browser(1990): Console: Uncaught TypeError: Object # has no method 'performMicrotaskCheckpoint' http://XXX/src/js/index.js:51"

Seems to be the Problem

Regards,
Benny

@jkomoros
Copy link

jkomoros commented Jul 9, 2013

Hi Benny,

The Android stock browser is not officially supported (see http://www.polymer-project.org/faq.html#which-browsers-does-polymer-support). Chrome for Android is supported, however.

@bennybennet
Copy link
Author

So you can't use polymer-project for hybrid-apps? (e.g. Phonegap)

@jkomoros
Copy link

jkomoros commented Jul 9, 2013

At the moment, no. Remember that Polymer is in "pre-alpha", however. Being
able to use it for Phonegap apps would be pretty cool, and it's definitely
on our radar.

On Tue, Jul 9, 2013 at 7:47 AM, Benny Bennet Jürgens <
notifications@github.com> wrote:

So you can't use polymer-project for hybrid-apps? (e.g. Phonegap)


Reply to this email directly or view it on GitHubhttps://github.com//issues/202#issuecomment-20679022
.

@sorvell
Copy link
Contributor

sorvell commented Sep 25, 2013

Closing since the old android browser is unsupported.

@sorvell sorvell closed this as completed Sep 25, 2013
@pradeeshmp
Copy link

It is possible to use Polymer with Phonegap for Android Application, if then how it can be produced?

@ethan-sletteland
Copy link

BUMP. Lack of compatibility with stock is a deal breaker for my cordova projects :(

@bennybennet
Copy link
Author

Yep, that have been my intention too.
Would've loved to use it in my cordova project back then. :(

@robdodson
Copy link
Contributor

Take a look at Crosswalk
https://crosswalk-project.org/#documentation/cordova

It sounds like it bundles up a Chrome Webview that you can use in your app to get support on Android 4.0+ devices. Haven't personally tried it yet but I'm super interested to hear if you guys have any success with it

@garrows
Copy link

garrows commented Aug 28, 2014

Mobile Chrome Apps now uses crosswalk by default.
https://github.com/MobileChromeApps/mobile-chrome-apps

@robdodson
Copy link
Contributor

+1 for Crosswalk. We've seen a number of developers use that to improve
compatibility

On Wed, Aug 27, 2014 at 8:15 PM, Glen Arrowsmith notifications@github.com
wrote:

Mobile Chrome Apps now uses crosswalk by default.
https://github.com/MobileChromeApps/mobile-chrome-apps


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

@garrows
Copy link

garrows commented Aug 29, 2014

I set up a polymer app with cca yesterday and it works really well on my old galaxy nexus. Feels native.

Having some troubles with an iOS device atm. Will report back with more details soon.

Oh, and the remote chrome debugging you get with chrome://inspect is amazeballs!

@garrows
Copy link

garrows commented Aug 29, 2014

cca isnt bundling chrome with ios and is just using the default webview. The userAgent is Mozilla/5.0 (iPhone; CPU iPhone OS 7_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Mobile/11D167 (4477654960)

ccv -v is 0.3.2-dev and I tried 0.3.1 before that.

@robdodson any ideas?

[edit] I've also opened a issue on the ChromeMobleApps repo MobileChromeApps/mobile-chrome-apps#299

@bennybennet
Copy link
Author

That's ok because Apple does not allow embedding chrome in apps. So as long as you want to deliver your app via AppStore you have to use the WebView (based on Safari) provided by Apple. One could check if CCV is using the new UIWebView or the old WebView, maybe here's space for improvement.

@garrows
Copy link

garrows commented Aug 30, 2014

Thanks @bennybennet. I was shocked to find out that even Chrome on iOS is really Safari. https://developer.chrome.com/multidevice/ios/overview

Still having troubles with finding the right build chain for polymer

Build Android >= 4.4 Android <= 4.3 iOS Desktop Chrome App
Cordova works doesnt works n/a
ChromeApp works works doesnt doesnt
ChromeApp with vulcanize doesnt doesnt doesnt almost (page events not firing)

It's looking like I'm going to have to use cordova for iOS and MobileChromeApps for android which isn't ideal but still better than doing thing natively.

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

7 participants