diff --git a/CodePush.podspec b/CodePush.podspec index dca6e84b..64bdffcb 100644 --- a/CodePush.podspec +++ b/CodePush.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.author = package['author'] s.license = package['license'] s.homepage = package['homepage'] - s.source = { :git => 'https://github.com/Microsoft/react-native-code-push.git', :tag => "v#{s.version}"} + s.source = { :git => 'https://github.com/appzung/react-native-code-push.git', :tag => "v#{s.version}"} s.ios.deployment_target = '7.0' s.tvos.deployment_target = '9.0' s.preserve_paths = '*.js' @@ -17,8 +17,8 @@ Pod::Spec.new do |s| s.source_files = 'ios/CodePush/*.{h,m}' s.public_header_files = ['ios/CodePush/CodePush.h'] - # Note: Even though there are copy/pasted versions of some of these dependencies in the repo, - # we explicitly let CocoaPods pull in the versions below so all dependencies are resolved and + # Note: Even though there are copy/pasted versions of some of these dependencies in the repo, + # we explicitly let CocoaPods pull in the versions below so all dependencies are resolved and # linked properly at a parent workspace level. s.dependency 'React' s.dependency 'SSZipArchive', '~> 2.1' diff --git a/LICENSE.md b/LICENSE.md index 09dae6fa..248849b9 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,8 +1,8 @@ -Microsoft CodePush Plugin for React Native +AppZung CodePush Plugin for React Native -Copyright (c) Microsoft Corporation +Copyright (c) Louis Lagrange and Louis Lagrange Consulting -All rights reserved. +All rights reserved. MIT License @@ -10,4 +10,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java b/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java index ef441831..1365223a 100644 --- a/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java +++ b/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java @@ -39,7 +39,7 @@ public class CodePush implements ReactPackage { // Config properties. private String mDeploymentKey; - private static String mServerUrl = "https://codepush.appcenter.ms/"; + private static String mServerUrl = "https://codepush.appzung.com/"; private Context mContext; private final boolean mIsDebugMode; diff --git a/docs/api-android.md b/docs/api-android.md index fc0ffe40..10c88f5b 100644 --- a/docs/api-android.md +++ b/docs/api-android.md @@ -18,7 +18,7 @@ Constructs the CodePush client runtime and represents the `ReactPackage` instanc - __CodePush(String deploymentKey, Context context, boolean isDebugMode, Integer publicKeyResourceDescriptor)__ - Equivalent to the previous constructor, but allows you to specify the public key resource descriptor needed to read public key content. Please refer to [Code Signing](setup-android.md#code-signing) section for more details about Code Signing Feature. -- __CodePush(String deploymentKey, Context context, boolean isDebugMode, String serverUrl)__ Constructor allows you to specify CodePush Server Url. The Default value: `"https://codepush.appcenter.ms/"` is overridden by value specfied in `serverUrl`. +- __CodePush(String deploymentKey, Context context, boolean isDebugMode, String serverUrl)__ Constructor allows you to specify CodePush Server Url. The Default value: `"https://codepush.appzung.com/"` is overridden by value specfied in `serverUrl`. ##### Builder @@ -44,7 +44,7 @@ As an alternative to constructors *you can also use `CodePushBuilder`* to setup * __public CodePushBuilder setIsDebugMode(boolean isDebugMode)__ - allows you to specify whether you want the CodePush runtime to be in debug mode or not. Default value: `false`. -* __public CodePushBuilder setServerUrl(String serverUrl)__ - allows you to specify CodePush Server Url. Default value: `"https://codepush.appcenter.ms/"`. +* __public CodePushBuilder setServerUrl(String serverUrl)__ - allows you to specify CodePush Server Url. Default value: `"https://codepush.appzung.com/"`. * __public CodePushBuilder setPublicKeyResourceDescriptor(int publicKeyResourceDescriptor)__ - allows you to specify Public Key resource descriptor which will be used for reading Public Key content for `strings.xml` file. Please refer to [Code Signing](#code-signing) section for more detailed information about purpose of this parameter. diff --git a/docs/setup-ios.md b/docs/setup-ios.md index 48de3e53..ee05e8d2 100644 --- a/docs/setup-ios.md +++ b/docs/setup-ios.md @@ -178,9 +178,8 @@ In order to effectively make use of the `Staging` and `Production` deployments t CodePush plugin makes HTTPS requests to the following domains: -- codepush.appcenter.ms -- codepush.blob.core.windows.net -- codepushupdates.azureedge.net +- codepush.appzung.com +- release-package-files-eu.appzung.com If you want to change the default HTTP security configuration for any of these domains, you have to define the [`NSAppTransportSecurity` (ATS)][ats] configuration inside your __Info.plist__ file: @@ -193,7 +192,7 @@ If you want to change the default HTTP security configuration for any of these d NSExceptionDomains - codepush.appcenter.ms + codepush.appzung.com diff --git a/ios/CodePush/CodePushConfig.m b/ios/CodePush/CodePushConfig.m index 029d4180..dc1db845 100644 --- a/ios/CodePush/CodePushConfig.m +++ b/ios/CodePush/CodePushConfig.m @@ -46,7 +46,7 @@ - (instancetype)init } if (!serverURL) { - serverURL = @"https://codepush.appcenter.ms/"; + serverURL = @"https://codepush.appzung.com/"; } _configDictionary = [NSMutableDictionary dictionary]; diff --git a/package.json b/package.json index 6b8fea99..49906539 100644 --- a/package.json +++ b/package.json @@ -1,21 +1,11 @@ { - "name": "react-native-code-push", - "version": "1000.0.0-beta", + "name": "@appzung/react-native-code-push", + "version": "5.7.1", "description": "React Native plugin for the CodePush service", "main": "CodePush.js", "typings": "typings/react-native-code-push.d.ts", - "homepage": "https://microsoft.github.io/code-push", - "keywords": [ - "react-native", - "code", - "push" - ], - "author": "Microsoft Corporation", + "author": "Louis Lagrange (https://github.com/Minishlink)", "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/Microsoft/react-native-code-push" - }, "dependencies": { "code-push": "^3.0.1", "glob": "^5.0.15", diff --git a/windows/CodePush.Shared/CodePushConstants.cs b/windows/CodePush.Shared/CodePushConstants.cs index 27f48e8e..f5f3a226 100644 --- a/windows/CodePush.Shared/CodePushConstants.cs +++ b/windows/CodePush.Shared/CodePushConstants.cs @@ -3,7 +3,7 @@ internal class CodePushConstants { internal const string BinaryModifiedTimeKey = "binaryModifiedTime"; - internal const string CodePushServerUrl = "https://codepush.appcenter.ms/"; + internal const string CodePushServerUrl = "https://codepush.appzung.com/"; internal const string CodePushFolderPrefix = "CodePush"; internal const string CodePushPreferences = "CodePush"; internal const string CurrentPackageKey = "currentPackage";