How to Enable service worker for my android webview app

32 views
Skip to first unread message

Henry Mascot

unread,
Jul 31, 2017, 2:14:52 AM7/31/17
to Chromium-discuss
Hello 

i have an ember application that users service workers and pouchdb to work offline.

I want to create an android apk wrapper for the app so that users can install it on their devices.

I have the app in an apk but i get an error, that service workers are not supported in my android studio.

How can enable or support it ???????????








PhistucK

unread,
Jul 31, 2017, 2:17:09 AM7/31/17
to henr...@gmail.com, Chromium-discuss
Service Workers are not supported in WebView. I do not know what it takes for them to be supported, but I guess the work would be substantial.


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.

Torne (Richard Coles)

unread,
Jul 31, 2017, 11:19:51 AM7/31/17
to phis...@gmail.com, henr...@gmail.com, Chromium-discuss
Service Workers have been supported for many releases. What version of WebView is installed on the device you're using for testing?

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

PhistucK

unread,
Jul 31, 2017, 1:01:57 PM7/31/17
to Torne (Richard Coles), Henry Mascot, Chromium-discuss
Whoops!
Sorry, I guess the status of the push API made me forget that announcement and think that the push API is not supported because service workers are not supported.


PhistucK

On Mon, Jul 31, 2017 at 6:19 PM, Torne (Richard Coles) <to...@chromium.org> wrote:
Service Workers have been supported for many releases. What version of WebView is installed on the device you're using for testing?
On Mon, 31 Jul 2017 at 02:16 PhistucK <phis...@gmail.com> wrote:
Service Workers are not supported in WebView. I do not know what it takes for them to be supported, but I guess the work would be substantial.


PhistucK

On Mon, Jul 31, 2017 at 6:37 AM, Henry Mascot <henr...@gmail.com> wrote:
Hello 

i have an ember application that users service workers and pouchdb to work offline.

I want to create an android apk wrapper for the app so that users can install it on their devices.

I have the app in an apk but i get an error, that service workers are not supported in my android studio.

How can enable or support it ???????????








--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.

Henry Mascot

unread,
Aug 3, 2017, 8:27:06 AM8/3/17
to Torne (Richard Coles), PhistucK, Chromium-discuss
I think the problem is from the device i was using.
Tested it on another device and it worked.

On Mon, Jul 31, 2017 at 4:19 PM Torne (Richard Coles) <to...@chromium.org> wrote:
Service Workers have been supported for many releases. What version of WebView is installed on the device you're using for testing?

On Mon, 31 Jul 2017 at 02:16 PhistucK <phis...@gmail.com> wrote:
Service Workers are not supported in WebView. I do not know what it takes for them to be supported, but I guess the work would be substantial.


PhistucK

On Mon, Jul 31, 2017 at 6:37 AM, Henry Mascot <henr...@gmail.com> wrote:
Hello 

i have an ember application that users service workers and pouchdb to work offline.

I want to create an android apk wrapper for the app so that users can install it on their devices.

I have the app in an apk but i get an error, that service workers are not supported in my android studio.

How can enable or support it ???????????








--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.

Reply all
Reply to author
Forward
0 new messages