microsoft / react-native-code-push

React Native module for CodePush
http://appcenter.ms
Other
8.97k stars 1.47k forks source link

Changes are not reflecting after downloading and installing the package on IOS. #2317

Closed ankit-kumar615 closed 1 year ago

ankit-kumar615 commented 2 years ago

Changes are not reflected after downloading and installing the package on IOS. I've applied all the available solutions from the repo like generating private and public pem keys but still having the same issue. even tried 'appcenter codepush release-react -a /MyApp-iOS -m --description "Modified the header color"' this command. I don't know what I'm doing wrong please help.

vksgautam1 commented 2 years ago

Same issue here RN-0.67.4 Pop up is coming and i am accepting to install it but changes are not reflected App delegate.m `#import "AppDelegate.h"

import <React/RCTLinkingManager.h>

import <ReactNativeNavigation/ReactNativeNavigation.h>

import

import <React/RCTBridge.h>

import <CodePush/CodePush.h>

import <React/RCTBundleURLProvider.h>

import <TSBackgroundFetch/TSBackgroundFetch.h>

import <UserNotifications/UserNotifications.h>

import

import

import

import

// #ifdef FB_SONARKIT_ENABLED // #import <FlipperKit/FlipperClient.h> // #import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h> // #import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h> // #import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h> // #import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h> // #import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>

// static void InitializeFlipper(UIApplication application) { // FlipperClient client = [FlipperClient sharedClient]; // SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults]; // [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]]; // [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]]; // [client addPlugin:[FlipperKitReactPlugin new]]; // [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]]; // [client start]; // } // #endif

@implementation AppDelegate

//Called when a notification is delivered to a foreground app. -(void)userNotificationCenter:(UNUserNotificationCenter )center willPresentNotification:(UNNotification )notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler { completionHandler(UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionBadge); }

// Required to register for notifications

@end `

ghost commented 2 years ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

knro commented 2 years ago

Same issue here, iOS updates stopped working and we're not sure why. The App downloads the bundle, only to revert back to its original state. We have the bundle version info, but the code is not updated to reflect the actual changes.

Any clues?

ghost commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost commented 1 year ago

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.