morcmarc / react-native-cognito

AWS Cognito integration module for React Native
MIT License
63 stars 10 forks source link

Added Pod File #5

Closed SunnyGurnani closed 8 years ago

SunnyGurnani commented 8 years ago

With this anyone can just add following into their pod file and everything else should be taken cared off.

I am not an expert in this but it worked.

pod 'react-native-cognito', :path => '../node_modules/react-native-cognito/ios'

morcmarc commented 8 years ago

Hey, thanks for the pull request! Good stuff, before I merge it in, could you bump the version to 1.3.0alpha, please? I want to make sure it is the same as in package.json.

SunnyGurnani commented 8 years ago

Hey, I have changed the version and also added getCognitoId method in IOS.

If someone can add the same method in Android as well it would be great.

morcmarc commented 8 years ago

Hi, I'm sorry but I can't merge this pull request. Features related to S3 should go into a separate plugin, I only want to focus on Cognito. Also did some research on using CocoaPods and it looks like the preferred way of distributing RN packages is NPM. See #4.

However I do appreciate your effort and have added you to the contributors ;)