Commit Graph

2 Commits

Author SHA1 Message Date
Abe Botros aef2a9c7d8 Minor Android fixes for empty/failed return paths (#67)
- Throw exception instead of returning null sourceImage, which avoids
  returning pseudo-empty "file:" string to Javascript on failure
- Use constant strings for checking path prefixes
- Cleanup of conditional statements for checking path prefixes
- Additional try-catch statements, contributing more-fine-grained
  error messages

Other
- Updated .gitignore to latest React Native template
- Updated Android gradle scripts
- Updated package.json's in root and in example to point to
  correct react/react-native versions, and to use local code
  for this library directly in the example app
2017-02-10 11:21:55 +01:00
Florian Rival c57f9d1d05 Add iOS implementation 2015-12-02 22:53:06 +01:00