profile
viewpoint
Ruslan Bikkinin ruslan-bikkinin @akvelon, @Microsoft Russia Developer at @akvelon

microsoft/react-native-code-push 7204

React Native module for CodePush

microsoft/vscode-react-native 2176

VSCode extension for React Native - supports debugging and editor integration

microsoft/cordova-simulate 196

Simulates your Apache Cordova application in the browser.

patniko/detox-appcenter 53

Wix detox sample(https://github.com/wix/detox) with post clone script for App Center builds.

microsoft/vsts-react-native-tasks 29

Streamline CI setup for your React Native app using a set of useful pre-defined build steps.

microsoft/vsts-cordova-tasks 24

Streamline CI setup for your Apache Cordova, PhoneGap, Ionic, or Cordova CLI compatible app using a set of useful pre-defined build steps for VS Team Services or TFS

microsoft/vscode-appcenter 19

App Center extension for VS Code

patniko/function-appcenter-build 3

Automatically creates branch configurations for PR's and communicates status back to Github.

patniko/auto-distribution-function 2

Automatically rerelease builds using App Center and an Azure Function.

issue openedmicrosoft/react-native-code-push

Build error: 'CodePush/Codepush.h' file not found from AppDelegate.m

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Steps to Reproduce

Followed this "Getting Started" part strictly. But Xcode gives error:

Build error: 'CodePush/Codepush.h' file not found from AppDelegate.m

Seems when I added the package with yarn add react-native-code-push, auto linking didn't work. Had to manually add pod 'CodePush', :path => '../node_modules/react-native-code-push' to Podfile.

Environment

  • react-native-code-push version: 6.4.0
  • react-native version: 0.63.3
  • iOS/Android/Windows version: ios 14.2 (Xcode 12.2)
  • Does this reproduce on a debug build or release build? debug build
  • Does this reproduce on a simulator, or only on a physical device? simulator

(The more info the faster we will be able to address it!)

created time in 28 minutes

issue openedmicrosoft/react-native-code-push

After downloading the package the update isn't installing

Expected Behavior

Download the package and install the update.

Actual Behavior

Downloading the update but not installing .

Error Log

[Wed Nov 25 2020 13:12:16.517]  LOG      [CodePush] Checking for update.
[Wed Nov 25 2020 13:12:16.816]  LOG
[Wed Nov 25 2020 13:12:20.188]  LOG      [CodePush] Downloading package.
[Wed Nov 25 2020 13:12:22.721]  LOG      [CodePush] An unknown error occurred.
[Wed Nov 25 2020 13:12:22.728]  LOG      [CodePush] /data/user/0/app.packagename.in/files/CodePush/download.zip (No such file or directory)

Environment

  • react-native-code-push version: ^6.4.0
  • react-native version: 0.63.2
  • Does this reproduce on a debug build or release build? - Yes.
  • Does this reproduce on a simulator, or only on a physical device? - Both.

created time in 6 hours

issue commentmicrosoft/react-native-code-push

What are all the possible domains CodePush may make requests to?

You’re right. I was still new to RN/XCode at the time. I realized some time after this config was not required. I guess it can be removed from the docs with no problems.

On Tue, Nov 24, 2020 at 12:59 uripre notifications@github.com wrote:

@almirfilho https://github.com/almirfilho I saw your contribution in the docs, thank you for that.

However, I don't think the scenario you described requires anyone to customize ATS for CodePush's domains. Could you maybe help me understand your reasoning?

I presume those requests follow proper SSL standards and therefore should have no problem with regular ATS restrictions. The only reason I can think of is if someone decided to disable ATS altogether, and then would like to reactivate ATS for CodePush's domains, but that doesn't seem to be the scenario you described above. In the general recommended case you described where NSAllowsArbitraryLoads is false - I don't think anyone need to customize anything.

If you could help me clarify this point, I will surely try improve the docs accordingly. Thanks!!!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/react-native-code-push/issues/825#issuecomment-733281511, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEB6HWGTCUATAHIBR6MFNTSRQ3EXANCNFSM4DKAQDOQ .

--

Almir Filho

Software Engineer

almirfilho

comment created time in 7 hours

issue commentmicrosoft/react-native-code-push

What are all the possible domains CodePush may make requests to?

@almirfilho I saw your contribution in the docs, thank you for that.

However, I don't think the scenario you described requires anyone to customize ATS for CodePush's domains. Could you maybe help me understand your reasoning?

I presume those requests follow proper SSL standards and therefore should have no problem with regular ATS restrictions. The only reason I can think of is if someone decided to disable ATS altogether, and then would like to reactivate ATS for CodePush's domains, but that doesn't seem to be the scenario you described above. In the general recommended case you described where NSAllowsArbitraryLoads is false - I don't think anyone need to customize anything.

If you could help me clarify this point, I will surely try improve the docs accordingly. Thanks!!!

almirfilho

comment created time in 15 hours

issue commentmicrosoft/react-native-code-push

Unable to find a matching configuration of project :react-native-code-push: upgade RN to v 0.63.2

I solved this problem.

I reset and npx react-native start --reset-cache succeeded!

yrjwcharm

comment created time in a day

issue commentmicrosoft/react-native-code-push

Unable to find a matching configuration of project :react-native-code-push: upgade RN to v 0.63.2

@fabricio0915 don't soluve !!! I already configured it.

yrjwcharm

comment created time in a day

issue commentmicrosoft/react-native-code-push

How to set download only on wifi

How do i emulate the current automated behaviour using MANUAL setting?

CyberMew

comment created time in 2 days

issue commentmicrosoft/react-native-code-push

Support for Hermes on iOS (RN 0.64)

Of course the appcenter codepush command needs to be able to create the Hermes bundle on iOS first, so I've created an issue for that here: https://github.com/microsoft/appcenter-cli/issues/1164

mrousavy

comment created time in 2 days

issue openedmicrosoft/react-native-code-push

Support for Hermes on iOS (RN 0.64)

The first release candidate of 0.64 relased (React Native 0.64-rc0), which includes support for using the Hermes JS Executor on iOS.

While it's still a pre-release, it makes sense to support it once 0.64 officially releases, as now CodePush does not work with hermes enabled on iOS.

Is this already planned?

created time in 2 days

issue commentmicrosoft/react-native-code-push

How to set download only on wifi

You could use https://github.com/react-native-netinfo/react-native-netinfo to discover if there is an wifi connection and then check manually the updates from code push server.

CyberMew

comment created time in 2 days

issue commentmicrosoft/react-native-code-push

Unable to find a matching configuration of project :react-native-code-push: upgade RN to v 0.63.2

Appers you not complete the setup with android, please follow the steps in the setup for RN 60+ https://github.com/microsoft/react-native-code-push/blob/master/docs/setup-android.md

yrjwcharm

comment created time in 2 days

issue commentmicrosoft/react-native-code-push

Unable to get the hash of the binary's bundled resources - "codepush.gradle" may have not been added to the build definition.

image

Even creating the folder using the flavor the CodePushHash its not copied to my assets folder, i really got no ideia to fix it

SeveHo

comment created time in 2 days

issue commentmicrosoft/react-native-code-push

How can I not run codepush in debug mode? (CodePush keep runs in debug mode after implementing multi-deployment testing)

Just use:

if (!__DEV__) {
  codePush({
    checkFrequency: codePush.CheckFrequency.ON_APP_RESUME,
    installMode: codePush.InstallMode.ON_NEXT_RESUME,
  })(App)
}

Where should I put this code?

Hemistone

comment created time in 4 days

issue commentmicrosoft/react-native-code-push

Unable to get the hash of the binary's bundled resources - "codepush.gradle" may have not been added to the build definition.

I set it up in my build pipelines. It's in a yaml file. If you don't use pipelines, you could probably add a post-script in the npm install step.

I also use product flavors. So in that case it would be: android/app/build/generated/res/react/<flavor name>/release

SeveHo

comment created time in 5 days

issue commentmicrosoft/react-native-code-push

Unable to get the hash of the binary's bundled resources - "codepush.gradle" may have not been added to the build definition.

in my case i use product Flavors this folder structure maybe it`s not supported by code push

SeveHo

comment created time in 5 days

issue commentmicrosoft/react-native-code-push

Unable to get the hash of the binary's bundled resources - "codepush.gradle" may have not been added to the build definition.

I wonder if this could be related to this problem here: https://github.com/microsoft/react-native-code-push/issues/1977. I was having problems when setting bundleInRelease: false. One workaround I found was manually creating these directories: android/app/build/generated/res/react/release android/app/build/generated/assets/react/release. During the build, the CodePushHash was then placed in the assets directory.

SeveHo

comment created time in 5 days

issue commentmicrosoft/react-native-code-push

Task :app:generateBundledResourcesHashRelease FAILED

I've been able to find a workout around for now! @carloslibardo I'm also starting from a fresh build and using AppCenter. Just before I run my build, I manually create the folders that this task is looking for via a script.

- script: 'mkdir -p android/app/build/generated/res/react/release android/app/build/generated/assets/react/release'

This unblocked the task and I was able to finish the build.

carloslibardo

comment created time in 5 days

issue openedmicrosoft/react-native-code-push

[BUG] CodePush Releases only updating once

Hi! This last week we've been experimenting with CodePush updates and realized that the releases only update once on a given device (after doing appcenter codepush release-react -a <ownerName>/MyApp multiple times, we only get the first one, and on the subsequent calls to codePush.checkForUpdate() after the first update is applied, we always receive that the app is up to date), and that if we want to do multiple updates, we have to delete and reinstall the app.

Are there any solutions for this, or this is the default behaviour? We'd like the app to be updated on the devices for every codepush release we deploy without them having to uninstall and reinstall the app.

So far we have tried 1) with this set of codePush options:

codePush({ checkFrequency: codePush.CheckFrequency.ON_APP_RESUME, installMode: codePush.InstallMode.IMMEDIATE, mandatoryInstallMode: codePush.InstallMode.IMMEDIATE, })

And 2) Setting checkFrequency: codePush.CheckFrequency.MANUAL, and inside our code, on a wrapper screen, use:

codePush.checkForUpdate(CODEPUSH_DEPLOYMENT_KEY).then((update) => { if (!update) { Alert.alert("The app is up to date!"); } else { Alert.alert( "The app is NOT up to date!",Update data - appVersion: ${update.appVersion} description: ${update.description} isMandatory: ${update.isMandatory} label: ${update.label}` );

    codePush.sync({
      deploymentKey: CODEPUSH_DEPLOYMENT_KEY,
      updateDialog: {},
      installMode: codePush.InstallMode.IMMEDIATE,
      mandatoryInstallMode: codePush.InstallMode.IMMEDIATE,
    });
  }
});

`

And the same thing happens, the first time the app is installed "The app is NOT up to date!" is displayed, the app updates, and then we do another codepush release from the terminal, close and open the app, and "The app is up to date!" is displayed, when it should update to that last version.

We also tried running codePush.clearUpdates(); before the checkUpdate() code but the same thing happens. Any help?

created time in 5 days

issue commentmicrosoft/code-push

Use the CodePush Management SDK inside electron

I develop app electron. Can anybody help me with an example of electron codepush?

wilomgfx

comment created time in 5 days

issue openedmicrosoft/react-native-code-push

Unable to find a matching configuration of project :react-native-code-push: upgade RN to v 0.63.2

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Steps to Reproduce

Expected Behavior

What you expected to happen?

Actual Behavior

What actually happens?

  STACK TRACE AND/OR SCREENSHOTS

Reproducible Demo

  • Download https://github.com/microsoft/react-native-code-push/archive/master.zip and unzip. From Examples folder run node create-app.js appName react-native@0.61.5 react-native-code-push@6.0.0 command to generate plain CodePushified React Native app. Please see description on top of create-app.js file content if needed
  • If you can't reproduce the bug on it, provide us as much info as possible about your project

Environment

  • react-native-code-push version:
  • react-native version:
  • iOS/Android/Windows version:
  • Does this reproduce on a debug build or release build?
  • Does this reproduce on a simulator, or only on a physical device?

(The more info the faster we will be able to address it!)

created time in 5 days

issue commentmicrosoft/react-native-code-push

CodePush.updateCheck returns 503

Hi all,

It looks like the percentage of error became really lower. Could you please let us know if you still see 503 errors issue or it was resolved for you?

Hi @alexandergoncharov it wasn't resolved for us and we saw about 1000 errors this morning. There seems to be no reduction compared to the previous trend for us. Is it possible that these errors occur in some specific geographies?

colarlady

comment created time in 6 days

issue commentmicrosoft/react-native-code-push

Install Mode ON_NEXT_RESUME not working on Android

@galdanay Unfortunately I haven't found a solution yet. Still searching the time to investigate deeper.

TommyBez

comment created time in 6 days

issue commentmicrosoft/react-native-code-push

CodePush.updateCheck returns 503

Hi all,

It looks like the percentage of error became really lower. Could you please let us know if you still see 503 errors issue or it was resolved for you?

OK, my bad, just noticed this afternoon that the API replies are very random today again. I was using the live version of our app and had our "Update Box" appear very randomly... Still some issues with the servers I guess!

colarlady

comment created time in 6 days

issue commentmicrosoft/react-native-code-push

Install Mode ON_NEXT_RESUME not working on Android

I had the same problem with react-native 0.63.3 and react-native-code-push version 6.2.1 IOS is getting the code push , and Android doesn't. @TommyBez any update ?

TommyBez

comment created time in 6 days

issue commentmicrosoft/react-native-code-push

CodePush.updateCheck returns 503

We're seeing a few random 503 from time to time, but updates are now mostly visible and downloadable in our app. Thanks a lot folks!

Le jeu. 19 nov. 2020 à 10:51, Alexander Goncharov notifications@github.com a écrit :

Hi all,

It looks like the percentage of error became really lower. Could you please let us know if you still see 503 errors issue or it was resolved for you?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/react-native-code-push/issues/1952#issuecomment-730257041, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMIH76TOL6N654NMDVLKGLSQTTA7ANCNFSM4RUI5HHQ .

colarlady

comment created time in 6 days

issue commentmicrosoft/react-native-code-push

CodePush.updateCheck returns 503

Hi all,

It looks like the percentage of error became really lower. Could you please let us know if you still see 503 errors issue or it was resolved for you?

colarlady

comment created time in 6 days

issue commentmicrosoft/code-push

Rollback a first CodePush release after a binary release

The only part that we are still working on is triggering client side rollbacks to the binary version in the event a client already got that first update.

Is this still being worked on?

Can I also assume the other information mentioned 3 years ago still remains factual now? Some of behaviour logic are really informative and is not in the docs.

gunters63

comment created time in 7 days

more