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

Announcing Apache Cordova Retirement #67

Open
IllusionVK opened this issue Nov 14, 2021 · 6 comments
Open

Announcing Apache Cordova Retirement #67

IllusionVK opened this issue Nov 14, 2021 · 6 comments

Comments

@IllusionVK
Copy link

I'm wondering if this https://devblogs.microsoft.com/appcenter/announcing-apache-cordova-retirement/ means that this plugin will now not work ?

I'm expecting the answer to to be yes based on what I have read... I have setup https://github.com/IllusionVK/ReplaceAppCenter to help discuss the potential of working with a self hosted solution... All welcome to add issues to that repo to allow multiple people to comment and discuss!

@o-alexandrov
Copy link

Please take a look at the closed issues in this repo

@CricketLaChica
Copy link

@IllusionVK I want to make sure you saw the comment above, and wanted to point this comment specifically. I was able to still use this capacitor-codepush plugin for my Ionic+Capacitor iOS app to do code push updates simply by selecting React Native as the CodePush project type, even though it's not. You'd still be able to manually select the deploy directory anyway.

@NgYueHong
Copy link

@CricketLaChica I don't get it. Do you mean we can still continue to use the codepush on our ionic project just by create the codepush project to be react native?

@CricketLaChica
Copy link

@NgYueHong Yes! I am using Ionic+Capacitor. Give it a shot. 👍

@bazuka5801
Copy link

@CricketLaChica Nice try, but look at these lines of code:
https://github.com/microsoft/appcenter-cli/blob/f4f9b8f5d2dd0d3988977ed6efa412e3320ff141/src/commands/codepush/lib/codepush-release-command-base.ts#L114-L123

appcenter-cli will zip www to CodePush folder ignoring -c ios/app/app/public argument

I modified this cli (ignoring the lines above), you can install it with yarn global add @bazumax/appcenter-cli (after removing the original appcenter-cli)

@NgYueHong
Copy link

@CricketLaChica May I know how do you push the code to the server? I have tried and I get the error:

D:\wamp64\www\app-test-2022\ionic-starter-app>appcenter codepush release-react -a MyProject/test-ionic-starter-2022-android -d Staging
Error: The project in the CWD is not a React Native project.

D:\wamp64\www\app-test-2022\ionic-starter-app>appcenter codepush release-cordova -a MyProject/test-ionic-starter-2022-android -d Staging 
Error: Platform must be "Cordova".

Can you please show me how you do it? Thank you.

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

5 participants