From c345a2f8665b9719d8a64a54c06f98640a8eab3f Mon Sep 17 00:00:00 2001 From: Nicolas Charpentier Date: Thu, 13 Jul 2017 09:25:46 -0400 Subject: [PATCH 1/3] Add peerDependencies on RN <= 0.45 and React --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 4fe8389..6b3ec2a 100644 --- a/package.json +++ b/package.json @@ -46,5 +46,9 @@ "mocha": "^2.4.5", "mock-socket": "^2.0.0", "sinon": "^1.17.3" + }, + "peerDependencies": { + "react": "*", + "react-native": "<=0.45.x" } } From cb2822104fc1da4dc69a336bb7843aeb9d87525a Mon Sep 17 00:00:00 2001 From: Nauzer Date: Fri, 14 Jul 2017 07:28:24 +0200 Subject: [PATCH 2/3] Update README to represent version compatibility --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4bcd88f..9288d83 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,10 @@ https://gitter.im/react-native-meteor/Lobby ## Compatibility notes * Since RN 0.26.0 you have to use ws or wss protocol to connect to your meteor server. http is not working on Android. +* It is recommended to always use the latest version of react-native-meteor compatible with your RN version. +* For RN 0.45.x use version 1.0.6 of 'react-native-meteor' +* For RN pre 0.45.x you can use version 1.0.3 in case or problems. +* For RN > 0.45 you can use 1.1.x ## What is it for ? From 82979dacc4d5b0ed3abe63773b261aacb5ce9a76 Mon Sep 17 00:00:00 2001 From: Nauzer Date: Fri, 14 Jul 2017 07:29:32 +0200 Subject: [PATCH 3/3] 1.0.6 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6b3ec2a..891bab1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-meteor", - "version": "1.0.5", + "version": "1.0.6", "description": "Full Meteor Client for React Native", "main": "src/Meteor.js", "scripts": { @@ -49,6 +49,6 @@ }, "peerDependencies": { "react": "*", - "react-native": "<=0.45.x" + "react-native": "<=0.45.x" } }