I tried with polymer 0.3.1 still getting errors (see below). However, it
turns out, it works fine without cca/cordova. I managed to get it running
inside the WebView using Android Studio.

My guess this happens because cordova injects a bunch of scripts and
polyfils before the platform.js.

platform.js is not the first script on the page. See
http://www.polymer-project.org/docs/start/platform.html#setup for details.
boot.js:49
 'window.webkitStorageInfo' is deprecated. Please use
'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage'
instead.
Uncaught NotFoundError: An attempt was made to reference a Node in a
context where it does not exist. HTMLUnknownElement.js:28
 Uncaught TypeError: Object #<Object> has no method 'deliverDeclarations'
polymer-expressions.js:222


On Fri, May 30, 2014 at 1:26 PM, Matthew McNulty <[email protected]>
wrote:

> Polymer 0.3.1 should address this issue. There was a bug in the shadow DOM
> polyfill.
>
>
> On Fri, May 30, 2014 at 1:08 PM, 'Aleksandar Rodic' via Polymer <
> [email protected]> wrote:
>
>> I recently tried to build a native Cordova app with cca
>> <https://github.com/MobileChromeApps/mobile-chrome-apps> and it appears
>> that polymer doesn't work inside the WebView. Just including
>> polymer+platform returns errors.
>>
>> My understanding is that the WebView uses Chrome that is several versions
>> behind the stable release. Perhaps it is much further behind than I thought
>> :)
>>
>> There are rumors that the next version of WebView might get WebGL support
>> (that was Chrome 30 on mobile I think)
>>
>> What is the oldest version of Chrome that polymer can run on? It would be
>> extremely useful if with the next WebView, we can wrap polymer apps and put
>> them on Play Store.
>>
>> Aki
>> --
>>
>> Aleksandar Rodic | Creative Technologist |  Google Creative Lab |
>> [email protected]
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Polymer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/polymer-dev/CACWkRh8MBg6P40okmj1%3D-N-eH4%2BCj6XLZXRqCAHU%3Db3OzVk7aA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/polymer-dev/CACWkRh8MBg6P40okmj1%3D-N-eH4%2BCj6XLZXRqCAHU%3Db3OzVk7aA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>


-- 

Aleksandar Rodic | Creative Technologist |  Google Creative Lab |
[email protected]

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CACWkRh8SLMiJKxxnSh0mGr2vYYgFp37Y-wmpXnkpG%2BX9vJAjiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to