From 66d964ce9e85fcd7767d86086a7c7dc7db3b3b77 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Thu, 4 Jul 2019 13:23:37 +1200 Subject: [PATCH] Update version to 3.1.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 d6f65b1..a69a194 100644 --- a/android/src/main/java/com/reactlibrary/RNCarnivalModule.java +++ b/android/src/main/java/com/reactlibrary/RNCarnivalModule.java @@ -99,7 +99,7 @@ protected static void setWrapperInfo() { setWrapperMethod = Carnival.class.getDeclaredMethod("setWrapper", cArg); setWrapperMethod.setAccessible(true); - setWrapperMethod.invoke(null, "React Native", "3.0.3"); + setWrapperMethod.invoke(null, "React Native", "3.1.0"); } catch (NoSuchMethodException e) { e.printStackTrace(); } catch (IllegalAccessException e) { diff --git a/ios/RNCarnival.m b/ios/RNCarnival.m index 253c9ca..6daed72 100644 --- a/ios/RNCarnival.m +++ b/ios/RNCarnival.m @@ -35,7 +35,7 @@ -(instancetype)initWithDisplayInAppNotifications:(BOOL)displayNotifications { if(self) { self.displayInAppNotifications = displayNotifications; [CarnivalMessageStream setDelegate:self]; - [Carnival setWrapperName:@"React Native" andVersion:@"3.0.3"]; + [Carnival setWrapperName:@"React Native" andVersion:@"3.1.0"]; } return self; } diff --git a/package.json b/package.json index c728b93..d7e6aac 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.0.3", + "version": "3.1.0", "devDependencies": { "react-native": "^0.56.0" }