Comments (17)
The workaround for me is to not sign the release and remove the IOS_PUBLIC_KEY entry
from capacitor-codepush.
@veneliniliev It works when I use -c ./ios/App/App/public
on ios codepush.
Thanks for your hint.
from capacitor-codepush.
@tolutronics AppCenter React Native CodePush is good replacement, 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)
This works as expected with signing of build
from capacitor-codepush.
Is anyone else having this issue?
from capacitor-codepush.
I have the same issue, occurs after:
[CodePush] Installing update
[CodePush] Applying full update
I release with the following:
appcenter codepush release --target-binary-version '^1' --app FarmTo/farmto-ios-sandbox --update-contents-path ./ios/App/App/public/ --private-key-path '/Users/alex/Documents/Keys/farmto-app/codepush-keys/private.pem' --deployment-name Production
And my capacitor config looks correct:
from capacitor-codepush.
I've also noticed the docs and the error feedback reference --privateKeyPath
but if you use that with codepush cli you get the error;
"Unknown argument --privateKeyPath"
so consulting the docs https://docs.microsoft.com/en-gb/appcenter/distribution/codepush/cli#releasing-updates-general I used --private-key-path and it stopped complaining
from capacitor-codepush.
Others in the react-native repo are having issues with this recently, wonder if related microsoft/react-native-code-push#2141
from capacitor-codepush.
@alexcroox Do you get the signing working for android?
from capacitor-codepush.
I've also noticed the docs and the error feedback reference
--privateKeyPath
but if you use that with codepush cli you get the error;
"Unknown argument --privateKeyPath"
so consulting the docs https://docs.microsoft.com/en-gb/appcenter/distribution/codepush/cli#releasing-updates-general I used --private-key-path and it stopped complaining
yes, that flag does not work but instead "-k" works
from capacitor-codepush.
This issue is a serious one, that needs urgent attention
from capacitor-codepush.
i have the same problem :(
from capacitor-codepush.
Same here
from capacitor-codepush.
Same here too
from capacitor-codepush.
The workaround for me is to not sign the release and remove the IOS_PUBLIC_KEY entry
@LouiMinister use this for now. its working for me.
from capacitor-codepush.
@veneliniliev After applied your advice, JWT ERROR was solved but other error has occurred on xcode.
{"data":"OK","status":200,"url":"https://codepush.appcenter.ms/v0.1/public/codepush/report_status/download","headers":{"Content-Length":"2","access-control-allow-methods":"POST","request-context":"appId=cid-v1:4116a8f2-fe3b-4636-b7b9-91c8df94c88d","
ERROR MESSAGE: {"message":"The file “hotcodepush.json” couldn’t be opened because there is no such file.","errorMessage":"The file “hotcodepush.json” couldn’t be opened because there is no such file."}
⚡️ [error] - {"message":"The file “hotcodepush.json” couldn’t be opened because there is no such file.","errorMessage":"The file “hotcodepush.json” couldn’t be opened because there is no such file."}
⚡️ To Native -> CodePush getPublicKey 127958629
⚡️ [log] - [CodePush] Applying full update
ERROR MESSAGE: {"message":"The file “.codepushrelease” couldn’t be opened because there is no such file.","errorMessage":"The file “.codepushrelease” couldn’t be opened because there is no such file."}
⚡️ [error] - {"message":"The file “.codepushrelease” couldn’t be opened because there is no such file.","errorMessage":"The file “.codepushrelease” couldn’t be opened because there is no such file."}
⚡️ To Native -> CodePush getAppVersion 127958632
⚡️ To Native -> CodePush getBinaryHash 127958633
⚡️ To Native -> CodePush isPendingUpdate 127958634
⚡️ To Native -> CodePush getNativeBuildTime 127958636
⚡️ To Native -> CodePush getAppVersion 127958637
⚡️ TO JS {"uri":"file:///var/mobile/Containers/Data/Application/DF8D00C6-0C29-4649-B70D-76F19A14546C/Documents/codepush/currentPackage.json"}
⚡️ To Native -> CodePush preInstall 127958639
⚡️ [error] - [CodePush] Preinstall failure. Could not find start page in package.. StackTrace: CapacitorException@capacitor://localhost/vendor.js:105239:14
⚡️ [error] - [CodePush] An error has occured while installing the package. Could not find start page in package.. StackTrace: preInstallFailure@capacitor://localhost/vendor.js:172081:46
⚡️ [error] - [CodePush] An error occurred during sync. An error has occured while installing the package. Could not find start page in package.. StackTrace: preInstallFailure@capacitor://localhost/vendor.js:172081:46
Do you know about this?
I think it is related with #21
Thx for your comment.
from capacitor-codepush.
@LouiMinister try with --update-contents-path ./www/
my project is angular/ionic based and build path is www/ in root folder
from capacitor-codepush.
@tolutronics your solution did not work for me or am i missing something?
from capacitor-codepush.
Related Issues (20)
- CodePush Error Could not get the package start page HOT 3
- app rolls back to the version before update after closed and opened again HOT 35
- Android build error: Could not get unknown property 'androidxAppCompatVersion' HOT 2
- Hello, how to push to your local server instead of AppCenter
- Integrating into a standard javascript app HOT 1
- Plugin Error
- Cordova Codepush is shutting down HOT 6
- Add additional maintainers?
- Can not use `sync` method in script HOT 7
- Cordova support is retired in App Center, will this effect the project? HOT 1
- App Center - Apache Cordova Retirement HOT 2
- Cordova will be retired from App Center starting April 1st 2022 HOT 2
- [NOT A ISSUE] AppCenter CodePush Backend Alternative HOT 8
- Announcing Apache Cordova Retirement HOT 6
- Cannot find module 'capacitor-codepush', webpackMissingModule
- Is this package still maintained? HOT 9
- CommonJS or AMD dependencies can cause optimization bailouts.
- Getting `Cannot perform diff-update` error for subsequent updates HOT 4
- Http plugin failed to call api to appcenter server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capacitor-codepush.