react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

Visual Studio App Center is scheduled for retirement on March 31, 2025.

Open sejr1996 opened this issue 2 years ago • 9 comments

What does it mean?

Image

I will not be able to deploy my application using this library?

sejr1996 avatar Oct 25 '24 13:10 sejr1996

Hello @sejr1996 thank you for reaching out. You are correct after 31st March appcenter services will not be working and you won't be able to deploy your application using RNCP. As an alternative, recently standalone code-push repo was released which you can use to host your own code-push server. You can see more info about it here https://github.com/microsoft/code-push-server

DordeDimitrijev avatar Oct 28 '24 14:10 DordeDimitrijev

@DordeDimitrijev can I still use this library in my RN project but host my updates on my own server instance? How can I do that and change the server url?

krzysztofzaluski avatar Jan 14 '25 12:01 krzysztofzaluski

Yes you can add your custom server url to RNCP project.

#ios add to Info.plist
<key>CodePushServerURL</key>
<string>${CODE_PUSH_SERVER_URL}</string>

#android add to res/value/strings.xml
<string moduleConfig="true" name="CodePushServerUrl">${CODE_PUSH_SERVER_URL}</string>

DordeDimitrijev avatar Jan 14 '25 14:01 DordeDimitrijev

@DordeDimitrijev thank you, any additional changes required on mobile side with it or just change server address?

Also, will this library react-native-code-push continue to be updated and maintained?

krzysztofzaluski avatar Jan 14 '25 14:01 krzysztofzaluski

No additional changes are needed. React Native code-push will also be retired from 31st March. I believe there are forks from the repo already out there so you can take a look at those or create your own fork.

DordeDimitrijev avatar Jan 14 '25 14:01 DordeDimitrijev

Can we continue using it without forking? Because we were using this package without forking in our project

hcrnln avatar Mar 18 '25 07:03 hcrnln

Hello @hcrnln you can still use it, but if you plan to make some changes better to use a fork.

DordeDimitrijev avatar Mar 31 '25 08:03 DordeDimitrijev

@DordeDimitrijev thanks for the custom server url explanation, obviously this means that old versions of MyApp without a custom url will not receive updates?

7ictor avatar Apr 01 '25 15:04 7ictor

That's correct, you'd need a new release of your application to app/play store with this configuration in order to keep using codepush with your custom codepush server.

DordeDimitrijev avatar Apr 16 '25 08:04 DordeDimitrijev