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

Whats the difference from cordova-plugin-hostedwebapp? #27

Closed
gajus opened this issue Mar 27, 2017 · 5 comments
Closed

Whats the difference from cordova-plugin-hostedwebapp? #27

gajus opened this issue Mar 27, 2017 · 5 comments

Comments

@gajus
Copy link

gajus commented Mar 27, 2017

cordova-plugin-hostedwebapp appears to be aiming to achieve more or less the same goals. Unlike cordova-plugin-remote-injection, it has handy features such as a page that can be displayed when application is offline.

Was there a particular reason to create this plugin?

I am only wondering because I am researching which plugin to use.

@bradleyjames
Copy link
Collaborator

This plugin started 2 years ago. I don't recall exactly why I didn't use cordova-plugin-hostedwebapp. But I do know that when I was researching I didn't find any apps that worked in the manner we were looking for and thus this plugin was born.

I highly recommend evaluating cordovan-plugin-hostedwebapp because this plugin won't be receiving updates. I'll patch bugs but I'm no longer using it. So if it satisfies your use cases I'd say go for it.

@gajus
Copy link
Author

gajus commented Mar 29, 2017

I highly recommend evaluating cordovan-plugin-hostedwebapp because this plugin won't be receiving updates. I'll patch bugs but I'm no longer using it. So if it satisfies your use cases I'd say go for it.

If thats the case, it would be nice to add a depreciation notice in favor of selected libraries.

@gajus
Copy link
Author

gajus commented Mar 29, 2017

Thank you for the update.

@gajus gajus closed this as completed Mar 29, 2017
@pauloya
Copy link

pauloya commented Oct 8, 2018

Sadly hostedwebapp doesn't seem to have any support anyway, it doesn't build with the latest cordova versions.
I wonder if this plugin survives the test of time better?
Or does anyone know of any other plugin that does a similar job and is up to date?

@markdon
Copy link

markdon commented Oct 8, 2018

remote-injection works for cordova-android@7.0.0 and cordova-ios@4.5.4, although there are some issues open for people having trouble. It shouldn't be much work to update this plugin if there is a problem with latest and you know a little bit of cordova/ios/android.

A year ago or so I picked remote-injection over hostedwebapp because hostedwebapp seemed to do more that what was needed. remote-injection pretty much just does cordova/js injection with some not-great offline handling. Once Apple finally adds ServiceWorker to WKWebView, offline can be handled with js.

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

4 participants