diff --git a/android/src/main/java/com/reactlibrary/RNCarnivalModule.java b/android/src/main/java/com/reactlibrary/RNCarnivalModule.java index 7532914..f0c99c3 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", "2.3.0"); + setWrapperMethod.invoke(null, "React Native", "3.0.0"); } catch (NoSuchMethodException e) { e.printStackTrace(); } catch (IllegalAccessException e) { diff --git a/ios/RNCarnival.m b/ios/RNCarnival.m index 9c0f595..c33c90e 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:@"2.3.0"]; + [Carnival setWrapperName:@"React Native" andVersion:@"3.0.0"]; } return self; } diff --git a/package.json b/package.json index a91846c..1c36b00 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": "2.3.0", + "version": "3.0.0", "devDependencies": { "react-native": "^0.56.0" }