From 8217374ec2cbceaa88f3e0779fd5af9f0f775703 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Mon, 6 Jan 2020 16:19:51 +1300 Subject: [PATCH] Update version to 4.0.0 for release --- android/src/main/java/com/reactlibrary/RNCarnivalModule.java | 2 +- ios/RNCarnival.m | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/src/main/java/com/reactlibrary/RNCarnivalModule.java b/android/src/main/java/com/reactlibrary/RNCarnivalModule.java index ec0c46e..db0c5fc 100644 --- a/android/src/main/java/com/reactlibrary/RNCarnivalModule.java +++ b/android/src/main/java/com/reactlibrary/RNCarnivalModule.java @@ -102,7 +102,7 @@ protected static void setWrapperInfo() { setWrapperMethod = Carnival.class.getDeclaredMethod("setWrapper", cArg); setWrapperMethod.setAccessible(true); - setWrapperMethod.invoke(null, "React Native", "3.3.1"); + setWrapperMethod.invoke(null, "React Native", "4.0.0"); } catch (NoSuchMethodException e) { e.printStackTrace(); } catch (IllegalAccessException e) { diff --git a/ios/RNCarnival.m b/ios/RNCarnival.m index d32d9dc..b2e8f58 100644 --- a/ios/RNCarnival.m +++ b/ios/RNCarnival.m @@ -41,7 +41,7 @@ -(instancetype)initWithDisplayInAppNotifications:(BOOL)displayNotifications { if(self) { self.displayInAppNotifications = displayNotifications; [CarnivalMessageStream setDelegate:self]; - [Carnival setWrapperName:@"React Native" andVersion:@"3.3.1"]; + [Carnival setWrapperName:@"React Native" andVersion:@"4.0.0"]; } return self; } diff --git a/package.json b/package.json index 4ef8d22..729cc79 100755 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "type": "git", "url": "git+https://github.com/carnivalmobile/carnival-sdk-react-native.git" }, - "version": "3.3.1", + "version": "4.0.0", "devDependencies": { "react-native": "^0.56.0" },