code-push

Dynamically compiling and running a react-native app inside another

天大地大妈咪最大 提交于 2020-05-08 06:52:11
问题 I need to create a mobile app that contains other apps and can run them. It is basically like an "app center" which have a list of apps (that we publish on our server) and the user can open one of them which lead to the app being opened. Think about Expo's app, the user can scan the QR code of his app and it will be automatically compiled and opened, this is close to the feature I want. The apps that can be opened are created using react-native and stored inside GIT repositories in Gitlab.

How to update “Production” deployment using Code Push CLI?

南楼画角 提交于 2020-01-12 03:56:06
问题 I've been showing my team my progress with the Staging key. When I do code-push deployment ls APP_NAME_HERE -k , it'll give me a Staging and Production table with Production having the message No updates released . I have been using code-push release-react APP_NAME_HERE ios to update. Can anyone guide me as to what options I need to send to Production instead of Staging ? 回答1: You can use --deploymentName to specify the deployment you want to update. code-push release-react APP_NAME_HERE ios

Appcenter CodePush CLI - list deployments

跟風遠走 提交于 2019-12-11 14:52:20
问题 I'm a user of CodePush (with cordova). I'm doing some quick checking into AppCenter since CodePush is migrating there. I'm noticing that the AppCenter CLI doesn't seem as robust/ready as the CodePush CLI. My main question at this point is if this command should show a deployment history (including old CodePush deployments)? appcenter codepush deployment list -a owner/appName I'm seeing that it only shows the deployment keys for the app, yet the documentation makes it seem like this should

codepush update's appVersion is incorrect. It's always the same as the current app's version

谁都会走 提交于 2019-12-11 06:34:10
问题 I am trying to get codepush working for my react-native app on Android. For better understanding and control, i am manually checking for updates. Here's my code: // Check for Codepush app update every time app is opened. console.log('Checking for codepush update !'); codePush.checkForUpdate(CODEPUSH_DEPLOYMENT_KEY, (update) => {console.log('handleBinaryVersionMismatchCallback: ', update)}) .then((update) => { console.log('Code push remote package: ', update); if (update != null) { let desc =

Cordova CodePush Migration - new plugin?

好久不见. 提交于 2019-12-11 04:45:24
问题 We're using CodePush with Cordova. This service is moving to Microsoft's App Center. The main code push site notes that there will be a new "App Center CodePush SDK Launch" in late February 2018. I haven't seen this launch for Cordova. It looks to me like the existing cordova plugin for CodePush is integrated fairly well in the App Center docs. Is there going to be a new Cordova plugin for this AppCenter move, or will the existing plugin be usable long-term? I know the CLI will be changing,

CodePush: How to deploy to multiple build versions of the same deployment config?

不打扰是莪最后的温柔 提交于 2019-12-07 03:23:52
问题 I understand the deployment model for the ideal case, that all you users alway update their app to the latest app store version. But in reality they don't. How do I deal with different build versions of an react-native iOS app using CodePush? Consider following two scenarios: 1) I've been using CodePush to deploy new js bundels to the 1.0.0 build of my app. Now I release 1.1.0 and want to provide new code via CodePush. As far as I can see there is now way of deploying to 1.0.0 and 1.1.0 at

CodePush: How to deploy to multiple build versions of the same deployment config?

你离开我真会死。 提交于 2019-12-05 07:21:25
I understand the deployment model for the ideal case, that all you users alway update their app to the latest app store version. But in reality they don't. How do I deal with different build versions of an react-native iOS app using CodePush? Consider following two scenarios: 1) I've been using CodePush to deploy new js bundels to the 1.0.0 build of my app. Now I release 1.1.0 and want to provide new code via CodePush. As far as I can see there is now way of deploying to 1.0.0 and 1.1.0 at the same time neither different bundles nor the same one. So once I pushed out a bundle to 1.1.0 there