-
Notifications
You must be signed in to change notification settings - Fork 509
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
Capacitor Support #615
Comments
Hi, Thanks for the feedback for CodePush. I've added Capacitor to the code-push backlog. We are looking through priorities and adjusting them accordingly. Unfortunately, Capacitor support is not on our backlog for this quarter. We are aware of its growth and will continue to monitor its presence to help better prioritize our backlog of feature requests. Will close this for now |
Hi @botatoes , do you have any news on this? Thank you, |
Capacitor is now fully released on version 1 and is the preferred method recommended by the ionic team to do native apps - not cordova. https://blog.ionicframework.com/announcing-capacitor-1-0/ |
Its now 3rd quarter and I want to switch to capacitor but cannot because code push is not supported... Would rellay love to get a fast update on this.. |
Code push is a blocker for us to move to Capacitor. |
Still no update on this? |
It's been a while now and Capacitor is past a 1.0 release now (they are actually working towards a 2.0 release). Can anyone share an update on when this might be available? This is a huge blocker for our team to move to Capacitor. |
same here!
Am Do., 2. Apr. 2020 um 07:57 Uhr schrieb Jackson Gross <
[email protected]>:
… It's been a while now and Capacitor is past a 1.0 release now (they are
actually working towards a 2.0 release
<https://github.com/ionic-team/capacitor/releases/tag/2.0.0-beta.1>). Can
anyone share an update on when this might be available? This is a huge
blocker for our team to move to Capacitor.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#615 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGN7OUKDRK63GTOUYPXIL3TRKQSKXANCNFSM4GQMKBHA>
.
|
Any updates on this? |
Capacitor is currently 2.3 and working towards 3.0 npm's weekly download count is currently 64,825 and there are plenty of potential users(who uses cordova for now) waiting for plugin supports. Also this is a web resource, which might be easier to implement rather than native scripts (I guess) |
any update on this please |
+1 for Capacitor support. The platform is growing rapidly and the company that heads up development on it have ramped up their development efforts. |
This is something that is urgently needed. Capacitor is heading towards a version 3.0 release soon and there's no support, even though there are thousands of projects using Capacitor out there. When is the plan to support it? |
Please? Not sure what else to say after all the requests on this issue. |
As per my previous comment, code push over a year later is still a blocker for us before we can migrate to capacitor. |
Current progress is stalled at microsoft/cordova-plugin-code-push#450 (comment) |
+1 That would be a very, very desirable feature. |
+1 to everyone above. I would prefer using MS CodePush over Ionic's AppFlow. Don't forget documentation for mono-repos (lerna), please. As many ionic developers are reusing web-app code. |
Reopened the card due to a large number of requests for capacitor support. |
+1 |
Hey @andreidubov do you guys have any eta on when this might have a release candidate? |
Hey , |
Hi @rammere , thank you for your patience, but I think we will not be able to work on it soon.
Saying that I would expect that we can come back to the feature roadmap review not sooner than the mid of 2021. |
+1 for this - please, we really need this to work with Capacitor |
I was trying to just dive in with the Cordova option that AppCenter claims to be supporting and surprisingly it works (and very surprisingly almost hassle-free), at least from what I can tell - I saw myself in the Analytics panel of AppCenter.
`ios/App/App/config.xml` Content<?xml version='1.0' encoding='utf-8'?>
<widget version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<access origin="*" />
<feature name="AppCenterAnalytics">
<param name="ios-package" value="AppCenterAnalyticsPlugin"/>
<param name="onload" value="true"/>
</feature>
<feature name="AppCenterCrashes">
<param name="ios-package" value="AppCenterCrashesPlugin"/>
<param name="onload" value="true"/>
</feature>
<feature name="AppCenterPush">
<param name="ios-package" value="AppCenterPushPlugin"/>
<param name="onload" value="true"/>
</feature>
<feature name="AppCenterShared">
<param name="ios-package" value="AppCenterSharedPlugin"/>
<param name="onload" value="true"/>
</feature>
<preference name="APP_SECRET" value="00000000-0000-0000-0000-000000000000" />
</widget>
Hope this helps!
|
Just add this and it will work (at least for android, I haven't tested it on IOS yet) note: change const baseUrl = (
await Capacitor.Plugins!.Filesystem.getUri({ path: '', directory: FilesystemDirectory.Data })
).uri.replace('file://', '')
codePush.getPendingPackage((localPackage) => {
if (localPackage) {
const path = `${baseUrl}${localPackage.localPath}/dist`
switchToPath(path)
} else {
codePush.getCurrentPackage((localPackage) => {
const path = `${baseUrl}${localPackage.localPath}/dist`
switchToPath(path)
})
}
})
async function switchToPath(path: string) {
if ((await Capacitor.Plugins!.WebView.getServerBasePath()).path === path) {
return
}
Capacitor.Plugins!.WebView.setServerBasePath({ path })
Capacitor.Plugins!.WebView.persistServerBasePath()
} Off course you'll also need to add the development key to the config.xml <preference name="CodePushDeploymentKey" value="xxxxx" /> |
I made a plugin for Capacitor CodePush. It require @capacitor 3.0.0-beta.1 version & plugins. It has an issue with @capacitor/filesystem plugin for now. After next release, it will be working. I tested it in Android & iOS. |
Thanks for much for the hard work @leo6104 - do you have any updates on the next release? It would be great to have filesystem working. |
It is my working dependencies. (package.json)
There is no issue with capacitor official plugins latest version. (device, dialog, filesystem) In my project, i cannot wait for next release of @capacitor-community/http so i fork the In the future they release 1.0.0 stable version, i will replace my git repository to @capacitor-community/http capacitor v3. When its all dependencies to be stable, i have a plan to publish it in npm repository. I will comment on here when it release on NPM. |
Fingers crossed @leo6104 I'm very curious to know if they accept it into capacitor-community given their Appflow product 🤞 . Either way thanks again for your hard work on getting this working, there is a ton of people that have been waiting for it to move off Cordova and I can't wait to implement it myself! |
I expect the same thing. If they do not accept it, it is simply not an "open source" project and does not deserve to be used with this purpose. |
@andreidubov @andrii-z4i
The great part is:
It would be great for the community, if you could support the project there by either:
|
Hi @andreidubov @andrii-z4i |
Any news? |
Can capatcitor v2 work? |
Is there any update on when the support for code push will be available? |
Any updates code-push for capacitor 3? |
@Hambat please read this thread, a working version is here: https://github.com/mapiacompany/capacitor-codepush |
Can anyone make a video documentation using capacitor-codepush.It will be very much helpful. |
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment. |
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion. |
If needed i made an alternative tool for capacitor : https://github.com/Cap-go/capacitor-updater |
I think the title says it all. https://capacitor.ionicframework.com/
Capacitor is becoming the preferred solution for new Ionic apps, and we are looking at moving some of our existing apps to that as well. We have thus far been very happy with code-push in our cordova apps and would like very much like to continue using it as we make the transition to capacitor.
This was discussed here: microsoft/cordova-plugin-code-push#450 (but that doesn't seem like the right place for it)
The text was updated successfully, but these errors were encountered: